Bogosity in new unknown-type resolution code

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Bogosity in new unknown-type resolution code
Date: 2000-11-09 03:23:34
Message-ID: 3925.973740214@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2000-11-09 04:34:36 Re: Text concat problem
Previous Message Tom Lane 2000-11-09 02:56:00 Re: unreachable block