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
33417507
Commit
33417507
authored
Oct 31, 1996
by
Bryan Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Require superuser privilege to create C function.
parent
b13f5c25
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
463 additions
and
400 deletions
+463
-400
src/backend/commands/define.c
src/backend/commands/define.c
+457
-394
src/backend/tcop/utility.c
src/backend/tcop/utility.c
+6
-6
No files found.
src/backend/commands/define.c
View file @
33417507
This diff is collapsed.
Click to expand it.
src/backend/tcop/utility.c
View file @
33417507
...
...
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.
2 1996/08/24 20:49:03 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.
3 1996/10/31 09:08:10 bryanh
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -367,7 +367,7 @@ ProcessUtility(Node *parsetree,
}
break
;
case
T_ViewStmt
:
/* VIEW */
case
T_ViewStmt
:
/*
CREATE
VIEW */
{
ViewStmt
*
stmt
=
(
ViewStmt
*
)
parsetree
;
...
...
@@ -377,13 +377,13 @@ ProcessUtility(Node *parsetree,
}
break
;
case
T_ProcedureStmt
:
/* FUNCTION */
case
T_ProcedureStmt
:
/*
CREATE
FUNCTION */
commandTag
=
"CREATE"
;
CHECK_IF_ABORTED
();
Defin
eFunction
((
ProcedureStmt
*
)
parsetree
,
dest
);
/* everything */
Creat
eFunction
((
ProcedureStmt
*
)
parsetree
,
dest
);
/* everything */
break
;
case
T_IndexStmt
:
case
T_IndexStmt
:
/* CREATE INDEX */
{
IndexStmt
*
stmt
=
(
IndexStmt
*
)
parsetree
;
...
...
@@ -400,7 +400,7 @@ ProcessUtility(Node *parsetree,
}
break
;
case
T_RuleStmt
:
case
T_RuleStmt
:
/* CREATE RULE */
{
RuleStmt
*
stmt
=
(
RuleStmt
*
)
parsetree
;
#ifndef NO_SECURITY
...
...
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