Thanks to visit codestin.com
Credit goes to postgrespro.com

Bogosity in new unknown-type resolution code - Mailing list pgsql-hackers

From Tom Lane
Subject Bogosity in new unknown-type resolution code
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-hackers
With current sources I get:

regression=# select 'foo' < 'bar';
ERROR:  pg_atoi: error in "foo": can't parse "foo"

I was expecting the system to resolve this as a text comparison,
but it seems to have chosen int4 instead.  This is, um, surprising
behavior.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: unreachable block
Next
From: Rod Taylor
Date:
Subject: Re: Text concat problem