]> granicus.if.org Git - postgresql/commit
Guard against createdb --location=PGDATA foo; without this, the code
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 23 Feb 2002 20:55:46 +0000 (20:55 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 23 Feb 2002 20:55:46 +0000 (20:55 +0000)
commit9a279da73d412ea41e02292207f998376b460756
tree386c872630121382b3b63f477c048550ab165882
parent9b3a6b5ec34fc9940cc3cbe0c2f097bbd1666ad6
Guard against createdb --location=PGDATA foo; without this, the code
tries to create a symlink pointing at itself.  Per trouble report from
Kenneth McDowell.
src/backend/commands/dbcommands.c