pgsql: Document psql's behavior of recalling the previously executedqu

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Document psql's behavior of recalling the previously executedqu
Дата
Msg-id E1cuoVV-0003HU-Si@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Document psql's behavior of recalling the previously executed query.

Various psql slash commands that normally act on the current query buffer
will automatically recall and re-use the most recently executed SQL command
instead, if the current query buffer is empty.  Although this behavior is
ancient (dating apparently to commit 77a472993), it was documented nowhere
in the psql reference page.  For that matter, we'd never bothered to define
the concept of "current query buffer" explicitly.  Fix that.  Do some
wordsmithing on relevant command descriptions to improve clarity and
consistency.

Discussion: https://postgr.es/m/9b4ea968-753f-4b5f-b46c-d7d3bf7c8f90@manitou-mail.org

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/68dba97a4dea5c5c915e31978a475107c17c458d

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml | 73 ++++++++++++++++++++++++++++++------------
1 file changed, 52 insertions(+), 21 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix behavior of psql's \p to agree with \g, \w, etc.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Remove reinvention of stringify macro.