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

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: jwieck(at)debis(dot)com
Cc: lockhart(at)alumni(dot)caltech(dot)edu, sferac(at)bo(dot)nettuno(dot)it, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: [QUESTIONS] impossible insert data into VARCHAR
Date: 1998-02-05 17:18:28
Message-ID: 199802051718.MAA02319@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)debis(dot)com (Jan Wieck) #
>
>
>
>

--
Bruce Momjian
maillist(at)candle(dot)pha(dot)pa(dot)us

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas DBT 1998-02-05 17:23:59 Re: atttypmod of 0
Previous Message sferac 1998-02-05 17:15:55 connection error