Re: [HACKERS] pgindent and tabs in comments

2010-04-20 Thread Peter Eisentraut
On mån, 2010-04-19 at 21:25 -0400, Bruce Momjian wrote: > > > Oh, that is an interesting example. What the code does is if there are > > > several spaces and the next word is on a tab stop, the spaces are > > > convered to tabs, except if we are in a string. This conversion is done > > > by 'entab

Re: [HACKERS] pgindent and tabs in comments

2010-04-19 Thread Bruce Momjian
Peter Eisentraut wrote: > On tor, 2010-04-15 at 20:56 -0400, Bruce Momjian wrote: > > Peter Eisentraut wrote: > > > Apparently, pgindent replaces multiple spaces in comments by a tab > > > (possibly subject to additional logic). An example among thousands: > > > > > > http://git.postgresql.org/gi

Re: [HACKERS] pgindent and tabs in comments

2010-04-16 Thread Peter Eisentraut
On tor, 2010-04-15 at 20:56 -0400, Bruce Momjian wrote: > Peter Eisentraut wrote: > > Apparently, pgindent replaces multiple spaces in comments by a tab > > (possibly subject to additional logic). An example among thousands: > > > > http://git.postgresql.org/gitweb?p=postgresql.git;a=blobdiff_pla

Re: [HACKERS] pgindent and tabs in comments

2010-04-15 Thread Bruce Momjian
Peter Eisentraut wrote: > Apparently, pgindent replaces multiple spaces in comments by a tab > (possibly subject to additional logic). An example among thousands: > > http://git.postgresql.org/gitweb?p=postgresql.git;a=blobdiff_plain;f=src/backend/access/gin/ginentrypage.c;h=c23415c0075b5ec52f08e

[HACKERS] pgindent and tabs in comments

2010-04-15 Thread Peter Eisentraut
Apparently, pgindent replaces multiple spaces in comments by a tab (possibly subject to additional logic). An example among thousands: http://git.postgresql.org/gitweb?p=postgresql.git;a=blobdiff_plain;f=src/backend/access/gin/ginentrypage.c;h=c23415c0075b5ec52f08e8ef698f7b7ec2f97b19;hp=5cbbc7455