Re: [HACKERS] Re: [QUESTIONS] impossible insert data into VARCHAR - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Re: [QUESTIONS] impossible insert data into VARCHAR
Date
Msg-id 199802051718.MAA02319@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Re: [QUESTIONS] impossible insert data into VARCHAR  (jwieck@debis.com (Jan Wieck))
List 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

pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] Preprocessor
Next
From: Zeugswetter Andreas DBT
Date:
Subject: Re: atttypmod of 0