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

From Markus Schiltknecht
Subject Re: InitPostgres and flatfiles question
Date
Msg-id 459BD7D9.6010001@bluegap.ch
Whole thread Raw
In response to Re: InitPostgres and flatfiles question  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: InitPostgres and flatfiles question  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hello Tom,

Tom Lane wrote:
> In what PG version?

Postgres-R 8.3devel ;-)

> Because the postmaster doesn't have direct database access.  If it did,
> any corruption of shared memory would risk crashing the postmaster
> along with the backends.

Understood, thanks.

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.

Regards

Markus



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: InitPostgres and flatfiles question
Next
From: Tom Lane
Date:
Subject: Re: InitPostgres and flatfiles question