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

Re: BUG #3428: plperl spi_exec_prepared char length always unity

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Matt Taylor" <matt(at)lindenelevator(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3428: plperl spi_exec_prepared char length always unity
Date: 2007-07-05 04:13:46
Message-ID: 3523.1183608826@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"Matt Taylor" <matt(at)lindenelevator(dot)com> writes:
> The spi_prepare and spi_exec_prepared doesn't seem to properly handle fixed
> character types.  Only the first character of a string is passed to the
> database.  

IIRC, "char" means "char(1)" by default, so I'm unconvinced that this
behavior is a bug.

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Len ZaifmanDate: 2007-07-05 17:16:18
Subject: spinlock support for Sun Studio 12 compiler on linux
Previous:From: Matt TaylorDate: 2007-07-04 23:29:16
Subject: BUG #3428: plperl spi_exec_prepared char length always unity

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