| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | Dan Colish <dan(at)unencrypted(dot)org> |
| Cc: | PGSQL-HACKERS <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: one line comment style |
| Date: | 2009-10-09 21:52:07 |
| Message-ID: | 200910092152.n99Lq7B27399@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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
>
> /*
> * a one line comment
> */
I use single-line of I just want to comment the next line, and
multi-line if I want to comment on the next block of lines, e.g a
section comment.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2009-10-09 22:13:21 | Re: Idle connection timeout |
| Previous Message | Kevin Grittner | 2009-10-09 21:35:46 | Re: Unicode UTF-8 table formatting for psql text output |