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
a8b9cbfa
Commit
a8b9cbfa
authored
Feb 07, 2001
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make DEF_PGPORT available to Makefiles, so it can be substituted into
scripts like pgaccess.
parent
5add3e8e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
configure
configure
+3
-2
configure.in
configure.in
+3
-3
src/Makefile.global.in
src/Makefile.global.in
+5
-1
No files found.
configure
View file @
a8b9cbfa
...
@@ -976,7 +976,8 @@ if test x"${with_pgport+set}" = xset; then
...
@@ -976,7 +976,8 @@ if test x"${with_pgport+set}" = xset; then
else
else
default_port
=
5432
default_port
=
5432
fi
fi
# Need both of these because backend wants an integer and frontend a string
echo
"
$ac_t
""
$default_port
"
1>&6
# Need both of these because some places want an integer and some a string
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define DEF_PGPORT
${
default_port
}
#define DEF_PGPORT
${
default_port
}
EOF
EOF
...
@@ -985,7 +986,6 @@ cat >> confdefs.h <<EOF
...
@@ -985,7 +986,6 @@ cat >> confdefs.h <<EOF
#define DEF_PGPORT_STR "
${
default_port
}
"
#define DEF_PGPORT_STR "
${
default_port
}
"
EOF
EOF
echo
"
$ac_t
""
$default_port
"
1>&6
#
#
...
@@ -7903,6 +7903,7 @@ s%@host_os@%$host_os%g
...
@@ -7903,6 +7903,7 @@ s%@host_os@%$host_os%g
s%@PORTNAME@%
$PORTNAME
%g
s%@PORTNAME@%
$PORTNAME
%g
s%@TAS@%
$TAS
%g
s%@TAS@%
$TAS
%g
s%@MULTIBYTE@%
$MULTIBYTE
%g
s%@MULTIBYTE@%
$MULTIBYTE
%g
s%@default_port@%
$default_port
%g
s%@enable_shared@%
$enable_shared
%g
s%@enable_shared@%
$enable_shared
%g
s%@enable_rpath@%
$enable_rpath
%g
s%@enable_rpath@%
$enable_rpath
%g
s%@CC@%
$CC
%g
s%@CC@%
$CC
%g
...
...
configure.in
View file @
a8b9cbfa
...
@@ -223,11 +223,11 @@ AC_MSG_CHECKING([for default port number])
...
@@ -223,11 +223,11 @@ AC_MSG_CHECKING([for default port number])
PGAC_ARG_REQ(with, pgport, [ --with-pgport=PORTNUM change default port number [5432]],
PGAC_ARG_REQ(with, pgport, [ --with-pgport=PORTNUM change default port number [5432]],
[default_port=$withval],
[default_port=$withval],
[default_port=5432])
[default_port=5432])
# Need both of these because backend wants an integer and frontend a string
AC_MSG_RESULT([$default_port])
# Need both of these because some places want an integer and some a string
AC_DEFINE_UNQUOTED(DEF_PGPORT, ${default_port})
AC_DEFINE_UNQUOTED(DEF_PGPORT, ${default_port})
AC_DEFINE_UNQUOTED(DEF_PGPORT_STR, "${default_port}")
AC_DEFINE_UNQUOTED(DEF_PGPORT_STR, "${default_port}")
AC_MSG_RESULT([$default_port])
AC_SUBST(default_port)
#
#
# Maximum number of allowed connections (--with-maxbackends), default 32
# Maximum number of allowed connections (--with-maxbackends), default 32
...
...
src/Makefile.global.in
View file @
a8b9cbfa
# -*-makefile-*-
# -*-makefile-*-
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.11
7 2001/01/20 22:56:33
tgl Exp $
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.11
8 2001/02/07 20:13:27
tgl Exp $
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# All PostgreSQL makefiles include this file and use the variables it sets,
# All PostgreSQL makefiles include this file and use the variables it sets,
...
@@ -200,6 +200,10 @@ JADE = @JADE@
...
@@ -200,6 +200,10 @@ JADE = @JADE@
NSGMLS
=
@NSGMLS@
NSGMLS
=
@NSGMLS@
SGMLSPL
=
@SGMLSPL@
SGMLSPL
=
@SGMLSPL@
# Feature settings
DEF_PGPORT
=
@default_port@
##########################################################################
##########################################################################
#
#
...
...
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