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 Schiltknecht | Date: 2007-01-03 16:37:44 |
| Subject: Re: InitPostgres and flatfiles question |
| Previous: | From: Markus Schiltknecht | Date: 2007-01-03 16:20:41 |
| Subject: Re: InitPostgres and flatfiles question |