pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jose' Cruanyes <cruanyes@cegroup.it>
To: pgsql-admin@postgresql.org
To: pgsql-odbc@postgresql.org
To: pgsql-ports@postgresql.org
Subject: invalid input syntax for type tid: "(,)"
Date: Sat, 3 Apr 2004 23:51:40 +0200
Message-ID: <16E80DD4-85B9-11D8-A231-0003935B359C@cegroup.it> (raw)

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




view thread (7+ messages)  latest in thread

Message-ID: <16E80DD4-85B9-11D8-A231-0003935B359C@cegroup.it>
Permalink:  ../16E80DD4-85B9-11D8-A231-0003935B359C@cegroup.it/
Also on:    postgresql.org/message-id/16E80DD4-85B9-11D8-A231-0003935B359C@cegroup.it

 · 

reply

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: cruanyes@cegroup.it, pgsql-odbc@postgresql.org, pgsql-ports@postgresql.org
  Subject: Re: invalid input syntax for type tid: "(,)"
  In-Reply-To: <16E80DD4-85B9-11D8-A231-0003935B359C@cegroup.it>
  References: <16E80DD4-85B9-11D8-A231-0003935B359C@cegroup.it>

* 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