Re: InitPostgres and flatfiles question - Mailing list pgsql-hackers

From Tom Lane
Subject Re: InitPostgres and flatfiles question
Date
Msg-id 11702.1167841734@sss.pgh.pa.us
Whole thread Raw
In response to Re: InitPostgres and flatfiles question  (Markus Schiltknecht <markus@bluegap.ch>)
Responses Re: InitPostgres and flatfiles question  (Markus Schiltknecht <markus@bluegap.ch>)
Re: InitPostgres and flatfiles question  (Markus Schiltknecht <markus@bluegap.ch>)
List pgsql-hackers
Markus Schiltknecht <markus@bluegap.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


pgsql-hackers by date:

Previous
From: Markus Schiltknecht
Date:
Subject: Re: InitPostgres and flatfiles question
Next
From: Markus Schiltknecht
Date:
Subject: Re: InitPostgres and flatfiles question