Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit651cb90

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 parent5c6110c commit651cb90

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-
CREATEFUNCTIONjsonb_to_plperl(val internal) RETURNS internal
6+
CREATEFUNCTIONjsonb_to_plperlu(val internal) RETURNS internal
77
LANGUAGE C STRICT IMMUTABLE
8-
AS'MODULE_PATHNAME';
8+
AS'MODULE_PATHNAME','jsonb_to_plperl';
99

10-
CREATEFUNCTIONplperl_to_jsonb(val internal) RETURNS jsonb
10+
CREATEFUNCTIONplperlu_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 FUNCTIONjsonb_to_plperl(internal),
16-
TO SQL WITH FUNCTIONplperl_to_jsonb(internal)
15+
FROM SQL WITH FUNCTIONjsonb_to_plperlu(internal),
16+
TO SQL WITH FUNCTIONplperlu_to_jsonb(internal)
1717
);
1818

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp