Re: pretty print viewdefs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pretty print viewdefs
Дата
Msg-id 26412.1251339835@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pretty print viewdefs  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: pretty print viewdefs  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Tom Lane wrote:
>> Well, let's see it?  What do you do with expressions that don't fit?

> See attached.

This isn't going to work as-is, because (a) buf->data can be moved
around by repalloc, and (b) you're not allowing for newlines being
introduced within the column expressions.  You could probably fix it,
but given the lack of consensus for a line-length-based approach, I'm
not sure it's worth putting more effort into.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Logging configuration changes
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pretty print viewdefs