Re: [HACKERS] parse_coerce question - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: [HACKERS] parse_coerce question
Date
Msg-id 37A9A221.C06759B7@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] parse_coerce question  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> > In any case, you'll need to make sure that you only promote types one
> > direction, so that (for example)
> >   select intcol from table where intcol < 33.5;
> > gets evaluated correctly.
> That is not parse_coerce()'s problem --- it just does what it's told.

Right. I wasn't sure how you were going to implement it. If you are
doing everything the same, but just pre-evaluating the result, we
should be OK.
                      - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] parse_coerce question
Next
From: Thomas Lockhart
Date:
Subject: New man pages