Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite19f6bc

Browse files
committed
needs_toast_table() should ignore dropped columns.
1 parent1239a01 commite19f6bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/backend/commands/tablecmds.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.130 2004/08/3115:56:39 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.131 2004/08/3123:27:05 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -5760,6 +5760,8 @@ needs_toast_table(Relation rel)
57605760

57615761
for (i=0;i<tupdesc->natts;i++)
57625762
{
5763+
if (att[i]->attisdropped)
5764+
continue;
57635765
data_length=att_align(data_length,att[i]->attalign);
57645766
if (att[i]->attlen>0)
57655767
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp