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
040bb787
Commit
040bb787
authored
Nov 21, 2000
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install the sample pg_ident.conf file into /home/postgres/testversion/data, just like pg_hba.conf.
parent
74299f66
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
src/bin/initdb/initdb.sh
src/bin/initdb/initdb.sh
+10
-5
No files found.
src/bin/initdb/initdb.sh
View file @
040bb787
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
#
#
# Copyright (c) 1994, Regents of the University of California
# Copyright (c) 1994, Regents of the University of California
#
#
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.11
5 2000/11/21 01:11:49
tgl Exp $
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.11
6 2000/11/21 20:55:57
tgl Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -337,6 +337,7 @@ TEMPLATE1_DESCR="$datadir"/template1.description
...
@@ -337,6 +337,7 @@ TEMPLATE1_DESCR="$datadir"/template1.description
GLOBAL_DESCR
=
"
$datadir
"
/global.description
GLOBAL_DESCR
=
"
$datadir
"
/global.description
PG_HBA_SAMPLE
=
"
$datadir
"
/pg_hba.conf.sample
PG_HBA_SAMPLE
=
"
$datadir
"
/pg_hba.conf.sample
PG_IDENT_SAMPLE
=
"
$datadir
"
/pg_ident.conf.sample
POSTGRESQL_CONF_SAMPLE
=
"
$datadir
"
/postgresql.conf.sample
POSTGRESQL_CONF_SAMPLE
=
"
$datadir
"
/postgresql.conf.sample
if
[
"
$show_setting
"
=
yes
]
||
[
"
$debug
"
=
yes
]
if
[
"
$show_setting
"
=
yes
]
||
[
"
$debug
"
=
yes
]
...
@@ -345,7 +346,8 @@ then
...
@@ -345,7 +346,8 @@ then
echo
"Initdb variables:"
echo
"Initdb variables:"
for
var
in
PGDATA datadir PGPATH TEMPFILE MULTIBYTE MULTIBYTEID
\
for
var
in
PGDATA datadir PGPATH TEMPFILE MULTIBYTE MULTIBYTEID
\
POSTGRES_SUPERUSERNAME POSTGRES_SUPERUSERID TEMPLATE1_BKI GLOBAL_BKI
\
POSTGRES_SUPERUSERNAME POSTGRES_SUPERUSERID TEMPLATE1_BKI GLOBAL_BKI
\
TEMPLATE1_DESCR GLOBAL_DESCR POSTGRESQL_CONF_SAMPLE PG_HBA_SAMPLE
;
do
TEMPLATE1_DESCR GLOBAL_DESCR POSTGRESQL_CONF_SAMPLE
\
PG_HBA_SAMPLE PG_IDENT_SAMPLE
;
do
eval
"echo ' '
$var
=
\$
$var
"
eval
"echo ' '
$var
=
\$
$var
"
done
done
fi
fi
...
@@ -354,7 +356,8 @@ if [ "$show_setting" = yes ] ; then
...
@@ -354,7 +356,8 @@ if [ "$show_setting" = yes ] ; then
exit
0
exit
0
fi
fi
for
PREREQ_FILE
in
"
$TEMPLATE1_BKI
"
"
$GLOBAL_BKI
"
"
$PG_HBA_SAMPLE
"
for
PREREQ_FILE
in
"
$TEMPLATE1_BKI
"
"
$GLOBAL_BKI
"
"
$PG_HBA_SAMPLE
"
\
"
$PG_IDENT_SAMPLE
"
do
do
if
[
!
-f
"
$PREREQ_FILE
"
]
;
then
if
[
!
-f
"
$PREREQ_FILE
"
]
;
then
(
(
...
@@ -486,8 +489,10 @@ then
...
@@ -486,8 +489,10 @@ then
echo
$short_version
>
"
$PGDATA
/PG_VERSION"
||
exit_nicely
echo
$short_version
>
"
$PGDATA
/PG_VERSION"
||
exit_nicely
cp
"
$PG_HBA_SAMPLE
"
"
$PGDATA
"
/pg_hba.conf
||
exit_nicely
cp
"
$PG_HBA_SAMPLE
"
"
$PGDATA
"
/pg_hba.conf
||
exit_nicely
cp
"
$PG_IDENT_SAMPLE
"
"
$PGDATA
"
/pg_ident.conf
||
exit_nicely
cp
"
$POSTGRESQL_CONF_SAMPLE
"
"
$PGDATA
"
/postgresql.conf
||
exit_nicely
cp
"
$POSTGRESQL_CONF_SAMPLE
"
"
$PGDATA
"
/postgresql.conf
||
exit_nicely
chmod
0600
"
$PGDATA
"
/pg_hba.conf
"
$PGDATA
"
/postgresql.conf
chmod
0600
"
$PGDATA
"
/pg_hba.conf
"
$PGDATA
"
/pg_ident.conf
\
"
$PGDATA
"
/postgresql.conf
fi
fi
...
...
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