Received: from kodu.home.ee (isdn-54.uninet.ee [194.204.0.118]) by hub.org (8.9.3/8.9.3) with ESMTP id BAA86680 for ; Wed, 22 Sep 1999 01:46:34 -0400 (EDT) (envelope-from hannu@tm.ee) Received: from tm.ee (hannu@localhost [127.0.0.1]) by kodu.home.ee (8.8.7/8.8.7) with ESMTP id IAA00527; Wed, 22 Sep 1999 08:52:56 +0300 Sender: hannu@kodu.home.ee Message-ID: <37E86EB8.B610AA35@tm.ee> Date: Wed, 22 Sep 1999 08:52:56 +0300 From: Hannu Krosing Organization: Trust-O-Matic =?iso-8859-1?Q?O=DC?= X-Mailer: Mozilla 4.5 [en] (X11; U; Linux 2.2.6 i686) X-Accept-Language: en MIME-Version: 1.0 To: rodneyr@embratel.com.br CC: pgsql-interfaces@hub.org Subject: Re: [INTERFACES] Create a database with ecpg References: <032567F4.0006E7A5.00@ntrjo008.nt.embratel.com.br> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit rodneyr@embratel.com.br wrote: > > I include the following statement in my program to create a database: > > "EXEC SQL CREATE DATABASE testbase;" > > Then I compiled it, using ecpg, but the database was't been created. Did you connect (to template1 or any other existing DB) first ? ----------- Hannu