1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

Get rid of inappropriate use of croak(). Per report from Michael Fuhr.

This commit is contained in:
Tom Lane
2005-08-24 19:06:28 +00:00
parent 95f202c021
commit 6f64cf592b

View File

@ -33,7 +33,7 @@
* ENHANCEMENTS, OR MODIFICATIONS. * ENHANCEMENTS, OR MODIFICATIONS.
* *
* IDENTIFICATION * 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 ; SPAGAIN ;
if (count != 1) if (count != 1)
croak("Big trouble\n") ; elog(ERROR, "unexpected _plperl_to_pg_array failure");
rv = POPs; rv = POPs;