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: (view raw, whole thread or download thread mbox)
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

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 |
comm.Parameters[0].Value = new Int16[2]{0,0};

Once execute, nothing is return. Not even error log.


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-2017 The PostgreSQL Global Development Group