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

Re: Implicit casts to text

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Implicit casts to text
Date: 2007-04-03 16:10:08
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Am Montag, 2. April 2007 18:41 schrieb Tom Lane:
> >> The scheme that was in the back of my mind was to do this at the same
> >> time as providing a general facility for casting *every* type to and
> >> from text, by means of their I/O functions if no specialized cast is
> >> provided in pg_cast.


FWIW, is the attached patch about what you had in mind?  (It probably only 
covers "normal" types at the moment.)

Peter Eisentraut

Attachment: automatic-text-cast.patch
Description: text/x-diff (1.6 KB)

In response to


pgsql-hackers by date

Next:From: Jeff DavisDate: 2007-04-03 16:32:57
Subject: Re: Synchronized Scan benchmark results
Previous:From: Peter EisentrautDate: 2007-04-03 15:54:29
Subject: Re: Implicit casts to text

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