Re: psql describe.c cleanup - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: psql describe.c cleanup
Date
Msg-id 1308079455-sup-902@alvh.no-ip.org
Whole thread Raw
In response to psql describe.c cleanup  (Josh Kupershmidt <schmiddy@gmail.com>)
Responses Re: psql describe.c cleanup
List pgsql-hackers
Excerpts from Josh Kupershmidt's message of sáb may 07 16:40:35 -0300 2011:

> And while I'm griping about describe.c, is it just me or is the source
> code indentation in that file totally screwy? I'm using emacs and I've
> loaded the snippet for pgsql-c-mode from
> ./src/tools/editors/emacs.samples into my ~/.emacs, but the
> indentation of multiline strings still looks inconsistent. See
> attached screenshot, e.g. the start of line 80 has four tabs and one
> space, while line 79 has six tabs and two spaces?

pgindent moves strings back to the left when it thinks they fit within
80 columns.  Yes, that seems pretty screwy.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: ITYM DROP TABLE
Next
From: Peter Eisentraut
Date:
Subject: perltidy