Re: psql describe.c cleanup

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: psql describe.c cleanup
Дата
Msg-id 1308079455-sup-902@alvh.no-ip.org
обсуждение исходный текст
Ответ на psql describe.c cleanup  (Josh Kupershmidt <schmiddy@gmail.com>)
Ответы Re: psql describe.c cleanup  (Josh Kupershmidt <schmiddy@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: ITYM DROP TABLE
Следующее
От: Peter Eisentraut
Дата:
Сообщение: perltidy