Re: psql possible TODO

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: psql possible TODO
Дата
Msg-id 20070129173033.GP14134@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: psql possible TODO  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: psql possible TODO  (Bruce Momjian <bruce@momjian.us>)
Re: psql possible TODO  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Joshua D. Drake wrote:
> On Fri, 2006-12-29 at 20:59 -0500, Bruce Momjian wrote:
> > Alvaro Herrera wrote:
> > > Tom Lane wrote:
> > > > Richard Troy <rtroy@ScienceTools.com> writes:
> > > > > ... it occurs to me that perhaps Josh can implement
> > > > > a command line switch to turn on command line numbering.
> > > > 
> > > > That would solve the problem I have with changing \s.  I think a psql
> > > > \set variable (comparable to ON_ERROR_STOP and friends) might be the way
> > > > to go instead of inventing another \-command, but it's not real
> > > > important.
> > > 
> > > So, is anybody working on this?  I think it should be put in the TODO
> > > list:
> > > 
> > >  - Allow psql to display item numbers along each history item, depending
> > >    on a \set variable
> > 
> > I thought Joshua Drake was going to submit a patch, but if doesn't
> > appear shortly, I will add it to the TODO list with the agreed API.
> 
> I will claim this for now. I will let it go if I can't get at least
> something productive done on it by end of January.

Now that the embargo period seems to be over, I think it would be a good
time to add it to the TODO list.  Also, I'd modify the idea slightly to
allow a more general facility, using %-escapes (or similar) for line
numbers, dates and so on.  Bash allows something like this (albeit
limited to only times) using the HISTTIMEFORMAT environment variable.

This is the first case I know of of an embargo to an agreed TODO item.
Why was it put in place?  I find it distracting, because the item has to
be put on someone else's TODO list and then that person has to pinch
others to get it added to the central TODO list.  Not sure I see the
point.  (I understand about bashing Joshua ---a sport I also practice in
Command Prompt's internal lists ;-) --- but in this case it seems to be
counterproductive).

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: 10 weeks to feature freeze (Pending Work)
Следующее
От:
Дата:
Сообщение: Re: shared_preload_libraries support on Win32?