pgsql: Clean up some sloppy coding in repl_gram.y.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Clean up some sloppy coding in repl_gram.y.
Дата
Msg-id E1WA1CT-0005l4-9z@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Clean up some sloppy coding in repl_gram.y.  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-committers
Clean up some sloppy coding in repl_gram.y.

Remove unused copy-and-pasted macro definitions, and improve formatting
of recently-added productions.

I got interested in this because buildfarm member protosciurus has been
crashing in "bison repl_gram.y" since commit 858ec11.  It's a long shot
that this will fix that, though maybe the missing trailing semicolon
has something to do with it?  In any case, there's no need to approve
of dead code, nor of code whose formatting isn't even self-consistent
let alone consistent with what's around it.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/46825d4978b63a0ae9637efbf6298220c833fa8d

Modified Files
--------------
src/backend/replication/repl_gram.y |   49 +++++++++++++++++------------------
1 file changed, 24 insertions(+), 25 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Include planning time in EXPLAIN ANALYZE output.
Следующее
От: Fujii Masao
Дата:
Сообщение: pgsql: Add for functions pg_sleep_for and pg_sleep_until.