From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Andreas Pflug <Andreas(dot)Pflug(at)web(dot)de> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pg_get_triggerdef in pg_dump |
Date: | 2003-06-24 13:36:01 |
Message-ID: | 200306241336.h5ODa1916244@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Andreas Pflug wrote:
> I also could implement line break and indentation formatting. I
> implemented a keyword-based algorithm in pgAdmin3, and having the
> original tree the job is obviously easier. Do we need any flexibility
> about indent char (tab or space) and indentation size (2 chars)? The
> pgAdmin3 algorithm uses 4 spaces, and tries to align keywords so they
> line up nicely, and I'd prefer doing it this way again.
>
> SELECT foo
> FROM bar b
> JOIN chair c USING (thekeycol)
> WHERE ...
Oh, one more thing --- right justify isn't as accepted as left-justify
--- sorry.
> SELECT foo
> FROM bar b
> JOIN chair c USING (thekeycol)
> WHERE ...
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2003-06-24 13:43:29 | Re: PostgreSQL Core Welcomes New Member |
Previous Message | Bruce Momjian | 2003-06-24 13:34:58 | Re: pg_get_triggerdef in pg_dump |