From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jose' Cruanyes <cruanyes@cegroup.it>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-odbc@postgresql.org
Cc: pgsql-ports@postgresql.org
Subject: Re: [ODBC] invalid input syntax for type tid: "(,)"
Date: Sun, 04 Apr 2004 00:04:46 -0500
Message-ID: <20827.1081055086@sss.pgh.pa.us> (raw)
In-Reply-To: <16E80DD4-85B9-11D8-A231-0003935B359C@cegroup.it>
References: <16E80DD4-85B9-11D8-A231-0003935B359C@cegroup.it>
"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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, cruanyes@cegroup.it, pgsql-odbc@postgresql.org, pgsql-ports@postgresql.org
Subject: Re: [ODBC] invalid input syntax for type tid: "(,)"
In-Reply-To: <20827.1081055086@sss.pgh.pa.us>
References: <16E80DD4-85B9-11D8-A231-0003935B359C@cegroup.it> <20827.1081055086@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox