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

Commit2ede93d

Browse files
committed
Fix compile failure
REL_11_STABLE's configure does not select C99 mode by default, so usingC99 block initializer broke the build for some compilers. Revert to C89in that branch.Author: Michaël PaquierDiscussion:https://postgr.es/m/20190710070122.GE1031@paquier.xyz
1 parent1cde7fe commit2ede93d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/backend/commands/tablecmds.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15271,6 +15271,7 @@ CloneRowTriggersToPartition(Relation parent, Relation partition)
1527115271
if (trigForm->tgnargs>0)
1527215272
{
1527315273
char*p;
15274+
inti;
1527415275

1527515276
value=heap_getattr(tuple,Anum_pg_trigger_tgargs,
1527615277
RelationGetDescr(pg_trigger),&isnull);
@@ -15280,7 +15281,7 @@ CloneRowTriggersToPartition(Relation parent, Relation partition)
1528015281

1528115282
p= (char*)VARDATA_ANY(DatumGetByteaPP(value));
1528215283

15283-
for (inti=0;i<trigForm->tgnargs;i++)
15284+
for (i=0;i<trigForm->tgnargs;i++)
1528415285
{
1528515286
trigargs=lappend(trigargs,makeString(pstrdup(p)));
1528615287
p+=strlen(p)+1;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp