Re: pretty print viewdefs
От | Andrew Dunstan |
---|---|
Тема | Re: pretty print viewdefs |
Дата | |
Msg-id | 4A95FA2E.10606@dunslane.net обсуждение исходный текст |
Ответ на | Re: pretty print viewdefs (Greg Stark <gsstark@mit.edu>) |
Список | pgsql-hackers |
Greg Stark wrote: > On Thu, Aug 27, 2009 at 1:00 AM, Andrew Dunstan<andrew@dunslane.net> wrote: > >> Greg Stark wrote: >> >>> At least if it's all on one line >>> you can just not scroll to the right and see the rest of the query on >>> your screen. >>> >> This is where the confusion arises. >> >> This is not possible on any terminal program I use - they don't scroll left >> and right, they wrap, and the result in this case is horrible. >> > > Well then you need a better terminal? Or you need to do your > programming in a text editor and not a terminal? I use emacs in its own window. And it too line wraps, although that can be changed (I'm not a fan of line truncation mode, frankly). But I also like to be able to read the viewdef, and I like to be able to cut and paste it so it is sanely editable. And I'm not alone. If there are embedded newlines in the column def that might be annoying, but what we have now sucks majorly for anything but the most trivial of target lists. cheers andrew
В списке pgsql-hackers по дате отправления: