# usernames stored in secondary password files but not
# secondary passwords.
#
-# ident: Authentication is done by the ident server on the remote
-# host. AUTH_ARGUMENT is required and maps names found in
-# the $PGDATA/pg_ident.conf file. The connection is
-# accepted if the file contains an entry for this map
+# ident: Authentication is done by the ident server on the local
+# or remote host. AUTH_ARGUMENT is required and maps names
+# found in the $PGDATA/pg_ident.conf file. The connection
+# is accepted if the file contains an entry for this map
# name with the ident-supplied username and the requested
# PostgreSQL username. The special map name "sameuser"
-# indicates an implied map (not in pg_ident.conf)
-# that maps each ident username to the identical
-# PostgreSQL username.
+# indicates an implied map (not in pg_ident.conf) that
+# maps each ident username to the identical PostgreSQL
+# username.
#
# krb4: Kerberos V4 authentication is used.
#
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.22 2001/07/11 16:16:52 momjian Exp $
+# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.23 2001/07/11 19:36:41 momjian Exp $
#
#-------------------------------------------------------------------------
-D)
shift
# pass environment into new postmaster
- export PGDATA="$1"
+ PGDATA="$1"
+ export PGDATA
;;
-l)
logfile="$2"