Re: [HACKERS] Re: [QUESTIONS] impossible insert data into VARCHAR

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: jwieck@debis.com
Cc: lockhart@alumni.caltech.edu, sferac@bo.nettuno.it, hackers@postgreSQL.org
Date: 1998-02-05T17:18:28Z
Lists: pgsql-hackers
I am applying such a fix right now.

> 
>     Could be hacked into varcharin(). If the test on atttypmod is
>     changed from "!= -1" into "> 0" it  works  that  way.   Don't
>     have  the  time  right now to run a regression test, but some
>     typed queries with
> 
>     select into t values ...
> 
>     and
> 
>     select into t select ...
> 
>     worked O.K.
> 
> 
> Until later, Jan
> 
> --
> 
> #======================================================================#
> # It's easier to get forgiveness for being wrong than for being right. #
> # Let's break this rule - forgive me.                                  #
> #======================================== jwieck@debis.com (Jan Wieck) #
> 
> 
> 
> 


-- 
Bruce Momjian
maillist@candle.pha.pa.us