Re: Proposal for resolving casting issues - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: Proposal for resolving casting issues
Date
Msg-id GNELIHDDFBOCMGBFGEFOAEDOCEAA.chriskl@familyhealth.com.au
Whole thread Raw
In response to Proposal for resolving casting issues  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Proposal for resolving casting issues  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> > abstime <-> int4:  I think these should not be implicit because they
> > represent different "kinds" of data.  (These are binary
> compatible casts,
> > so changing them to not implicit probably won't have any
> effect.  I'd have
> > to check this.)
>
> I believe that as of current sources we can mark a binary cast
> non-implicit,
> and I agree with marking these two explicit-only.

Everything in this proposal looks pretty good.  With regards to the above
abstime<->int4 thing - what about the 'magic' values in that conversion.
(eg. -infinity, etc.)

Chris



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re:
Next
From: Bruce Momjian
Date:
Subject: Re: PGXLOG variable worthwhile?