Re: Implicit casts to text - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Implicit casts to text
Date
Msg-id 200704031810.09077.peter_e@gmx.net
Whole thread Raw
In response to Re: Implicit casts to text  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Implicit casts to text  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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.

> http://archives.postgresql.org/pgsql-admin/2004-06/msg00390.php
> http://archives.postgresql.org/pgsql-hackers/2004-10/msg00303.php

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

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-hackers by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: Bug in UTF8-Validation Code?
Next
From: Jeff Davis
Date:
Subject: Re: Synchronized Scan benchmark results