Re: [INTERFACES] Create a database with ecpg - Mailing list pgsql-interfaces

From Hannu Krosing
Subject Re: [INTERFACES] Create a database with ecpg
Date
Msg-id 37E86EB8.B610AA35@tm.ee
Whole thread Raw
In response to Create a database with ecpg  (rodneyr@embratel.com.br)
List pgsql-interfaces
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


pgsql-interfaces by date:

Previous
From: rodneyr@embratel.com.br
Date:
Subject: Create a database with ecpg
Next
From: Michael Meskes
Date:
Subject: Re: [INTERFACES] Create a database with ecpg