field. cf. Tom Lane's <19021.
950544016@sss.pgh.pa.us> 14 Feb hackers
message.
Cheers,
Patrick Welche
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.33 2000/02/21 03:36:48 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.34 2000/03/07 23:58:38 momjian Exp $
*
*-------------------------------------------------------------------------
*/
int len;
char *str;
+ if (!string)
+ return 0;
+
len = (VARSIZE(string) - VARHDRSZ);
str = palloc(len + 1);
int len;
char *str;
+ if (!string)
+ return 0;
+
len = (VARSIZE(string) - VARHDRSZ);
str = palloc(len + 1);