Re: [BUGS] Long strings, short varchars

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [BUGS] Long strings, short varchars
Date: 2002-08-20 18:03:28
Message-ID: Pine.LNX.4.44.0208200022220.838-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Tom Lane writes:

> In any case we need to distinguish implicit coercion for a store from
> explicit coercion. Do your recent pg_cast changes make that any easier?

Possibly we could allow for registering both implicit and explicit cast
functions for the same combination. Or we could make cast functions take
an optional second argument that tells whether the cast is implicit or
explicit. We probably also need to take into account the typemod coercion
functions that are currently handled in a semi-internal way. (Any
formalization of those should probably consider the possibility of
allowing typemods on arbitrary types.) Not sure which way to go.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message fredrik chabot 2002-08-20 19:05:17 inconsistend performance
Previous Message Ian Grant 2002-08-20 16:13:31 Re: initdb fails on ia64 SMP system

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-08-20 18:08:00 Proposal: make "opaque" obsolete
Previous Message Peter Eisentraut 2002-08-20 18:03:18 Large file support available