pgsql: Doc: use CURRENT_USER not USER in plpgsql trigger examples.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Doc: use CURRENT_USER not USER in plpgsql trigger examples.
Дата
Msg-id E1qpsDt-000oFp-W6@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Doc: use CURRENT_USER not USER in plpgsql trigger examples.

While these two built-in functions do exactly the same thing,
CURRENT_USER seems preferable to use in documentation examples.
It's easier to look up if the reader is unsure what it is.
Also, this puts these examples in sync with an adjacent example
that already used CURRENT_USER.

Per question from Kirk Parker.

Discussion: https://postgr.es/m/CANwZ8rmN_Eb0h0hoMRS8Feftaik0z89PxVsKg+cP+PctuOq=Qg@mail.gmail.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/694d6700e8866941a72b9f34955fc6ede67cbd63

Modified Files
--------------
doc/src/sgml/plpgsql.sgml | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Clarify the checks in RegisterBackgroundWorker.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: worker_spi: Fix another stability issue with BGWORKER_BYPASS_ALL