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
6084c915
Commit
6084c915
authored
Sep 01, 1997
by
Vadim B. Mikheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Triggers added to Relation
parent
b69b815e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
1 deletion
+26
-1
src/include/utils/rel.h
src/include/utils/rel.h
+26
-1
No files found.
src/include/utils/rel.h
View file @
6084c915
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: rel.h,v 1.
7 1996/11/04 11:51:24 scrappy
Exp $
* $Id: rel.h,v 1.
8 1997/09/01 08:13:22 vadim
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -20,6 +20,30 @@
#include <rewrite/prs2lock.h>
#include <storage/fd.h>
typedef
struct
Trigger
{
char
*
tgname
;
char
*
tgfunc
;
Oid
tglang
;
int16
tgtype
;
int16
tgnargs
;
int16
tgattr
[
8
];
char
*
tgtext
;
char
**
tgargs
;
char
*
tgwhen
;
}
Trigger
;
typedef
struct
TriggerDesc
{
uint16
n_before_statement
[
4
];
uint16
n_before_row
[
4
];
uint16
n_after_row
[
4
];
uint16
n_after_statement
[
4
];
Trigger
**
tg_before_statement
[
4
];
Trigger
**
tg_before_row
[
4
];
Trigger
**
tg_after_row
[
4
];
Trigger
**
tg_after_statement
[
4
];
Trigger
*
triggers
;
}
TriggerDesc
;
typedef
struct
RelationData
{
File
rd_fd
;
/* open file descriptor */
int
rd_nblocks
;
/* number of blocks in rel */
...
...
@@ -36,6 +60,7 @@ typedef struct RelationData {
RuleLock
*
rd_rules
;
/* rewrite rules */
IndexStrategy
rd_istrat
;
RegProcedure
*
rd_support
;
TriggerDesc
*
trigdesc
;
}
RelationData
;
typedef
RelationData
*
Relation
;
...
...
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