From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Mike Mascari <mascarm(at)mascari(dot)com> |
Cc: | Daniel Gehrke <dgehrke(at)neusta(dot)de>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Insert NULL for '' |
Date: | 2003-06-13 14:34:00 |
Message-ID: | 633.1055514840@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Mike Mascari <mascarm(at)mascari(dot)com> writes:
> What would be really neat is the ability of CREATE CAST to override
> the default implementation and at the same time let the override call
> the "base" implementation, if necessary.
That would not help Daniel, because there is no cast here. You've got
an untyped string literal which is going to be directly interpreted as
a constant of the destination column's datatype.
There are any number of easy ways to fix this if we were allowed to
change the SQL being spit out by the application ... but that's exactly
what he doesn't feel he can do.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Lincoln Yeoh | 2003-06-13 14:52:19 | Re: Postgres performance comments from a MySQL user |
Previous Message | sector119 | 2003-06-13 14:33:19 | tsearch - v2 new dict |