Received: from u1.abs.net (root@u1.abs.net [207.114.0.131]) by hub.org (8.9.2/8.9.1) with ESMTP id IAA78730 for ; Wed, 17 Feb 1999 08:31:21 -0500 (EST) (envelope-from daveh@insightdist.com) Received: from insightdist.com (nobody@localhost) by u1.abs.net (8.9.0/8.9.0) with UUCP id IAA13701 for pgsql-interfaces@postgreSQL.org; Wed, 17 Feb 1999 08:20:17 -0500 (EST) X-Authentication-Warning: u1.abs.net: nobody set sender to insightdist.com!daveh using -f Received: from ceodev by insightdist.com (AIX 3.2/UCB 5.64/4.03) id AA27512; Wed, 17 Feb 1999 08:04:17 -0500 Received: from daveh by ceodev (AIX 4.1/UCB 5.64/4.03) id AA78158; Wed, 17 Feb 1999 08:04:16 -0500 Message-Id: <36CABE6B.EA878ED2@insightdist.com> Date: Wed, 17 Feb 1999 08:04:43 -0500 From: David Hartwig Organization: Insight Distribution Systems X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en Mime-Version: 1.0 To: dpage@vale-housing.co.uk Cc: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] pgAdmin v6.4.2 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Bingo! Unset the "bool as char" in the Data Type Options of the Driver Advanced Options and you should get the same error I am experiencing. In my case, I simply set the option and it works great. Dave Page wrote: > Hi David, > > I'm having real trouble figuring this one out. I've tried it on 95 & 98 and > on PostgreSQL 6.4 & 6.4.2 and cannot reproduce this error at all. I have > added code to handle if no default value can be found, but this should never > happen because the existing code will only try to get the default value if > the attribute record (pg_attribute.atthasdef) is true. > > I'm not sure if this is because I've misunderstood the way PostgreSQL works > or there's some corruption in your system. > > Any suggestions gratefully received :-) >