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
989b7d66
Commit
989b7d66
authored
23 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Tweak plperl.c to compile against threaded Perls, per report from
cturner@redhat.com.
parent
3f5d3cee
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pl/plperl/plperl.c
+12
-5
12 additions, 5 deletions
src/pl/plperl/plperl.c
with
12 additions
and
5 deletions
src/pl/plperl/plperl.c
+
12
−
5
View file @
989b7d66
...
...
@@ -33,7 +33,7 @@
* ENHANCEMENTS, OR MODIFICATIONS.
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/pl/plperl/plperl.c,v 1.2
7
2002/01/24
16:53
:4
2
tgl Exp $
* $Header: /cvsroot/pgsql/src/pl/plperl/plperl.c,v 1.2
8
2002/01/24
21:40
:4
4
tgl Exp $
*
**********************************************************************/
...
...
@@ -80,8 +80,15 @@
#include
"EXTERN.h"
#include
"perl.h"
#include
"XSUB.h"
#include
"ppport.h"
/* just in case these symbols aren't provided */
#ifndef pTHX_
#define pTHX_
#define pTHX void
#endif
/**********************************************************************
* The information we cache about loaded procedures
...
...
@@ -124,7 +131,7 @@ static Datum plperl_func_handler(PG_FUNCTION_ARGS);
static
plperl_proc_desc
*
compile_plperl_function
(
Oid
fn_oid
,
bool
is_trigger
);
static
SV
*
plperl_build_tuple_argument
(
HeapTuple
tuple
,
TupleDesc
tupdesc
);
static
void
plperl_init_shared_libs
(
void
);
static
void
plperl_init_shared_libs
(
pTHX
);
/*
...
...
@@ -350,11 +357,11 @@ plperl_create_sub(char *s, bool trusted)
*
**********************************************************************/
extern
void
boot_DynaLoader
_
((
CV
*
cv
)
)
;
extern
void
boot_SPI
_
((
CV
*
cv
)
)
;
EXTERN_C
void
boot_DynaLoader
(
pTHX_
CV
*
cv
);
EXTERN_C
void
boot_SPI
(
pTHX_
CV
*
cv
);
static
void
plperl_init_shared_libs
(
void
)
plperl_init_shared_libs
(
pTHX
)
{
char
*
file
=
__FILE__
;
...
...
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