Re: Bug in contrib/intagg int_array_enum() ? - Mailing list pgsql-general

From Greg Stark
Subject Re: Bug in contrib/intagg int_array_enum() ?
Date
Msg-id 87llz0jtnc.fsf@stark.dyndns.tv
Whole thread Raw
In response to Re: Bug in contrib/intagg int_array_enum() ?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Greg Stark <gsstark@mit.edu> writes:
> > I'm seeing some strange behaviour using the int_array_enum function in
> > contrib/intagg.
>
> AFAICT, intagg is completely unready to deal with arrays of other than
> one dimension; nor has it got any error checks to notice when the input
> is not 1-D.  '{}' is treated as zero-dimensional ...

Ah, so then how do I construct a one-dimensional zero-sized array?

--
greg

pgsql-general by date:

Previous
From: Reynard Hilman
Date:
Subject: how to test whether postgres server is running?
Next
From: "Chris Hutchinson"
Date:
Subject: Re: transaction blocking inserts in postgresql 7.3