invalid input syntax for type tid: "(,)"

From: Jose' Cruanyes <cruanyes(at)cegroup(dot)it>
To: pgsql-admin(at)postgresql(dot)org, pgsql-odbc(at)postgresql(dot)org, pgsql-ports(at)postgresql(dot)org
Subject: invalid input syntax for type tid: "(,)"
Date: 2004-04-03 21:51:40
Message-ID: 16E80DD4-85B9-11D8-A231-0003935B359C@cegroup.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-odbc pgsql-ports

at a point the postgresql ODBC driver issues a command like this (not
questioning here how useful or correct it could be)

select * from table1 where ctid = '(,)';

this command works (?) returning zero rows without error, even from
psql,
when the db is hosted in the following systems:

- debian i386 using the stable postgresql7.2.1-2 package
- debian ppc using the stable postgresql7.2.1-2 package
- debian i386 using the testing postgresql7.4.2-2 package
- MacOSX 10.2 using the 7.3.4 compiled from source

but when hosted in a MacOSX 10.3 (Panther) using postgres 7.4.x, or
7.3.x
compiled from source we get:

(in 7.4) ERROR: invalid input syntax for type tid: "(,)"
or
(in 7.3) ERROR: tidin: invalid value

I've tried on three different machines and a miriad of different
configure parameters and always get the same error...

probably is an incompatible version of some external lib?, which one?
who is responsible of the parsing of the command?

Pax et Bonum

# dott. Jose' Cruanyes Aguilar - C.E. Soft srl
# Pzza. Firenze,4 MILANO - XX Settembre 10, CREMONA
# 02,33603122 0372,460602

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2004-04-04 05:04:46 Re: [ODBC] invalid input syntax for type tid: "(,)"
Previous Message Jose' Cruanyes 2004-04-03 17:57:56 invalid input syntax for type tid: "(,)"

Browse pgsql-odbc by date

  From Date Subject
Next Message Tom Lane 2004-04-04 05:04:46 Re: [ODBC] invalid input syntax for type tid: "(,)"
Previous Message Jose' Cruanyes 2004-04-03 17:57:56 invalid input syntax for type tid: "(,)"

Browse pgsql-ports by date

  From Date Subject
Next Message Tom Lane 2004-04-04 05:04:46 Re: [ODBC] invalid input syntax for type tid: "(,)"
Previous Message Jose' Cruanyes 2004-04-03 17:57:56 invalid input syntax for type tid: "(,)"