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

Commita27addb

Browse files
committed
Make it possible to change Kerberos/GSSAPI parameters without restarting
the postmaster. They are only used in backend processes, so it's justa matter of re-labeling the GUCs.
1 parentbdcc757 commita27addb

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

‎doc/src/sgml/config.sgml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.200 2008/12/13 19:13:43 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.201 2009/01/02 10:33:19 mha Exp $ -->
22

33
<chapter Id="runtime-config">
44
<title>Server Configuration</title>
@@ -621,8 +621,7 @@ SET ENABLE_SEQSCAN TO OFF;
621621
<para>
622622
Sets the realm to match Kerberos, GSSAPI and SSPI user names against.
623623
See <xref linkend="kerberos-auth">, <xref linkend="gssapi-auth"> or
624-
<xref linkend="sspi-auth"> for details. This parameter can only be
625-
set at server start.
624+
<xref linkend="sspi-auth"> for details.
626625
</para>
627626
</listitem>
628627
</varlistentry>
@@ -636,7 +635,7 @@ SET ENABLE_SEQSCAN TO OFF;
636635
<para>
637636
Sets the location of the Kerberos server key file. See
638637
<xref linkend="kerberos-auth"> or <xref linkend="gssapi-auth">
639-
for details. This parameter can only be set at server start.
638+
for details.
640639
</para>
641640
</listitem>
642641
</varlistentry>
@@ -649,7 +648,7 @@ SET ENABLE_SEQSCAN TO OFF;
649648
<listitem>
650649
<para>
651650
Sets the Kerberos service name. See <xref linkend="kerberos-auth">
652-
for details. This parameter can only be set at server start.
651+
for details.
653652
</para>
654653
</listitem>
655654
</varlistentry>
@@ -666,7 +665,7 @@ SET ENABLE_SEQSCAN TO OFF;
666665
the complete service principal, that is
667666
<varname>krb_srvname</><literal>/</><varname>krb_server_hostname</><literal>@</>REALM.
668667
If not set, the default is the server host name. See <xref linkend="kerberos-auth">
669-
for details. This parameter can only be set at server start.
668+
for details.
670669
</para>
671670
</listitem>
672671
</varlistentry>
@@ -680,8 +679,7 @@ SET ENABLE_SEQSCAN TO OFF;
680679
<para>
681680
Sets whether Kerberos and GSSAPI user names should be treated
682681
case-insensitively.
683-
The default is <literal>off</> (case sensitive). This parameter
684-
can only be set at server start.
682+
The default is <literal>off</> (case sensitive).
685683
</para>
686684
</listitem>
687685
</varlistentry>

‎src/backend/utils/misc/guc.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.486 2009/01/0202:02:10 tgl Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.487 2009/01/0210:33:20 mha Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -1144,7 +1144,7 @@ static struct config_bool ConfigureNamesBool[] =
11441144
},
11451145

11461146
{
1147-
{"krb_caseins_users",PGC_POSTMASTER,CONN_AUTH_SECURITY,
1147+
{"krb_caseins_users",PGC_SIGHUP,CONN_AUTH_SECURITY,
11481148
gettext_noop("Sets whether Kerberos and GSSAPI user names should be treated as case-insensitive."),
11491149
NULL
11501150
},
@@ -2123,7 +2123,7 @@ static struct config_string ConfigureNamesString[] =
21232123
},
21242124

21252125
{
2126-
{"krb_realm",PGC_POSTMASTER,CONN_AUTH_SECURITY,
2126+
{"krb_realm",PGC_SIGHUP,CONN_AUTH_SECURITY,
21272127
gettext_noop("Sets realm to match Kerberos and GSSAPI users against."),
21282128
NULL,
21292129
GUC_SUPERUSER_ONLY
@@ -2133,7 +2133,7 @@ static struct config_string ConfigureNamesString[] =
21332133
},
21342134

21352135
{
2136-
{"krb_server_keyfile",PGC_POSTMASTER,CONN_AUTH_SECURITY,
2136+
{"krb_server_keyfile",PGC_SIGHUP,CONN_AUTH_SECURITY,
21372137
gettext_noop("Sets the location of the Kerberos server key file."),
21382138
NULL,
21392139
GUC_SUPERUSER_ONLY
@@ -2143,7 +2143,7 @@ static struct config_string ConfigureNamesString[] =
21432143
},
21442144

21452145
{
2146-
{"krb_srvname",PGC_POSTMASTER,CONN_AUTH_SECURITY,
2146+
{"krb_srvname",PGC_SIGHUP,CONN_AUTH_SECURITY,
21472147
gettext_noop("Sets the name of the Kerberos service."),
21482148
NULL
21492149
},
@@ -2152,7 +2152,7 @@ static struct config_string ConfigureNamesString[] =
21522152
},
21532153

21542154
{
2155-
{"krb_server_hostname",PGC_POSTMASTER,CONN_AUTH_SECURITY,
2155+
{"krb_server_hostname",PGC_SIGHUP,CONN_AUTH_SECURITY,
21562156
gettext_noop("Sets the hostname of the Kerberos server."),
21572157
NULL
21582158
},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp