Received: from hawaii.phillips.com (gate.phillips.com [205.177.58.10]) by hub.org (8.9.3/8.9.3) with SMTP id SAA14942 for ; Thu, 24 Jun 1999 18:21:45 -0400 (EDT) (envelope-from pmoors@phillips.com) Received: from crete.corp.phillips.com by hawaii.phillips.com via smtpd (for postgresql.org [209.167.229.14]) with SMTP; 24 Jun 1999 22:21:43 UT Received: from phillips.com (IDENT:root@eire [172.17.17.250]) by crete.corp.phillips.com (8.9.3/8.9.3) with ESMTP id SAA07151 for ; Thu, 24 Jun 1999 18:21:08 -0400 (EDT) Sender: pmoors@phillips.com Message-ID: <3772AEFB.78E1469F@phillips.com> Date: Thu, 24 Jun 1999 18:19:39 -0400 From: Phil Moors Organization: Phillips Publishing X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-22 i586) X-Accept-Language: en MIME-Version: 1.0 To: PostgreSQL Interfaces Subject: No such connection NULL from ECPG Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit My program compiles without errors. When the binary is run, I get: No such connection NULL from line 384. Line 384 is: while(!sqlca.sqlcode) { blah blah blah } My connect line is 374: EXEC SQL CONNECT 'macs'; Ecpg expands this to: { ECPGconnect(__LINE__, NULL,"macs",NULL,NULL, 0);} I found a post in the 'general' mailing list from 1998 that suggests that the expansion should be: { ECPGconnect(__LINE__, "macs",NULL,NULL,NULL, 0);} Am I barking up the wrong tree? I recompiled and installed ecpg as root just to make sure I was not missing anything and still get the same expansion. TIA Phil -- pmoors@phillips.com | Speaking for himself only. -------------------------------------------------------- What if there were no hypothetical situations? --Andrew Kohlsmith