Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
7391e251
Commit
7391e251
authored
10 years ago
by
Tom Lane
Browse files
Options
Downloads
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
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/pl/plpython/plpy_main.c
+1
-1
1 addition, 1 deletion
src/pl/plpython/plpy_main.c
src/pl/plpython/plpy_plpymodule.c
+10
-10
10 additions, 10 deletions
src/pl/plpython/plpy_plpymodule.c
with
11 additions
and
11 deletions
src/pl/plpython/plpy_main.c
+
1
−
1
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
;
...
...
This diff is collapsed.
Click to expand it.
src/pl/plpython/plpy_plpymodule.c
+
10
−
10
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment