pgsql: Add psql PROMPT variable showing which line of a statement is be - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Add psql PROMPT variable showing which line of a statement is be
Date
Msg-id E1XOm6u-0007UX-Jq@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: Compress GIN posting lists, for smaller index size.
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Silence warning on new versions of clang.