Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] Create a database with ecpg

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: rodneyr(at)embratel(dot)com(dot)br
Cc: pgsql-interfaces(at)hub(dot)org
Subject: Re: [INTERFACES] Create a database with ecpg
Date: 1999-09-22 05:52:56
Message-ID: 37E86EB8.B610AA35@tm.ee (view raw or flat)
Thread:
Lists: pgsql-interfaces
rodneyr(at)embratel(dot)com(dot)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

In response to

pgsql-interfaces by date

Next:From: Michael MeskesDate: 1999-09-22 06:12:34
Subject: Re: [INTERFACES] Create a database with ecpg
Previous:From: rodneyrDate: 1999-09-22 01:15:33
Subject: Create a database with ecpg

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group