Skip site navigation (1) Skip section navigation (2)

Re: InitPostgres and flatfiles question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Markus Schiltknecht <markus(at)bluegap(dot)ch>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: InitPostgres and flatfiles question
Date: 2007-01-03 16:28:54
Message-ID: 11702.1167841734@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Markus Schiltknecht <markus(at)bluegap(dot)ch> writes:
> Most probably I better go another way, than fiddling with postgres 
> startup internals. Is there a way to be sure the flatfile has been 
> written to disk after a CREATE DATABASE? I would like to ensure I can 
> connect to a newly created database.

It should happen automatically at commit of the CREATE DATABASE ... and
you'd not be able to see the pg_database row before that anyway.  So I'm
not clear on what you're worried about.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Markus SchiltknechtDate: 2007-01-03 16:37:44
Subject: Re: InitPostgres and flatfiles question
Previous:From: Markus SchiltknechtDate: 2007-01-03 16:20:41
Subject: Re: InitPostgres and flatfiles question

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group