Re: pg_get_triggerdef in pg_dump

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andreas Pflug <Andreas(dot)Pflug(at)web(dot)de>
Cc: Rod Taylor <rbt(at)rbt(dot)ca>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_get_triggerdef in pg_dump
Date: 2003-06-24 19:00:47
Message-ID: 200306241900.h5OJ0lF15935@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I don't think an option to do such justification would be good unless we
can do it consistenly in the code, and there is enough demand.

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

Andreas Pflug wrote:
> Rod Taylor wrote:
>
> >>Oh, one more thing --- right justify isn't as accepted as left-justify
> >>
> >>
> >
> >But it looks so much better...
> >
> >
> Yessss!
> Consider this:
>
> SELECT foo
> FROM bar b
> LEFT JOIN chair c USING (thekeycol)
> WHERE ...
> :-)
>
> versus
>
> SELECT foo
> FROM bar b
> LEFT JOIN chair c USING (thekeycol)
> WHERE ...
> The keywords are separated :-(
>
> SELECT foo
> FROM bar b
> LEFT JOIN chair c USING (thekeycol)
> WHERE ...
> No more lineup :-(
>
>
>
> Admittedly, when you type it yourself, it's a bit annoying, because you
> can't use just tabs. But if it's generated, it won't do any harm.
> Why not giving PostgreSQL this extra portion of elegance...
>
> Regards,
> Andreas
>
>

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-06-24 19:04:05 Re: [HACKERS] ss_family in hba.c
Previous Message Andreas Pflug 2003-06-24 18:57:59 Re: pg_get_triggerdef in pg_dump