Re: [HACKERS] one line comment style

2009-10-09 Thread Bruce Momjian
Dan Colish wrote: I'm going through a few files and trying to clean them up for style mostly and a bit of refactoring. I am curious about the preferred style for a one line comment. I see them in both of these forms and I would like to keep it consistent. /* a one line comment */ or

[HACKERS] one line comment style

2009-10-08 Thread Dan Colish
I'm going through a few files and trying to clean them up for style mostly and a bit of refactoring. I am curious about the preferred style for a one line comment. I see them in both of these forms and I would like to keep it consistent. /* a one line comment */ or /* * a one line comment */

Re: [HACKERS] one line comment style

2009-10-08 Thread Tom Lane
Dan Colish d...@unencrypted.org writes: I'm going through a few files and trying to clean them up for style mostly and a bit of refactoring. I am curious about the preferred style for a one line comment. I see them in both of these forms and I would like to keep it consistent. /* a one

Re: [HACKERS] one line comment style

2009-10-08 Thread Alvaro Herrera
Tom Lane wrote: One thing that would be worth checking before you expend too much manual effort on that is whether pg_indent will convert one style to the other. Offhand I don't recall that it does, but if it did then it'd undo your work ... No, it doesn't, unless the comment doesn't fit in