pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hannu Krosing <hannu@tm.ee>
To: rodneyr@embratel.com.br
Cc: pgsql-interfaces@hub.org
Subject: Re: [INTERFACES] Create a database with ecpg
Date: Wed, 22 Sep 1999 08:52:56 +0300
Message-ID: <37E86EB8.B610AA35@tm.ee> (raw)
References: <032567F4.0006E7A5.00@ntrjo008.nt.embratel.com.br>

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



view thread (6+ messages)  latest in thread

Message-ID: <37E86EB8.B610AA35@tm.ee>
Permalink:  ../37E86EB8.B610AA35@tm.ee/
Also on:    postgresql.org/message-id/37E86EB8.B610AA35@tm.ee

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: hannu@tm.ee, rodneyr@embratel.com.br, pgsql-interfaces@hub.org
  Subject: Re: [INTERFACES] Create a database with ecpg
  In-Reply-To: <37E86EB8.B610AA35@tm.ee>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox