Re: Accessing elements of bytea[] always returns NULL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Sestak, John S" <John(dot)Sestak(at)ManTech(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Accessing elements of bytea[] always returns NULL
Date: 2008-10-01 15:47:16
Message-ID: 23378.1222876036@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Sestak, John S" <John(dot)Sestak(at)ManTech(dot)com> writes:
> I'm trying to pass in a bytea array (i.e. bytea[]) into my stored
> procedure but when I try to access the elements in the array using an
> array index it always returns NULL.

Works fine from SQL, so I suppose there's something wrong with your
JDBC code. You'd likely have better luck asking on pgsql-jdbc.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tony Wasson 2008-10-01 16:33:16 Re: Can COPY update or skip existing records?
Previous Message Sestak, John S 2008-10-01 15:06:21 Accessing elements of bytea[] always returns NULL