pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gary Doades <gpd@gpdnet.co.uk>
To: pgsql-odbc@postgresql.org
Subject: Re: odbc with PostgreSQL 8.0 & Delphi
Date: Mon, 27 Sep 2004 07:37:54 +0100
Message-ID: <4157C352.732.3B8D014F@localhost> (raw)
In-Reply-To: <415435C0.5010208@globeecom.com>

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.




view thread (5+ messages)  latest in thread

Message-ID: <4157C352.732.3B8D014F@localhost>
Permalink:  ../4157C352.732.3B8D014F@localhost/
Also on:    postgresql.org/message-id/4157C352.732.3B8D014F@localhost

 · 

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-odbc@postgresql.org
  Cc: gpd@gpdnet.co.uk
  Subject: Re: odbc with PostgreSQL 8.0 & Delphi
  In-Reply-To: <4157C352.732.3B8D014F@localhost>
  References: <415435C0.5010208@globeecom.com> <4157C352.732.3B8D014F@localhost>

* 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