Skip to content

Commit 6f64cf5

Browse files
committed
Get rid of inappropriate use of croak(). Per report from Michael Fuhr.
1 parent 95f202c commit 6f64cf5

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/24 18:16:56 tgl Exp $
36+
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.92 2005/08/24 19: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)
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