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

Commit0bd155c

Browse files
committed
Fix bug in propagating ALTER TABLE actions to typed tables.
We need to propagate such actions to all typed table children of agiven type, not just the first one.Noah Misch
1 parentd4c810d commit0bd155c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/commands/tablecmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4014,7 +4014,7 @@ find_typed_table_dependencies(Oid typeOid, const char *typeName, DropBehavior be
40144014

40154015
scan=heap_beginscan(classRel,SnapshotNow,1,key);
40164016

4017-
if (HeapTupleIsValid(tuple=heap_getnext(scan,ForwardScanDirection)))
4017+
while ((tuple=heap_getnext(scan,ForwardScanDirection))!=NULL)
40184018
{
40194019
if (behavior==DROP_RESTRICT)
40204020
ereport(ERROR,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp