Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
989ab6b1
Commit
989ab6b1
authored
Sep 04, 1997
by
Vadim B. Mikheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pg_trigger changed
parent
bad4bc40
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
24 deletions
+15
-24
src/include/catalog/pg_attribute.h
src/include/catalog/pg_attribute.h
+6
-9
src/include/catalog/pg_class.h
src/include/catalog/pg_class.h
+2
-2
src/include/catalog/pg_trigger.h
src/include/catalog/pg_trigger.h
+7
-13
No files found.
src/include/catalog/pg_attribute.h
View file @
989ab6b1
...
...
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_attribute.h,v 1.1
3 1997/08/31 09:55:21
vadim Exp $
* $Id: pg_attribute.h,v 1.1
4 1997/09/04 13:25:08
vadim Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -534,14 +534,11 @@ DATA(insert OID = 0 ( 1216 vtype 18 0 1 -11 0 -1 t f c f f));
*/
DATA
(
insert
OID
=
0
(
1219
tgrelid
26
0
4
1
0
-
1
t
f
i
f
f
));
DATA
(
insert
OID
=
0
(
1219
tgname
19
0
NAMEDATALEN
2
0
-
1
f
f
i
f
f
));
DATA
(
insert
OID
=
0
(
1219
tgfunc
19
0
NAMEDATALEN
3
0
-
1
f
f
i
f
f
));
DATA
(
insert
OID
=
0
(
1219
tglang
26
0
4
4
0
-
1
t
f
i
f
f
));
DATA
(
insert
OID
=
0
(
1219
tgtype
21
0
2
5
0
-
1
t
f
s
f
f
));
DATA
(
insert
OID
=
0
(
1219
tgnargs
21
0
2
6
0
-
1
t
f
s
f
f
));
DATA
(
insert
OID
=
0
(
1219
tgattr
22
0
16
7
0
-
1
f
f
i
f
f
));
DATA
(
insert
OID
=
0
(
1219
tgtext
17
0
-
1
8
0
-
1
f
f
i
f
f
));
DATA
(
insert
OID
=
0
(
1219
tgargs
17
0
-
1
9
0
-
1
f
f
i
f
f
));
DATA
(
insert
OID
=
0
(
1219
tgwhen
25
0
-
1
10
0
-
1
f
f
i
f
f
));
DATA
(
insert
OID
=
0
(
1219
tgfoid
26
0
4
3
0
-
1
t
f
i
f
f
));
DATA
(
insert
OID
=
0
(
1219
tgtype
21
0
2
4
0
-
1
t
f
s
f
f
));
DATA
(
insert
OID
=
0
(
1219
tgnargs
21
0
2
5
0
-
1
t
f
s
f
f
));
DATA
(
insert
OID
=
0
(
1219
tgattr
22
0
16
6
0
-
1
f
f
i
f
f
));
DATA
(
insert
OID
=
0
(
1219
tgargs
17
0
-
1
7
0
-
1
f
f
i
f
f
));
DATA
(
insert
OID
=
0
(
1219
ctid
27
0
6
-
1
0
-
1
f
f
i
f
f
));
DATA
(
insert
OID
=
0
(
1219
oid
26
0
4
-
2
0
-
1
t
f
i
f
f
));
DATA
(
insert
OID
=
0
(
1219
xmin
28
0
4
-
3
0
-
1
f
f
i
f
f
));
...
...
src/include/catalog/pg_class.h
View file @
989ab6b1
...
...
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_class.h,v 1.
8 1997/08/31 09:55:22
vadim Exp $
* $Id: pg_class.h,v 1.
9 1997/09/04 13:25:13
vadim Exp $
*
* NOTES
* ``pg_relation'' is being replaced by ``pg_class''. currently
...
...
@@ -139,7 +139,7 @@ DATA(insert OID = 1271 ( pg_time 100 PGUID 0 0 0 0 0 f t s n 1 0 0 0 f
DATA
(
insert
OID
=
1273
(
pg_hosts
101
PGUID
0
0
0
0
0
f
t
s
n
3
0
0
0
f
_null_
));
DATA
(
insert
OID
=
1215
(
pg_attrdef
109
PGUID
0
0
0
0
0
t
t
r
n
4
0
0
0
f
_null_
));
DATA
(
insert
OID
=
1216
(
pg_relcheck
110
PGUID
0
0
0
0
0
t
t
r
n
4
0
0
0
f
_null_
));
DATA
(
insert
OID
=
1219
(
pg_trigger
111
PGUID
0
0
0
0
0
t
t
r
n
10
0
0
0
f
_null_
));
DATA
(
insert
OID
=
1219
(
pg_trigger
111
PGUID
0
0
0
0
0
t
t
r
n
7
0
0
0
f
_null_
));
#define RelOid_pg_type 1247
#define RelOid_pg_demon 1251
...
...
src/include/catalog/pg_trigger.h
View file @
989ab6b1
...
...
@@ -29,14 +29,11 @@
CATALOG
(
pg_trigger
)
BOOTSTRAP
{
Oid
tgrelid
;
/* triggered relation */
NameData
tgname
;
/* trigger' name */
NameData
tgfunc
;
/* name of function to be called */
Oid
tglang
;
/* Language. Only ClanguageId currently */
Oid
tgfoid
;
/* OID of function to be called */
int2
tgtype
;
/* BEFORE/AFTER UPDATE/DELETE/INSERT ROW/STATEMENT */
int2
tgnargs
;
/* # of extra arguments in tgargs */
int28
tgattr
;
/* UPDATE of attr1, attr2 ... (NI) */
bytea
tgtext
;
/* currently, where to find .so */
bytea
tgargs
;
/* first\000second\000tgnargs\000 */
text
tgwhen
;
/* when (a > 10 or b = 3) fire trigger (NI) */
}
FormData_pg_trigger
;
/* ----------------
...
...
@@ -50,17 +47,14 @@ typedef FormData_pg_trigger *Form_pg_trigger;
* compiler constants for pg_trigger
* ----------------
*/
#define Natts_pg_trigger
10
#define Natts_pg_trigger
7
#define Anum_pg_trigger_tgrelid 1
#define Anum_pg_trigger_tgname 2
#define Anum_pg_trigger_tgfunc 3
#define Anum_pg_trigger_tglang 4
#define Anum_pg_trigger_tgtype 5
#define Anum_pg_trigger_tgnargs 6
#define Anum_pg_trigger_tgattr 7
#define Anum_pg_trigger_tgtext 8
#define Anum_pg_trigger_tgargs 9
#define Anum_pg_trigger_tgwhen 10
#define Anum_pg_trigger_tgfoid 3
#define Anum_pg_trigger_tgtype 4
#define Anum_pg_trigger_tgnargs 5
#define Anum_pg_trigger_tgattr 6
#define Anum_pg_trigger_tgargs 7
#define TRIGGER_TYPE_ROW (1 << 0)
#define TRIGGER_TYPE_BEFORE (1 << 1)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment