Skip to content

Commit 651cb90

Browse files
committed
Fix clashing function names between jsonb_plperl and jsonb_plperlu
This prevented them from being installed at the same time. Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
1 parent 5c6110c commit 651cb90

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

contrib/jsonb_plperl/jsonb_plperlu--1.0.sql

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
44
\echo Use "CREATE EXTENSION jsonb_plperlu" to load this file. \quit
55

6-
CREATE FUNCTION jsonb_to_plperl(val internal) RETURNS internal
6+
CREATE FUNCTION jsonb_to_plperlu(val internal) RETURNS internal
77
LANGUAGE C STRICT IMMUTABLE
8-
AS 'MODULE_PATHNAME';
8+
AS 'MODULE_PATHNAME', 'jsonb_to_plperl';
99

10-
CREATE FUNCTION plperl_to_jsonb(val internal) RETURNS jsonb
10+
CREATE FUNCTION plperlu_to_jsonb(val internal) RETURNS jsonb
1111
LANGUAGE C STRICT IMMUTABLE
12-
AS 'MODULE_PATHNAME';
12+
AS 'MODULE_PATHNAME', 'plperl_to_jsonb';
1313

1414
CREATE TRANSFORM FOR jsonb LANGUAGE plperlu (
15-
FROM SQL WITH FUNCTION jsonb_to_plperl(internal),
16-
TO SQL WITH FUNCTION plperl_to_jsonb(internal)
15+
FROM SQL WITH FUNCTION jsonb_to_plperlu(internal),
16+
TO SQL WITH FUNCTION plperlu_to_jsonb(internal)
1717
);
1818

1919
COMMENT ON TRANSFORM FOR jsonb LANGUAGE plperlu IS 'transform between jsonb and Perl';

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy