Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
a0cc9f3c
Commit
a0cc9f3c
authored
Jul 22, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add GUC parameter to control rendezvous name.
parent
25114d3e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
15 deletions
+38
-15
doc/src/sgml/runtime.sgml
doc/src/sgml/runtime.sgml
+11
-1
src/backend/postmaster/postmaster.c
src/backend/postmaster/postmaster.c
+14
-12
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+10
-1
src/backend/utils/misc/postgresql.conf.sample
src/backend/utils/misc/postgresql.conf.sample
+1
-0
src/include/tcop/tcopprot.h
src/include/tcop/tcopprot.h
+2
-1
No files found.
doc/src/sgml/runtime.sgml
View file @
a0cc9f3c
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.19
3 2003/07/14 20:00:22 tgl
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.19
4 2003/07/22 20:29:13 momjian
Exp $
-->
<Chapter Id="runtime">
...
...
@@ -732,6 +732,16 @@ SET ENABLE_SEQSCAN TO OFF;
</listitem>
</varlistentry>
<varlistentry>
<term><varname>RENDEZVOUS_NAME</varname> (<type>string</type>)</term>
<listitem>
<para>
Specifies the Rendezvous broadcast name. By default, the
computer name is used, specified as ''.
</para>
</listitem>
</varlistentry>
</variablelist>
</sect3>
<sect3 id="runtime-config-connection-security">
...
...
src/backend/postmaster/postmaster.c
View file @
a0cc9f3c
...
...
@@ -37,7 +37,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.33
4 2003/07/22 19:00:10 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.33
5 2003/07/22 20:29:13 momjian
Exp $
*
* NOTES
*
...
...
@@ -210,6 +210,8 @@ bool LogSourcePort;
bool
Log_connections
=
false
;
bool
Db_user_namespace
=
false
;
char
*
rendezvous_name
;
/* For FNCTL_NONBLOCK */
#if defined(WIN32) || defined(__BEOS__)
long
ioctlsocket_ret
;
...
...
@@ -772,9 +774,9 @@ PostmasterMain(int argc, char *argv[])
}
}
#ifdef USE_RENDEZVOUS
if
(
service
_name
!=
NULL
)
if
(
rendezvous
_name
!=
NULL
)
{
DNSServiceRegistrationCreate
(
NULL
,
/* default to hostname */
DNSServiceRegistrationCreate
(
rendezvous_name
,
"_postgresql._tcp."
,
""
,
htonl
(
PostPortNumber
),
...
...
src/backend/utils/misc/guc.c
View file @
a0cc9f3c
...
...
@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.13
7 2003/07/15 19:19:56 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.13
8 2003/07/22 20:29:13 momjian
Exp $
*
*--------------------------------------------------------------------
*/
...
...
@@ -1299,6 +1299,15 @@ static struct config_string ConfigureNamesString[] =
PG_KRB_SRVTAB
,
NULL
,
NULL
},
{
{
"rendezvous_name"
,
PGC_POSTMASTER
,
CONN_AUTH_SETTINGS
,
gettext_noop
(
"The Rendezvous broadcast service name"
),
NULL
},
&
rendezvous_name
,
""
,
NULL
,
NULL
},
/* See main.c about why defaults for LC_foo are not all alike */
{
...
...
src/backend/utils/misc/postgresql.conf.sample
View file @
a0cc9f3c
...
...
@@ -38,6 +38,7 @@
#unix_socket_group = ''
#unix_socket_permissions = 0777 # octal
#virtual_host = ''
#rendezvous_name = '' # defaults to the computer name
# - Security & Authentication -
...
...
src/include/tcop/tcopprot.h
View file @
a0cc9f3c
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: tcopprot.h,v 1.5
7 2003/05/05 00:44:56 tgl
Exp $
* $Id: tcopprot.h,v 1.5
8 2003/07/22 20:29:13 momjian
Exp $
*
* OLD COMMENTS
* This file was created so that other c files could get the two
...
...
@@ -32,6 +32,7 @@ extern CommandDest whereToSendOutput;
extern
bool
log_hostname
;
extern
bool
LogSourcePort
;
extern
DLLIMPORT
const
char
*
debug_query_string
;
extern
char
*
rendezvous_name
;
#ifndef BOOTSTRAP_INCLUDE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment