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

Re: proposal: early casting in plpgsql

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: early casting in plpgsql
Date: 2009-05-28 19:16:06
Message-ID: 162867790905281216x76978ed9h8e7791404e9b0d26@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
2009/5/28 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
> Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
>> for typmod others then -1 we should to use IO cast - but we should to
>> check, if it's one from known casts.
>
> I still think it's fundamentally wrong to be treating typmod -1 so
> differently from other typmods.  If this behavior is sane at all then
> it should work in both cases.
>

ok, I am sorry, you have a true. It should to add implicit cast (only
when it's necessary)

regards
Pavel Stehule

>                        regards, tom lane
>

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2009-05-28 19:16:21
Subject: Re: search_path vs extensions
Previous:From: Greg SmithDate: 2009-05-28 19:12:43
Subject: Re: PostgreSQL Developer meeting minutes up

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