OK! I'll create a shell script to verify it.
If you change your mind latter I apply for developing the patch.
Best Regards,
Bruno
-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Thursday, April 13, 2006 1:57 AM
To: Bruce Momjian
Cc: Bruno Almeida do Lago; pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Control File
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Bruno Almeida do Lago wrote:
>> After that night, I started to ask myself if PostgreSQL should not have a
>> control file to check if expected datafiles are where they should be and
>> JUST warn about missing ones?
> I don't think this happens frequently enough to add code for it.
I think we saw it happen once to Joe Conway's DB. But I see no
particular reason why Postgres needs a feature for this --- you can
stick a test into your database start script if you need it.
regards, tom lane