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

Commitdc13d5d

Browse files
committed
Before row insertion triggers call.
1 parent8d6e5f0 commitdc13d5d

File tree

2 files changed

+416
-87
lines changed

2 files changed

+416
-87
lines changed

‎src/backend/commands/copy.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
*
88
* IDENTIFICATION
9-
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.28 1997/09/01 07:59:04 vadim Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.29 1997/09/04 13:18:59 vadim Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -608,7 +608,7 @@ CopyFrom(Relation rel, bool binary, bool oids, FILE *fp, char *delim)
608608
skip_tuple= false;
609609
/* BEFORE ROW INSERT Triggers */
610610
if (rel->trigdesc&&
611-
rel->trigdesc->n_before_row[TRIGGER_ACTION_INSERT]>0 )
611+
rel->trigdesc->n_before_row[TRIGGER_EVENT_INSERT]>0 )
612612
{
613613
HeapTuplenewtuple;
614614

@@ -677,7 +677,7 @@ CopyFrom(Relation rel, bool binary, bool oids, FILE *fp, char *delim)
677677
}
678678
/* AFTER ROW INSERT Triggers */
679679
if (rel->trigdesc&&
680-
rel->trigdesc->n_after_row[TRIGGER_ACTION_INSERT]>0 )
680+
rel->trigdesc->n_after_row[TRIGGER_EVENT_INSERT]>0 )
681681
ExecARInsertTriggers (rel,tuple);
682682
}
683683

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp