Re: [BUGS] BUG #13126: table constraint loses its comment

Поиск
Список
Период
Сортировка
От Petr Jelinek
Тема Re: [BUGS] BUG #13126: table constraint loses its comment
Дата
Msg-id 559B9ACC.2060103@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #13126: table constraint loses its comment  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: [BUGS] BUG #13126: table constraint loses its comment  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On 2015-07-04 13:45, Michael Paquier wrote:
> On Fri, Jul 3, 2015 at 11:59 PM, Petr Jelinek wrote:
>> Well for indexes you don't really need to add the new AT command, as
>> IndexStmt has char *idxcomment which it will automatically uses as comment
>> if not NULL. While  I am not huge fan of the idxcomment it doesn't seem to
>> be easy to remove it in the future and it's what transformTableLikeClause
>> uses so it might be good to be consistent with that.
>
> Oh, right, I completely missed your point and this field in IndexStmt.
> Yes it is better to be consistent in this case and to use it. It makes
> as well the code easier to follow.
> Btw, regarding the new AT routines, I am getting find of them, it
> makes easier to follow which command is added where in the command
> queues.
>
> Updated patch attached.
>

Cool, I am happy with the patch now. Marking as ready for committer.


--  Petr Jelinek                  http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: [PATCH] Add missing \ddp psql command
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Transactions involving multiple postgres foreign servers