pgsql: Add some code to CREATE DATABASE to check for pre-existing

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add some code to CREATE DATABASE to check for pre-existing
Date: 2006-10-18 22:44:12
Message-ID: 20061018224412.3C6ED9FA418@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Add some code to CREATE DATABASE to check for pre-existing subdirectories
that conflict with the OID that we want to use for the new database.
This avoids the risk of trying to remove files that maybe we shouldn't
remove. Per gripe from Jon Lapham and subsequent discussion of 27-Sep.

Modified Files:
--------------
pgsql/src/backend/access/transam:
xlog.c (r1.251 -> r1.252)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c.diff?r1=1.251&r2=1.252)
pgsql/src/backend/commands:
dbcommands.c (r1.185 -> r1.186)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c.diff?r1=1.185&r2=1.186)

Browse pgsql-committers by date

  From Date Subject
Next Message User Mario__ 2006-10-19 00:12:19 webtranslator - l10n: Createmanual.py added, this will be the main file
Previous Message User Knt 2006-10-18 22:36:48 plscheme - htdocs: Add an example install.sh usage.