Re: [ODBC] invalid input syntax for type tid: "(,)" - Mailing list pgsql-admin

From Tom Lane
Subject Re: [ODBC] invalid input syntax for type tid: "(,)"
Date
Msg-id 20827.1081055086@sss.pgh.pa.us
Whole thread Raw
In response to invalid input syntax for type tid: "(,)"  (Jose' Cruanyes <cruanyes@cegroup.it>)
List pgsql-admin
"Jose' Cruanyes" <cruanyes@cegroup.it> writes:
> select * from table1 where ctid = '(,)';
> [ works on some machines and not others ]

I would argue that the ODBC driver is broken and needs to be fixed,
as does the TID input parser which should never allow this ...

However, the reason for the platform dependency is probably that
strtoul() is setting errno on some machines and not others.

            regards, tom lane

pgsql-admin by date:

Previous
From: Jose' Cruanyes
Date:
Subject: invalid input syntax for type tid: "(,)"
Next
From: JM
Date:
Subject: Glibc upgrade for postgres