mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Since the backend now handles relative PGDATA, initdb doesn't have to work
around anymore.
This commit is contained in:
@ -23,7 +23,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.109 2000/11/02 19:48:39 petere Exp $
|
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.110 2000/11/04 12:47:48 petere Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -424,11 +424,6 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Be sure that PGDATA is an absolute path, otherwise backend croaks.
|
|
||||||
|
|
||||||
unset CDPATH
|
|
||||||
PGDATA=`cd $PGDATA && pwd`
|
|
||||||
|
|
||||||
|
|
||||||
##########################################################################
|
##########################################################################
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user