Received: from tanja.fam-meskes.de (p3E9D3E6B.dip0.t-ipconnect.de [62.157.62.107]) by hub.org (8.9.3/8.9.3) with ESMTP id CAA91000 for ; Wed, 22 Sep 1999 02:19:45 -0400 (EDT) (envelope-from michael@fam-meskes.de) Received: (from michael@localhost) by tanja.fam-meskes.de (8.9.3/8.9.3/Debian/GNU) id IAA01749; Wed, 22 Sep 1999 08:12:34 +0200 Date: Wed, 22 Sep 1999 08:12:34 +0200 From: Michael Meskes To: rodneyr@embratel.com.br Cc: pgsql-interfaces@hub.org Subject: Re: [INTERFACES] Create a database with ecpg Message-ID: <19990922081234.C1712@fam-meskes.de> Mail-Followup-To: rodneyr@embratel.com.br, pgsql-interfaces@hub.org References: <032567F4.0006E7A5.00@ntrjo008.nt.embratel.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0pre2i In-Reply-To: <032567F4.0006E7A5.00@ntrjo008.nt.embratel.com.br> On Tue, Sep 21, 1999 at 10:15:33PM -0300, rodneyr@embratel.com.br wrote: > "EXEC SQL CREATE DATABASE testbase;" > > Then I compiled it, using ecpg, but the database was't been created. > > When a try to open it with "psql" I receive the message: > > Connection to database 'testbase' failed. > FATAL 1: Database testbase does not exist in pg_database To be honest, I never tried that. I will as soon as I find the time. Michael -- Michael Meskes | Go SF 49ers! Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire! Tel.: (+49) 2431/72651 | Use Debian GNU/Linux! Email: Michael@Fam-Meskes.De | Use PostgreSQL!