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
73bfcf6b
Commit
73bfcf6b
authored
Nov 18, 1999
by
Jan Wieck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed pg_rewrite attributes ev_qual and ev_action to the new
compressed lztext data type. Jan
parent
1276aef2
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
12 deletions
+14
-12
src/backend/commands/comment.c
src/backend/commands/comment.c
+1
-1
src/backend/rewrite/rewriteDefine.c
src/backend/rewrite/rewriteDefine.c
+2
-2
src/backend/rewrite/rewriteRemove.c
src/backend/rewrite/rewriteRemove.c
+2
-1
src/backend/utils/cache/relcache.c
src/backend/utils/cache/relcache.c
+4
-4
src/backend/utils/cache/syscache.c
src/backend/utils/cache/syscache.c
+2
-1
src/include/catalog/pg_rewrite.h
src/include/catalog/pg_rewrite.h
+3
-3
No files found.
src/backend/commands/comment.c
View file @
73bfcf6b
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
#include "postgres.h"
#include "postgres.h"
#include "utils/builtins.h"
#include "access/heapam.h"
#include "access/heapam.h"
#include "catalog/catname.h"
#include "catalog/catname.h"
#include "catalog/indexing.h"
#include "catalog/indexing.h"
...
@@ -27,7 +28,6 @@
...
@@ -27,7 +28,6 @@
#include "miscadmin.h"
#include "miscadmin.h"
#include "rewrite/rewriteRemove.h"
#include "rewrite/rewriteRemove.h"
#include "utils/acl.h"
#include "utils/acl.h"
#include "utils/builtins.h"
#include "utils/syscache.h"
#include "utils/syscache.h"
#include "../backend/parser/parse.h"
#include "../backend/parser/parse.h"
...
...
src/backend/rewrite/rewriteDefine.c
View file @
73bfcf6b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteDefine.c,v 1.
39 1999/11/07 23:08:12 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteDefine.c,v 1.
40 1999/11/18 13:56:27 wieck
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -15,13 +15,13 @@
...
@@ -15,13 +15,13 @@
#include "postgres.h"
#include "postgres.h"
#include "access/heapam.h"
#include "access/heapam.h"
#include "utils/builtins.h"
#include "catalog/pg_rewrite.h"
#include "catalog/pg_rewrite.h"
#include "lib/stringinfo.h"
#include "lib/stringinfo.h"
#include "parser/parse_relation.h"
#include "parser/parse_relation.h"
#include "rewrite/rewriteDefine.h"
#include "rewrite/rewriteDefine.h"
#include "rewrite/rewriteSupport.h"
#include "rewrite/rewriteSupport.h"
#include "tcop/tcopprot.h"
#include "tcop/tcopprot.h"
#include "utils/builtins.h"
Oid
LastOidProcessed
=
InvalidOid
;
Oid
LastOidProcessed
=
InvalidOid
;
...
...
src/backend/rewrite/rewriteRemove.c
View file @
73bfcf6b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteRemove.c,v 1.3
1 1999/11/07 23:08:13 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteRemove.c,v 1.3
2 1999/11/18 13:56:27 wieck
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
#include "postgres.h"
#include "postgres.h"
#include "utils/builtins.h"
#include "access/heapam.h"
#include "access/heapam.h"
#include "catalog/catname.h"
#include "catalog/catname.h"
#include "catalog/pg_rewrite.h"
#include "catalog/pg_rewrite.h"
...
...
src/backend/utils/cache/relcache.c
View file @
73bfcf6b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.7
8 1999/11/17 23:51:21 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.7
9 1999/11/18 13:56:28 wieck
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -36,6 +36,7 @@
...
@@ -36,6 +36,7 @@
#include "postgres.h"
#include "postgres.h"
#include "utils/builtins.h"
#include "access/genam.h"
#include "access/genam.h"
#include "access/heapam.h"
#include "access/heapam.h"
#include "access/istrat.h"
#include "access/istrat.h"
...
@@ -53,7 +54,6 @@
...
@@ -53,7 +54,6 @@
#include "lib/hasht.h"
#include "lib/hasht.h"
#include "miscadmin.h"
#include "miscadmin.h"
#include "storage/smgr.h"
#include "storage/smgr.h"
#include "utils/builtins.h"
#include "utils/catcache.h"
#include "utils/catcache.h"
#include "utils/relcache.h"
#include "utils/relcache.h"
#include "utils/temprel.h"
#include "utils/temprel.h"
...
@@ -679,8 +679,8 @@ RelationBuildRuleLock(Relation relation)
...
@@ -679,8 +679,8 @@ RelationBuildRuleLock(Relation relation)
Anum_pg_rewrite_ev_qual
,
pg_rewrite_tupdesc
,
Anum_pg_rewrite_ev_qual
,
pg_rewrite_tupdesc
,
&
isnull
);
&
isnull
);
ruleaction
=
PointerGetDatum
(
textout
((
struct
varlena
*
)
DatumGetPointer
(
ruleaction
)));
ruleaction
=
PointerGetDatum
(
lztextout
((
lztext
*
)
DatumGetPointer
(
ruleaction
)));
rule_evqual_string
=
PointerGetDatum
(
textout
((
struct
varlena
*
)
DatumGetPointer
(
rule_evqual_string
)));
rule_evqual_string
=
PointerGetDatum
(
lztextout
((
lztext
*
)
DatumGetPointer
(
rule_evqual_string
)));
rule
->
actions
=
(
List
*
)
stringToNode
(
DatumGetPointer
(
ruleaction
));
rule
->
actions
=
(
List
*
)
stringToNode
(
DatumGetPointer
(
ruleaction
));
rule
->
qual
=
(
Node
*
)
stringToNode
(
DatumGetPointer
(
rule_evqual_string
));
rule
->
qual
=
(
Node
*
)
stringToNode
(
DatumGetPointer
(
rule_evqual_string
));
...
...
src/backend/utils/cache/syscache.c
View file @
73bfcf6b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.
39 1999/11/16 04:13:59 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.
40 1999/11/18 13:56:29 wieck
Exp $
*
*
* NOTES
* NOTES
* These routines allow the parser/planner/executor to perform
* These routines allow the parser/planner/executor to perform
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
*/
*/
#include "postgres.h"
#include "postgres.h"
#include "utils/builtins.h"
#include "access/heapam.h"
#include "access/heapam.h"
#include "catalog/catname.h"
#include "catalog/catname.h"
#include "catalog/pg_aggregate.h"
#include "catalog/pg_aggregate.h"
...
...
src/include/catalog/pg_rewrite.h
View file @
73bfcf6b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: pg_rewrite.h,v 1.
7 1999/02/13 23:21:14 momjian
Exp $
* $Id: pg_rewrite.h,v 1.
8 1999/11/18 13:56:30 wieck
Exp $
*
*
* NOTES
* NOTES
* the genbki.sh script reads this file and generates .bki
* the genbki.sh script reads this file and generates .bki
...
@@ -37,8 +37,8 @@ CATALOG(pg_rewrite)
...
@@ -37,8 +37,8 @@ CATALOG(pg_rewrite)
Oid
ev_class
;
Oid
ev_class
;
int2
ev_attr
;
int2
ev_attr
;
bool
is_instead
;
bool
is_instead
;
text
ev_qual
;
/* VARLENA
*/
lztext
ev_qual
;
/* Compressed text
*/
text
ev_action
;
/* VARLENA
*/
lztext
ev_action
;
/* Compressed text
*/
}
FormData_pg_rewrite
;
}
FormData_pg_rewrite
;
/* ----------------
/* ----------------
...
...
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