Re: comments on type attributes broken in 9.1devel

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: comments on type attributes broken in 9.1devel
Дата
Msg-id AANLkTinSg-fLZgh_hhebvL6_z=1-rpXC8EZfAcZXOco9@mail.gmail.com
обсуждение исходный текст
Ответ на comments on type attributes broken in 9.1devel  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Tue, Oct 19, 2010 at 1:46 AM, Peter Eisentraut <peter_e@gmx.net> wrote:
> The comment code refactoring c10575ff005c330d0475345621b7d381eb510c48
> broke comments on composite type attributes:
>
> COMMENT ON COLUMN foo.a is 'test';
> ERROR:  42809: "foo" is a composite type
> LOCATION:  heap_openrv, heapam.c:1110
>
> This is because as the code was moved from CommentAttribute() to
> get_object_address_attribute(), the call to relation_openrv() became a
> heap_openrv(), which causes the above error.
>
> Please check it out.

Thanks.  I changed that and added a regression test.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: max_wal_senders must die
Следующее
От: Stefan Kaltenbrunner
Дата:
Сообщение: Re: max_wal_senders must die