Re: psql \d option list overloaded

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: psql \d option list overloaded
Дата
Msg-id 200403310106.i2V16Pr15273@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: psql \d option list overloaded  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
I have added this psql backslash discussion to TODO.detail.

---------------------------------------------------------------------------

Peter Eisentraut wrote:
> Tom Lane wrote:
> > But this interacts with point 3 (psql breaks on every new backend
> > version).  It's not desirable to have every GUI and large custom
> > program implementing its own set of metadata inquiry commands: they
> > all have to go through the same update pain as psql.  Perhaps if
> > people start to rely on information_schema for those things, life
> > will get better, but I'm unconvinced that will happen.  psql itself
> > certainly hasn't moved in that direction.
> 
> IIRC, the two killers in psql compatibility have been outer joins and 
> schemas.  I don't see how we could have avoided that, except with 
> highly specialized and static (parameter-less) commands.  There have 
> been additional minor issues, but I suppose we could have avoided those 
> if we had cared to do so at all.
> 
> Several people have in the past proposed to keep psql backward 
> compatible, even if only by means of
> 
> if (version =x) {
>    ...
> }
> else if (version = y) {
>    ...
> }
> 
> (which would be fine by me), but apparently no one has felt pressed 
> enough yet.
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: cvs HEAD regression
Следующее
От: Philip Warner
Дата:
Сообщение: Re: pg_dump end comment