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
532ca308
Commit
532ca308
authored
Jun 09, 2005
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid bare 'struct Node;' declaration --- provokes annoying warnings
on some compilers.
parent
5c495598
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/include/fmgr.h
src/include/fmgr.h
+6
-6
No files found.
src/include/fmgr.h
View file @
532ca308
...
...
@@ -11,7 +11,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/fmgr.h,v 1.3
8 2005/03/31 22:46:24
tgl Exp $
* $PostgreSQL: pgsql/src/include/fmgr.h,v 1.3
9 2005/06/09 18:44:05
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -19,7 +19,7 @@
#define FMGR_H
/* We don't want to include primnodes.h here, so make a stub reference */
struct
Node
;
typedef
struct
Node
*
fmNodePtr
;
/*
...
...
@@ -51,7 +51,7 @@ typedef struct FmgrInfo
bool
fn_retset
;
/* function returns a set */
void
*
fn_extra
;
/* extra space for use by handler */
MemoryContext
fn_mcxt
;
/* memory context to store fn_extra in */
struct
Node
*
fn_expr
;
/* expression parse tree for call, or NULL */
fmNodePtr
fn_expr
;
/* expression parse tree for call, or NULL */
}
FmgrInfo
;
/*
...
...
@@ -60,8 +60,8 @@ typedef struct FmgrInfo
typedef
struct
FunctionCallInfoData
{
FmgrInfo
*
flinfo
;
/* ptr to lookup info used for this call */
struct
Node
*
context
;
/* pass info about context of call */
struct
Node
*
resultinfo
;
/* pass or return extra info about result */
fmNodePtr
context
;
/* pass info about context of call */
fmNodePtr
resultinfo
;
/* pass or return extra info about result */
bool
isnull
;
/* function must set true if result is
* NULL */
short
nargs
;
/* # arguments actually passed */
...
...
@@ -405,7 +405,7 @@ extern void clear_external_function_hash(void *filehandle);
extern
Oid
fmgr_internal_function
(
const
char
*
proname
);
extern
Oid
get_fn_expr_rettype
(
FmgrInfo
*
flinfo
);
extern
Oid
get_fn_expr_argtype
(
FmgrInfo
*
flinfo
,
int
argnum
);
extern
Oid
get_call_expr_argtype
(
struct
Node
*
expr
,
int
argnum
);
extern
Oid
get_call_expr_argtype
(
fmNodePtr
expr
,
int
argnum
);
/*
* Routines in dfmgr.c
...
...
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