Thread

  1. incorret definition of array_in

    Massimo Dal Zotto <dz@cs.unitn.it> — 1999-03-24T17:29:35Z

    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@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  |
    +----------------------------------------------------------------------+