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
c67208b3
Commit
c67208b3
authored
Sep 01, 1997
by
Vadim B. Mikheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Calls of RelationBuildTriggers() & FreeTriggerDesc()
parent
283e18ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
src/backend/utils/cache/relcache.c
src/backend/utils/cache/relcache.c
+12
-1
No files found.
src/backend/utils/cache/relcache.c
View file @
c67208b3
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.
19 1997/08/22 03:35:44
vadim Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.
20 1997/09/01 08:04:38
vadim Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -263,6 +263,9 @@ static void IndexedAccessMethodInitialize(Relation relation);
static
void
AttrDefaultFetch
(
Relation
relation
);
static
void
RelCheckFetch
(
Relation
relation
);
extern
void
RelationBuildTriggers
(
Relation
relation
);
extern
void
FreeTriggerDesc
(
Relation
relation
);
/*
* newlyCreatedRelns -
* relations created during this transaction. We need to keep track of
...
...
@@ -892,6 +895,12 @@ RelationBuildDesc(RelationBuildDescInfo buildinfo)
relation
->
rd_rules
=
NULL
;
}
/* Triggers */
if
(
relp
->
reltriggers
>
0
)
RelationBuildTriggers
(
relation
);
else
relation
->
trigdesc
=
NULL
;
/* ----------------
* initialize index strategy and support information for this relation
* ----------------
...
...
@@ -1290,6 +1299,8 @@ RelationFlushRelation(Relation *relationPtr,
RelationCacheDelete
(
relation
);
FreeTupleDesc
(
relation
->
rd_att
);
FreeTriggerDesc
(
relation
);
#if 0
if (relation->rd_rules) {
...
...
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