Skip site navigation (1) Skip section navigation (2)

Re: BUG #5502: Preparing an array return Bug

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: xMoMx <waritach(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5502: Preparing an array return Bug
Date: 2010-06-17 13:23:39
Message-ID: AANLkTinexnxxN_jYd9DHuPi7uprYiucbzg2fRy2y1UKy@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-bugs
On Sun, Jun 13, 2010 at 5:05 AM, xMoMx <waritach(at)gmail(dot)com> wrote:
>
> The following bug has been logged online:
>
> Bug reference:      5502
> Logged by:          xMoMx
> Email address:      waritach(at)gmail(dot)com
> PostgreSQL version: 8.3
> Operating system:   Window
> Description:        Preparing an array return Bug
> Details:
>
> Spending the whole day trying to figure this out myself and finally I gave
> up. My postGre simply refuse to prepare an array for insert and update. It
> work fine when not preparing though. (But heck we all know we want to
> prepare everything right?)
>
> Here's the code:
> comm.Parameters.Add(new NpgsqlParameter("myArray", NpgsqlDbType.Array |
> NpgsqlDbType.Smallint));
> comm.Parameters[0].Value = new Int16[2]{0,0};
>
> Once execute, nothing is return. Not even error log.

Hmm.  This looks like it might be an npgsql problem.  I confess I
don't know the first thing about npgsql.  I think this might be their
mailing list though - maybe you want to try there?

http://pgfoundry.org/mailman/listinfo/npgsql-devel

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

In response to

pgsql-bugs by date

Next:From: KOIZUMI SatoruDate: 2010-06-17 15:53:06
Subject: BUG #5508: wrong type of argument
Previous:From: Chris CopelandDate: 2010-06-15 16:43:16
Subject: Re: BUG #5452: Server core dumps coming out of recovery mode

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group