Received: from mail1.hub.org (webmail.hub.org [216.126.85.1]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f24DhSx41668 for ; Sun, 4 Mar 2001 08:43:28 -0500 (EST) (envelope-from matthias@mteege.de) Received: from moon.mteege.de (ppps-nb03.MVnet.de [194.25.108.153]) by mail1.hub.org (8.11.1/8.11.1) with ESMTP id f24DhQd41664 for ; Sun, 4 Mar 2001 08:43:26 -0500 (EST) (envelope-from matthias@mteege.de) Received: (from matthias@localhost) by moon.mteege.de (8.8.8/8.8.8) id OAA01945; Sun, 4 Mar 2001 14:34:57 +0100 (MET) (envelope-from matthias@mteege.de) Date: Sun, 4 Mar 2001 14:34:57 +0100 (MET) Message-Id: <200103041334.OAA01945@moon.mteege.de> X-Authentication-Warning: moon.mteege.de: matthias set sender to matthias@mteege.de using -f From: Matthias Teege To: pgsql-interfaces@postgresql.org Subject: pg_connect dumps core X-Archive-Number: 200103/35 X-Sequence-Number: 1196 Moin, I have problems with tclsh8.3, libpgtcl.so and pg_connect. What is wrong with this simple code: load libpgtcl.so pg_connect db This gives me an Segmentation Fault and dumps core under FreeBSD 4.2. Are there known problems? Pgaccess works without any problems and communicates perfect with the db. Ich I call pg_connect with a wrong db name the function gives me an error message. I use PostgreSQL 7.0.3. Here the tclsh session: tclsh8.3 % load libpgtcl.so % pg_connect m3 Connection to database failed FATAL 1: Database "m3" does not exist in the system catalog. % pg_connect m2 Segmentation fault (core dumped) in postgresql errlog there are: FATAL 1: Database "m3" does not exist in the system catalog. pq_recvbuf: unexpected EOF on client connection Many thanks Matthias