![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
This morning I got bitten by the "SELECT INTO" / "CREATE TABLE AS" from tables without OIDs bug in 7.4.1. |
|
Now I am getting 'invalid page header in block 52979 of relation "pg_attribute"' errors in the postgresql log file. |
#3
| |||
| |||
|
|
Steve Crawford <scrawford (AT) pinpointresearch (DOT) com> 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 the CVS history that looks related to your problem. |
|
Now I am getting 'invalid page header in block 52979 of relation "pg_attribute"' errors in the postgresql log file. Could you get a hex dump of that page? |
#4
| |||
| |||
|
|
Could you get a hex dump of that page? What is the best method to do this? |
|
Also, can I safely drop that table |
#5
| |||
| |||
|
|
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. |
|
What is the best method to do this? Also, can I safely drop that table and recreate it from a dump file? |
|
Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a tool for doing 5% of the work and then sitting around waiting for someone else to do the other 95% so you can sue them. |
#6
| |||
| |||
|
|
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 too. Check the release notes for more details. You may as well jump to the most recent... |
|
What is the best method to do this? Also, can I safely drop that table and recreate it from a dump file? Errr, pg_attribute is what holds the information about column names, types and other such details. Most of your schema really. It would need a full restore if you dropped it... |
![]() |
| Thread Tools | |
| Display Modes | |
| |