X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1C666329D9E for ; Mon, 27 Sep 2004 07:39:53 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 29353-10 for ; Mon, 27 Sep 2004 06:39:48 +0000 (GMT) Received: from server.gpdnet.co.uk (gpdnet.plus.com [212.56.100.243]) by svr1.postgresql.org (Postfix) with ESMTP id 387D6329D9D for ; Mon, 27 Sep 2004 07:39:49 +0100 (BST) Received: from gary (unknown [192.168.1.2]) by server.gpdnet.co.uk (Postfix) with ESMTP id 3AA6DFB88E for ; Mon, 27 Sep 2004 07:40:20 +0100 (BST) From: "Gary Doades" To: pgsql-odbc@postgresql.org Date: Mon, 27 Sep 2004 07:37:54 +0100 MIME-Version: 1.0 Subject: Re: odbc with PostgreSQL 8.0 & Delphi Message-ID: <4157C352.732.3B8D014F@localhost> In-reply-to: <415435C0.5010208@globeecom.com> X-mailer: Pegasus Mail for Windows (v4.12a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/64 X-Sequence-Number: 4439 On 24 Sep 2004 at 10:57, Melanie Bergeron wrote: > Hi all > > I recently migrated to PostgreSQL 8.0 but I have now a problem acessing > database through Delphi with psql-odbc. When I try to access any string > value, I always get an error (EDatabaseError). My settings for the > DataSource are the following : > > -------------------------------------- > Disable Genetic Optimizer: on > KSQO : on > Recognize unique index : on > Text as LongVarChar : on > Unknown as LongVarChar : on > Bool as Char : on > Max VarChar: 254 > Cache Size : 100 > Max LongVarChar : 8190 > SysTables Prefixes : dd_ > LF <-> CRLF conversion : on > Updatable cursors: on > Int8 as : default > Protocol : 7.X, 6.4+ > Anything else : off > -------------------------------------- > Looks like the default stuff. What version of the ODBC driver do you have? Have you tried an ODBC trace? This would most likely tell you of the driver had get any errors from the back-end and what ODBC function call was involved in the error. Failing that you could try the drivers own "mylog" trace output to see if that helps. Cheers, Gary.