Re: pg_get_triggerdef in pg_dump

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_get_triggerdef in pg_dump
Дата
Msg-id 200306241336.h5ODa1916244@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: pg_get_triggerdef in pg_dump  (Andreas Pflug <Andreas.Pflug@web.de>)
Ответы Re: pg_get_triggerdef in pg_dump  (Rod Taylor <rbt@rbt.ca>)
Список 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@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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_get_triggerdef in pg_dump
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: PostgreSQL Core Welcomes New Member