Обсуждение: pgsql: Move SCRAM-related name definitions to scram-common.h

Поиск
Список
Период
Сортировка

pgsql: Move SCRAM-related name definitions to scram-common.h

От
Peter Eisentraut
Дата:
Move SCRAM-related name definitions to scram-common.h

Mechanism names for SCRAM and channel binding names have been included
in scram.h by the libpq frontend code, and this header references a set
of routines which are only used by the backend.  scram-common.h is on
the contrary usable by both the backend and libpq, so getting those
names from there seems more reasonable.

Author: Michael Paquier <michael.paquier@gmail.com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/25d532698d74f4adb34f013f1a287a0029e31fb1

Modified Files
--------------
src/backend/libpq/auth.c             | 1 +
src/include/common/scram-common.h    | 7 +++++++
src/include/libpq/scram.h            | 7 -------
src/interfaces/libpq/fe-auth-scram.c | 1 -
src/interfaces/libpq/fe-auth.c       | 2 +-
5 files changed, 9 insertions(+), 9 deletions(-)