![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
DBD::Pg::st execute failed: ERROR: expected both swapped tables to have TOAST tables at sql_data_xfer.pl line 120, <STDIN> line 2. |
#3
| |||
| |||
|
|
DBD::Pg::st execute failed: ERROR: expected both swapped tables to have TOAST tables at sql_data_xfer.pl line 120, <STDIN> line 2. Have you done more to this table than TRUNCATE it? We recognized relatively recently that ALTER DROP COLUMN could drop the last/only variable-width column, in which case there is no longer any need for a TOAST table. The 8.0 code for CLUSTER/TRUNCATE copes with this possibility but 7.4 doesn't. |
|
I'm quite sure you couldn't get this error from anything except CLUSTER or TRUNCATE in 7.4 though. Seems like your client-side code is in error to be fingering a plain SELECT as the cause. |
#4
| |||
| |||
|
|
Aha! Yes, the problem is that I dropped the last VARCHAR column, not in that table but in one that came after it. Any workaround to fix? |
#5
| |||
| |||
|
|
Aha! Yes, the problem is that I dropped the last VARCHAR column, not in that table but in one that came after it. Any workaround to fix? Easiest is to add back a useless varchar column ... |
#6
| |||
| |||
|
|
Easiest is to add back a useless varchar column ... Can't do it, the column needed to be dropped in order to fix a problem with the data transfer. Maybe re-create the table? |
#7
| |||
| |||
|
|
Yeah, I think you're stuck with doing that. |
#8
| |||
| |||
|
|
BTW, this is a pretty nasty error, although apparently infrequent give the lack of list e-mails. Can we fix it for 7.4 series? |
![]() |
| Thread Tools | |
| Display Modes | |
| |