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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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