Re: pg_get_triggerdef in pg_dump - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pg_get_triggerdef in pg_dump
Date
Msg-id 200306241900.h5OJ0lF15935@candle.pha.pa.us
Whole thread Raw
In response to Re: pg_get_triggerdef in pg_dump  (Andreas Pflug <Andreas.Pflug@web.de>)
Responses Re: pg_get_triggerdef in pg_dump  (Andreas Pflug <Andreas.Pflug@web.de>)
List 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@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 by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: pg_get_triggerdef in pg_dump
Next
From: Bruce Momjian
Date:
Subject: Re: ss_family in hba.c