X-Original-To: pgsql-interfaces@postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id A9E88921B91 for ; Tue, 27 May 2003 10:02:23 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 75054-08 for ; Tue, 27 May 2003 10:02:23 -0400 (EDT) Received: from mailrtr03.ntelos.net (mailrtr03.ntelos.net [216.12.0.103]) by developer.postgresql.org (Postfix) with ESMTP id A2781921B1D for ; Tue, 27 May 2003 10:02:22 -0400 (EDT) Received: from wsogmm2.com (chas-107-79.access.ntelos.net [216.12.107.79]) by mailrtr03.ntelos.net (8.11.7/8.11.7) with ESMTP id h4RE1tQ30680; Tue, 27 May 2003 10:01:55 -0400 From: JL Organization: JCI To: Constantin Teodorescu , setyawan_kim Subject: Re: Tcl Error Date: Tue, 27 May 2003 10:01:09 -0400 User-Agent: KMail/1.5.1 Cc: pgsql-interfaces@postgresql.org References: <200305260833.41650.setyawankim@telkom.net> <3ED2EEA3.4050206@flex.ro> In-Reply-To: <3ED2EEA3.4050206@flex.ro> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305271001.09322.JLT@WVInter.Net> X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/78 X-Sequence-Number: 4196 On Tue May 27 2003 00:50, Constantin Teodorescu wrote: > In order to create a new database, you should be connected to an > existing one. > Try connecting to 'template1' database (always exist) and then create a > new database. IMHO this is the nonsence. It is not logical to think in those terms. The pgaccess code should trap the error, as it knows that "you should be connected to an existing one". And then, pgaccess code should do, whatever else needs to be done. -- John Turner http://Members.Ntelos.Net/~JLT JCI Inc. 304 776 3675 "Just because you do not know the answer, does not mean that someone else does" Sephen J. Gould {RIP}