Re: Control File

From: "Bruno Almeida do Lago" <teolupus(at)gmail(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Cc: "'Bruce Momjian'" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Control File
Date: 2006-04-17 12:15:45
Message-ID: 44438704.2bd300c0.115a.ffffce9c@mx.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Thursday, April 13, 2006 1:57 AM
To: Bruce Momjian
Cc: Bruno Almeida do Lago; pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Control File

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno Almeida do Lago 2006-04-17 12:28:01 Re: Control File
Previous Message Bruce Momjian 2006-04-17 03:18:15 Re: TODO: Update pg_dump and psql to use the new COPY libpq