incorret definition of array_in

From: Massimo Dal Zotto <dz(at)cs(dot)unitn(dot)it>
To: hackers(at)postgreSQL(dot)org (PostgreSQL Hackers)
Subject: incorret definition of array_in
Date: 1999-03-24 17:29:35
Message-ID: 199903241729.SAA01367@nikita.wizard.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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" 100 0 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(insert OID = 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" 100 0 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(insert OID = 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(at)cs(dot)unitn(dot)it |
| Via Marconi, 141 phone: ++39-0461534251 |
| 38057 Pergine Valsugana (TN) www: http://www.cs.unitn.it/~dz/ |
| Italy pgp: finger dz(at)tango(dot)cs(dot)unitn(dot)it |
+----------------------------------------------------------------------+

Browse pgsql-hackers by date

  From Date Subject
Next Message Erik Riedel 1999-03-24 18:05:58 Re: [HACKERS] aggregation memory leak and fix
Previous Message Massimo Dal Zotto 1999-03-24 17:21:43 static oid