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
989b7d66
Commit
989b7d66
authored
Jan 24, 2002
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak plperl.c to compile against threaded Perls, per report from
cturner@redhat.com.
parent
3f5d3cee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
src/pl/plperl/plperl.c
src/pl/plperl/plperl.c
+12
-5
No files found.
src/pl/plperl/plperl.c
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:42
tgl Exp $
* $Header: /cvsroot/pgsql/src/pl/plperl/plperl.c,v 1.2
8 2002/01/24 21:40:44
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__
;
...
...
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