Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3659c62

Browse files
committed
Remove perl symbol table additions for plperl functions, and mention of it
in the release notes, as it is not apparently providing anything useful.
1 parent 0c88e55 commit 3659c62

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

doc/src/sgml/release-9.0.sgml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/release-9.0.sgml,v 2.31 2010/06/14 02:18:43 rhaas Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/release-9.0.sgml,v 2.32 2010/06/16 14:50:34 adunstan Exp $ -->
22

33
<sect1 id="release-9-0">
44
<title>Release 9.0</title>
@@ -1759,18 +1759,6 @@
17591759
</para>
17601760
</listitem>
17611761

1762-
<listitem>
1763-
<para>
1764-
PL/Perl subroutines are now given perl-visible names (Tim Bunce)
1765-
</para>
1766-
1767-
<para>
1768-
PL/Perl subroutines are anonymous subrefs; this change adds entries
1769-
to the Perl symbol table for them, making profiling and code coverage
1770-
tools much more usable.
1771-
</para>
1772-
</listitem>
1773-
17741762
</itemizedlist>
17751763

17761764
</sect4>

src/pl/plperl/plperl.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**********************************************************************
22
* plperl.c - perl as a procedural language for PostgreSQL
33
*
4-
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.176 2010/05/17 19:43:04 adunstan Exp $
4+
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.177 2010/06/16 14:50:34 adunstan Exp $
55
*
66
**********************************************************************/
77

@@ -1319,10 +1319,6 @@ plperl_create_sub(plperl_proc_desc *prodesc, char *s, Oid fn_oid)
13191319
(errmsg("didn't get a CODE ref from compiling %s",
13201320
prodesc->proname)));
13211321

1322-
/* give the subroutine a proper name in the main:: symbol table */
1323-
CvGV(SvRV(subref)) = (GV *) newSV(0);
1324-
gv_init(CvGV(SvRV(subref)), PL_defstash, subname, strlen(subname), TRUE);
1325-
13261322
prodesc->reference = subref;
13271323

13281324
return;

0 commit comments

Comments
 (0)