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

Commit6f64cf5

Browse files
committed
Get rid of inappropriate use of croak(). Per report from Michael Fuhr.
1 parent95f202c commit6f64cf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/pl/plperl/plperl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* ENHANCEMENTS, OR MODIFICATIONS.
3434
*
3535
* IDENTIFICATION
36-
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.91 2005/08/2418:16:56 tgl Exp $
36+
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.92 2005/08/2419:06:28 tgl Exp $
3737
*
3838
**********************************************************************/
3939

@@ -370,7 +370,7 @@ plperl_convert_to_pg_array(SV *src)
370370
SPAGAIN ;
371371

372372
if (count!=1)
373-
croak("Big trouble\n");
373+
elog(ERROR,"unexpected _plperl_to_pg_array failure");
374374

375375
rv=POPs;
376376

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp