Received: from u1.abs.net (root@u1.abs.net [207.114.0.131]) by hub.org (8.8.8/8.7.5) with ESMTP id LAA09281 for ; Wed, 13 May 1998 11:31:25 -0400 (EDT) Received: from insightdist.com (nobody@localhost) by u1.abs.net (8.8.5/8.8.5(+AntiRelay)) with UUCP id LAA25322 for pgsql-interfaces@postgreSQL.org; Wed, 13 May 1998 11:15:23 -0400 (EDT) X-Authentication-Warning: u1.abs.net: nobody set sender to insightdist.com!byronn using -f Received: from ceodev by insightdist.com (AIX 3.2/UCB 5.64/4.03) id AA31088; Wed, 13 May 1998 11:05:30 -0400 Received: from [3.0.0.50] by ceodev (AIX 4.1/UCB 5.64/4.03) id AA73138; Wed, 13 May 1998 11:05:29 -0400 Message-Id: <3559B791.7C926DDE@insightdist.com> Date: Wed, 13 May 1998 11:09:05 -0400 From: Byron Nikolaidis X-Mailer: Mozilla 4.05 [en] (Win95; I) Mime-Version: 1.0 To: "Jose' Soares Da Silva" Cc: "pgsql-interfaces@postgreSQL.org" Subject: Re: ANOTHER NEW ODBC DRIVER References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit This is the backend "canonifier" problem that was previously discussed on the interfaces list under "New Driver and Unique Indexes". I'll forward it to you. Byron Jose' Soares Da Silva wrote: > On Fri, 8 May 1998, Byron Nikolaidis wrote: > > > Version .0238 is now at our website. > > > Hello Byron, > I have a 'palloc failure: memory exahusted' message using PSQLODBC > with M$-Access97 as following: > --------------------------------------------------------------------------- > conn=69337208, SQLDriverConnect( in)='DSN=PostgreSQL;DATABASE=java;SERVER=verde;PORT=5432;READONLY=0;PROTOCOL=;CONNSETTINGS=;' > DSN info(DSN='PostgreSQL',server='verde',dbase='java',user='postgres',passwd='',port='5432',readonly='0',protocol='', conn_settings='') > conn=69337208, SQLDriverConnect(out)='DSN=PostgreSQL;DATABASE=java;SERVER=verde;PORT=5432;UID=postgres;READONLY=0;PWD=;PROTOCOL=;CONNSETTINGS=' > conn=69337208, query=' ' > conn=69337208, query='BEGIN' > conn=69337208, query='set DateStyle to 'ISO'; set geqo to 'OFF'' > Command response: 'SET VARIABLE' > conn=69337208, query='declare C69350472 cursor for select oid from pg_type where typname='lo'' > conn=69337208, query='fetch 100 in C69350472' > [ fetched 0 rows ] > conn=69337208, query='close C69350472' > conn=69337208, query='END' > conn=69337208, query='BEGIN' > conn=69337208, query='declare C69350472 cursor for SELECT Config, nValue FROM MSysConf' > ERROR from backend during send_query: 'ERROR: msysconf: Table does not exist.' > conn=69337208, query='ABORT' > conn=69337208, query='BEGIN' > conn=69337208, query='declare C69350472 cursor for SELECT figure.azienda,figure.tipo,figure.gruppo,figure.inizio_attivita FROM figure ' > conn=69337208, query='fetch 100 in C69350472' > [ fetched 3 rows ] > conn=69337208, query='close C69350472' > conn=69337208, query='END' > conn=69337208, query='BEGIN' > conn=69337208, query='declare C69350472 cursor for SELECT azienda,tipo,gruppo,inizio_attivita,fine_attivita,codice_figura FROM figure WHERE azienda = '001BO001 ' AND tipo = '1' AND gruppo = '1 ' AND inizio_attivita = '1998-01-12'' > conn=69337208, query='fetch 100 in C69350472' > [ fetched 1 rows ] > conn=69337208, query='close C69350472' > conn=69337208, query='END' > conn=69337208, query='BEGIN' > conn=69337208, query='declare C69422552 cursor for SELECT azienda,tipo,gruppo,inizio_attivita,fine_attivita,codice_figura FROM figure WHERE azienda = '00212 ' AND tipo = '1' AND gruppo = '1 ' AND inizio_attivita = '1997-01-01' OR azienda = '1233 > ' AND tipo = '1' AND gruppo = '11' AND inizio_attivita = '1998-02-12' OR azienda = '1233 ' AND tipo = '1' AND gruppo = '11' AND inizio_attivita = '1998-02-12' OR azienda = '1233 ' AND tipo = '1' AND gruppo = '11' AND inizio_attivita = '199 > 8-02-12' OR azienda = '1233 ' AND tipo = '1' AND gruppo = '11' AND inizio_attivita = '1998-02-12' OR azienda = '1233 ' AND tipo = '1' AND gruppo = '11' AND inizio_attivita = '1998-02-12' OR azienda = '1233 ' AND tipo = '1' AND gruppo = ' > 11' AND inizio_attivita = '1998-02-12' OR azienda = '1233 ' AND tipo = '1' AND gruppo = '11' AND inizio_attivita = '1998-02-12' OR azienda = '1233 ' AND tipo = '1' AND gruppo = '11' AND inizio_attivita = '1998-02-12' OR azienda = '1233 ' > AND tipo = '1' AND gruppo = '11' AND inizio_attivita = '1998-02-12'' > ERROR from backend during send_query: 'FATAL 1: palloc failure: memory exhausted' > --------------------------------------------------------------------------- > I linked the below table on Access97, It's primary key is: > composed by (azienda,tipo,inizio_attivita)... > > CREATE TABLE figure ( > azienda CHAR(11) NOT NULL, > tipo CHAR, > gruppo CHAR(02), > inizio_attivita DATE, > fine_attivita DATE, > codice_figura CHAR(11) NOT NULL, > PRIMARY KEY (azienda,tipo,inizio_attivita) > ); > > java=> select * from figure; > azienda |tipo|gruppo|inizio_attivita|fine_attivita|codice_figura > -----------+----+------+---------------+-------------+------------- > 001BO001 | 1| 1 | 1998-01-12| | 01 > 00212 | 1| 1 | 1997-01-01| | 12 > 1233 | 1| 11| 1998-02-12| | 23 > (3 rows) > > When I try to read next record (by clik on right arrow), > I have the above message. > Thanks for help, Jose'