Re: BUG #3428: plperl spi_exec_prepared char length always unity - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #3428: plperl spi_exec_prepared char length always unity
Date
Msg-id 3523.1183608826@sss.pgh.pa.us
Whole thread Raw
In response to BUG #3428: plperl spi_exec_prepared char length always unity  ("Matt Taylor" <matt@lindenelevator.com>)
Responses Re: BUG #3428: plperl spi_exec_prepared char length always unity  (Matt Taylor <matt@lindenelevator.com>)
List pgsql-bugs
"Matt Taylor" <matt@lindenelevator.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

pgsql-bugs by date:

Previous
From: "Matt Taylor"
Date:
Subject: BUG #3428: plperl spi_exec_prepared char length always unity
Next
From: Matt Taylor
Date:
Subject: Re: BUG #3428: plperl spi_exec_prepared char length always unity