pgsql: Add psql PROMPT variable showing which line of a statement is be

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Add psql PROMPT variable showing which line of a statement is be
Дата
Msg-id E1XOm6u-0007UX-Jq@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add psql PROMPT variable showing which line of a statement is being edited.

The new %l substitution shows the line number inside a (potentially
multi-line) statement starting from one.

Author: Sawada Masahiko, heavily editorialized by me.
Reviewed-By: Jeevan Chalke, Alvaro Herrera

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/51bb79569f934ad2135c2ff859c61b9ab8d51750

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml |    9 +++++++++
src/bin/psql/copy.c            |   15 +++++++++------
src/bin/psql/mainloop.c        |   23 +++++++++++++++++++++++
src/bin/psql/prompt.c          |    5 +++++
src/bin/psql/settings.h        |    1 +
5 files changed, 47 insertions(+), 6 deletions(-)


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Compress GIN posting lists, for smaller index size.
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Silence warning on new versions of clang.