Re: Tabs or Spaces

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Tabs or Spaces
Дата
Msg-id 200701050402.l0542Fg19078@momjian.us
обсуждение исходный текст
Ответ на Re: Tabs or Spaces  ("Simon Riggs" <simon@2ndquadrant.com>)
Список pgsql-hackers
Simon Riggs wrote:
> On Thu, 2007-01-04 at 16:01 -0500, Bruce Momjian wrote:
> > Tom Lane wrote:
> > > "Simon Riggs" <simon@2ndquadrant.com> writes:
> > > > Minor request for clarification:
> > > > I read in the Developer's FAQ that tabs should be interpreted as 4
> > > > spaces. ...and also that pgindent replaces tabs as spaces.
> > > 
> > > No, it does the opposite (or I would hope so anyway).
> > 
> > Sorry, the mistake was in a reference to entab.  It now reads:
> > 
> >     entab           converts spaces to tabs, used by pgindent
> 
> S'OK, just thought it was funny I'd been doing it backwards all this
> time: Actively been replacing tabs with spaces. :-)

It was a little more complex because entab does conversion to/from tabs,
but pgindent uses it in the "to tabs" mode.

--  Bruce Momjian   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tino Wildenhain
Дата:
Сообщение: Re: -f option for pg_dumpall
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: -f option for pg_dumpall