mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
Get rid of inappropriate use of croak(). Per report from Michael Fuhr.
This commit is contained in:
parent
95f202c021
commit
6f64cf592b
@ -33,7 +33,7 @@
|
||||
* ENHANCEMENTS, OR MODIFICATIONS.
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.91 2005/08/24 18:16:56 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.92 2005/08/24 19:06:28 tgl Exp $
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
@ -370,7 +370,7 @@ plperl_convert_to_pg_array(SV *src)
|
||||
SPAGAIN ;
|
||||
|
||||
if (count != 1)
|
||||
croak("Big trouble\n") ;
|
||||
elog(ERROR, "unexpected _plperl_to_pg_array failure");
|
||||
|
||||
rv = POPs;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user