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
7391e251
Commit
7391e251
authored
Jan 12, 2015
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some functions that were declared static then defined not-static.
Per testing with a compiler that whines about this.
parent
5b3ce2c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
src/pl/plpython/plpy_main.c
src/pl/plpython/plpy_main.c
+1
-1
src/pl/plpython/plpy_plpymodule.c
src/pl/plpython/plpy_plpymodule.c
+10
-10
No files found.
src/pl/plpython/plpy_main.c
View file @
7391e251
...
...
@@ -123,7 +123,7 @@ _PG_init(void)
* This should only be called once from _PG_init. Initialize the Python
* interpreter and global data.
*/
void
static
void
PLy_init_interp
(
void
)
{
static
PyObject
*
PLy_interp_safe_globals
=
NULL
;
...
...
src/pl/plpython/plpy_plpymodule.c
View file @
7391e251
...
...
@@ -273,49 +273,49 @@ PLy_generate_spi_exceptions(PyObject *mod, PyObject *base)
*/
static
PyObject
*
PLy_output
(
volatile
int
,
PyObject
*
,
PyObject
*
);
PyObject
*
static
PyObject
*
PLy_debug
(
PyObject
*
self
,
PyObject
*
args
)
{
return
PLy_output
(
DEBUG2
,
self
,
args
);
}
PyObject
*
static
PyObject
*
PLy_log
(
PyObject
*
self
,
PyObject
*
args
)
{
return
PLy_output
(
LOG
,
self
,
args
);
}
PyObject
*
static
PyObject
*
PLy_info
(
PyObject
*
self
,
PyObject
*
args
)
{
return
PLy_output
(
INFO
,
self
,
args
);
}
PyObject
*
static
PyObject
*
PLy_notice
(
PyObject
*
self
,
PyObject
*
args
)
{
return
PLy_output
(
NOTICE
,
self
,
args
);
}
PyObject
*
static
PyObject
*
PLy_warning
(
PyObject
*
self
,
PyObject
*
args
)
{
return
PLy_output
(
WARNING
,
self
,
args
);
}
PyObject
*
static
PyObject
*
PLy_error
(
PyObject
*
self
,
PyObject
*
args
)
{
return
PLy_output
(
ERROR
,
self
,
args
);
}
PyObject
*
static
PyObject
*
PLy_fatal
(
PyObject
*
self
,
PyObject
*
args
)
{
return
PLy_output
(
FATAL
,
self
,
args
);
}
PyObject
*
static
PyObject
*
PLy_quote_literal
(
PyObject
*
self
,
PyObject
*
args
)
{
const
char
*
str
;
...
...
@@ -332,7 +332,7 @@ PLy_quote_literal(PyObject *self, PyObject *args)
return
ret
;
}
PyObject
*
static
PyObject
*
PLy_quote_nullable
(
PyObject
*
self
,
PyObject
*
args
)
{
const
char
*
str
;
...
...
@@ -352,7 +352,7 @@ PLy_quote_nullable(PyObject *self, PyObject *args)
return
ret
;
}
PyObject
*
static
PyObject
*
PLy_quote_ident
(
PyObject
*
self
,
PyObject
*
args
)
{
const
char
*
str
;
...
...
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