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

BUG #5502: Preparing an array return Bug

From: "xMoMx" <waritach(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5502: Preparing an array return Bug
Date: 2010-06-13 09:05:33
Message-ID: 201006130905.o5D95Xrp065151@wwwmaster.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
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.

Responses

pgsql-bugs by date

Next:From: Maksym BogukDate: 2010-06-13 09:51:01
Subject: BUG #5503: error in trigger function with dropped columns
Previous:From: Kris JurkaDate: 2010-06-12 23:40:56
Subject: Re: BUG #5501: PostgreSQL JDBC Driver has inappropriate import

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