incorret definition of array_in - Mailing list pgsql-hackers

From Massimo Dal Zotto
Subject incorret definition of array_in
Date
Msg-id 199903241729.SAA01367@nikita.wizard.net
Whole thread Raw
List pgsql-hackers
Hi,

array_in is defined in the system catalog as taking two arguments while it
actually takes three. Please apply the following patch.

*** src/include/catalog/pg_proc.h.orig    Mon Dec 14 01:14:53 1998
--- src/include/catalog/pg_proc.h    Wed Mar 24 12:11:22 1999
***************
*** 984,990 **** DESCR("array"); DATA(insert OID = 749 (  array_ref           PGUID 11 f t f 7 f 23 "0 23 0 23 23 23 0"
1000 0 100 foo bar)); DESCR("array");
 
! DATA(insert OID = 750 (  array_in           PGUID 11 f t f 2 f 23 "0 0" 100 0 0 100    foo bar )); DESCR("array");
DATA(insertOID = 751 (  array_out           PGUID 11 f t f 2 f 23 "0 0" 100 0 0 100    foo bar )); DESCR("array");
 
--- 992,998 ---- DESCR("array"); DATA(insert OID = 749 (  array_ref           PGUID 11 f t f 7 f 23 "0 23 0 23 23 23 0"
1000 0 100 foo bar)); DESCR("array");
 
! DATA(insert OID = 750 (  array_in           PGUID 11 f t f 3 f 23 "0 0 23" 100 0 0 100    foo bar )); DESCR("array");
DATA(insertOID = 751 (  array_out           PGUID 11 f t f 2 f 23 "0 0" 100 0 0 100    foo bar )); DESCR("array");
 


-- 
Massimo Dal Zotto

+----------------------------------------------------------------------+
|  Massimo Dal Zotto               email: dz@cs.unitn.it               |
|  Via Marconi, 141                phone: ++39-0461534251              |
|  38057 Pergine Valsugana (TN)      www: http://www.cs.unitn.it/~dz/  |
|  Italy                             pgp: finger dz@tango.cs.unitn.it  |
+----------------------------------------------------------------------+


pgsql-hackers by date:

Previous
From: Massimo Dal Zotto
Date:
Subject: static oid
Next
From: Erik Riedel
Date:
Subject: Re: [HACKERS] aggregation memory leak and fix