| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: pgindent infelicity |
| Date: | 2007-01-11 18:17:42 |
| Message-ID: | 200701111817.l0BIHgC27181@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Tom Lane wrote:
> I notice that the latest pgindent run has decided that comments attached
> to "else" should be moved onto the next line, as in this example in
> src/bin/psql/mbprint.c:
>
> {
> linewidth += 4;
> format_size += 4;
> }
> - else /* Output itself */
> + else
> + /* Output itself */
> {
> linewidth++;
> format_size += 1;
> }
>
> I find this pretty ugly; can it be fixed?
FYI, I fixed this soon after you reported it. It will now only push
down multi-line comments after 'else'.
--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2007-01-11 18:17:44 | Re: unusual performance for vac following 8.2 upgrade |
| Previous Message | Russell Smith | 2007-01-11 18:07:23 | Re: unusual performance for vac following 8.2 upgrade |