Re: ALTER TABLE RENAME fix

Поиск
Список
Период
Сортировка
От Brent Verner
Тема Re: ALTER TABLE RENAME fix
Дата
Msg-id 20011111040614.A99927@rcfile.org
обсуждение исходный текст
Ответ на Re: ALTER TABLE RENAME fix  (Brent Verner <brent@rcfile.org>)
Список pgsql-patches
On 10 Nov 2001 at 23:25 (-0500), Brent Verner wrote:
| On 10 Nov 2001 at 22:42 (-0500), Tom Lane wrote:
| | Brent Verner <brent@rcfile.org> writes:
| | > exactly. which is why we've gotta inspecy the relname to determine
| | > which of the attnames to modify.
| |
| | My point is that inspecting the tgfoid is safer, because it
| | unambiguously tells you what you are looking at.  The relname is
| | inherently ambiguous because it could be the same on both sides.
|
| gotcha!  I'm digging further into how the F_RI_FKEY_* defines
| relate to this case.

Ok, I'm sending an updated patch that does not use relname at all, and
uses an indexscan (getting the Buffer Leak message was fun ;-).

cheers.
  brent

--
"Develop your talent, man, and leave the world something. Records are
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing."  -- Duane Allman

В списке pgsql-patches по дате отправления:

Предыдущее
От: Brent Verner
Дата:
Сообщение: Re: ALTER TABLE RENAME fix
Следующее
От: Brent Verner
Дата:
Сообщение: ALTER TABLE fixes (take two)