Re: [GENERAL] invalid page header in block 52979 of relation "pg_attribute"

2004-11-12 Thread Steve Crawford
On Friday 12 November 2004 7:54 am, Martijn van Oosterhout wrote: > On Thu, Nov 11, 2004 at 04:29:38PM -0700, Steve Crawford wrote: > > True. I hadn't come up with a good time to get past that 7.4.1 -> > > 7.4.2 initdb requirement. I guess I'll have to go with the manual > > method. > > IIRC, the i

Re: [GENERAL] invalid page header in block 52979 of relation "pg_attribute"

2004-11-12 Thread Martijn van Oosterhout
On Thu, Nov 11, 2004 at 04:29:38PM -0700, Steve Crawford wrote: > True. I hadn't come up with a good time to get past that 7.4.1 -> > 7.4.2 initdb requirement. I guess I'll have to go with the manual > method. IIRC, the initdb is recommended, but not required. It can be done without an initdb t

Re: [GENERAL] invalid page header in block 52979 of relation "pg_attribute"

2004-11-11 Thread Tom Lane
Steve Crawford <[EMAIL PROTECTED]> writes: >> Could you get a hex dump of that page? > What is the best method to do this? There's always "od -x" ... however, if you prefer you can use pg_filedump from http://sources.redhat.com/rhdb/. > Also, can I safely drop that table Not unless you want to

Re: [GENERAL] invalid page header in block 52979 of relation "pg_attribute"

2004-11-11 Thread Steve Crawford
On Thursday 11 November 2004 3:14 pm, Tom Lane wrote: > Steve Crawford <[EMAIL PROTECTED]> writes: > > This morning I got bitten by the "SELECT INTO" / "CREATE TABLE > > AS" from tables without OIDs bug in 7.4.1. > > On a production server, you really ought to track bug-fix releases > a bit more en

Re: [GENERAL] invalid page header in block 52979 of relation "pg_attribute"

2004-11-11 Thread Tom Lane
Steve Crawford <[EMAIL PROTECTED]> writes: > This morning I got bitten by the "SELECT INTO" / "CREATE TABLE AS" > from tables without OIDs bug in 7.4.1. On a production server, you really ought to track bug-fix releases a bit more enthusiastically than that :-(. However, I don't see anything in

[GENERAL] invalid page header in block 52979 of relation "pg_attribute"

2004-11-11 Thread Steve Crawford
This morning I got bitten by the "SELECT INTO" / "CREATE TABLE AS" from tables without OIDs bug in 7.4.1. Postmaster killed all the backends and restarted - pg was down for 2 seconds. This happened two times within a few minute period. Now I am getting 'invalid page header in block 52979 of re