Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1fea1e3

Browse files
committed
libpq: Change "options" dispchar to normal
libpq connection options as returned by PQconndefaults() have a"dispchar" field that determines (among other things) whether an optionis a "debug" option, which shouldn't be shown by default to clients.postgres_fdw makes use of that to control which connection options toaccept from a foreign server configuration.Curiously, the "options" option, which allows passing configurationsettings to the backend server, was listed as a debug option, whichprevented it from being used by postgres_fdw. Maybe it was once meantfor debugging, but it's clearly in general use nowadays.So change the dispchar for it to be the normal non-debug case. Alsoremove the "debug" reference from its label field.Reported-by: Shinoda, Noriyoshi <noriyoshi.shinoda@hpe.com>
1 parent98afa68 commit1fea1e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/interfaces/libpq/fe-connect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ static const internalPQconninfoOption PQconninfoOptions[] = {
236236
offsetof(structpg_conn,pgtty)},
237237

238238
{"options","PGOPTIONS",DefaultOption,NULL,
239-
"Backend-Debug-Options","D",40,
239+
"Backend-Options","",40,
240240
offsetof(structpg_conn,pgoptions)},
241241

242242
{"application_name","PGAPPNAME",NULL,NULL,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp