Re: pg_get_triggerdef in pg_dump - Mailing list pgsql-hackers

From Andreas Pflug
Subject Re: pg_get_triggerdef in pg_dump
Date
Msg-id 3EF89F37.3080307@web.de
Whole thread Raw
In response to Re: pg_get_triggerdef in pg_dump  (Rod Taylor <rbt@rbt.ca>)
Responses Re: pg_get_triggerdef in pg_dump  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: pg_get_triggerdef in pg_dump  (Rod Taylor <rbt@rbt.ca>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: interval's and printing...
Next
From: Bruce Momjian
Date:
Subject: Re: pg_get_triggerdef in pg_dump