Re: boolean <=> text explicit casts - Mailing list pgsql-patches

From Neil Conway
Subject Re: boolean <=> text explicit casts
Date
Msg-id 1180406531.6648.55.camel@goldbach
Whole thread Raw
In response to Re: boolean <=> text explicit casts  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: boolean <=> text explicit casts  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
On Mon, 2007-28-05 at 15:38 -0400, Tom Lane wrote:
> More generally, I'm really hoping to get rid of bespoke text<->whatever
> cast functions in favor of using datatypes' I/O functions.

I don't object, but I'm curious: is there a benefit to this other than
brevity of implementation? ISTM the spec has the idea that the input to
a type's constructor is often distinct from the type's text => type
casting behavior.

-Neil



pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: CREATE TABLE LIKE INCLUDING INDEXES support
Next
From: Neil Conway
Date:
Subject: Re: Interval input: usec, msec