projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1239a01
)
needs_toast_table() should ignore dropped columns.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 31 Aug 2004 23:27:05 +0000
(23:27 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 31 Aug 2004 23:27:05 +0000
(23:27 +0000)
src/backend/commands/tablecmds.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/tablecmds.c
b/src/backend/commands/tablecmds.c
index d14fb35ca3da6a9871a2e43b402cde699a7260f7..8c50d228435bc9849def3441799039e293b2d7f5 100644
(file)
--- a/
src/backend/commands/tablecmds.c
+++ b/
src/backend/commands/tablecmds.c
@@
-8,7
+8,7
@@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.13
0 2004/08/31 15:56:39
tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.13
1 2004/08/31 23:27:05
tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@
-5760,6
+5760,8
@@
needs_toast_table(Relation rel)
for (i = 0; i < tupdesc->natts; i++)
{
+ if (att[i]->attisdropped)
+ continue;
data_length = att_align(data_length, att[i]->attalign);
if (att[i]->attlen > 0)
{