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

Re: [INTERFACES] Create a database with ecpg

From: Michael Meskes <meskes(at)postgresql(dot)org>
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 06:12:34
Message-ID: 19990922081234.C1712@fam-meskes.de (view raw or flat)
Thread:
Lists: pgsql-interfaces
On Tue, Sep 21, 1999 at 10:15:33PM -0300, rodneyr(at)embratel(dot)com(dot)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(at)Fam-Meskes(dot)De           | Use PostgreSQL!

In response to

pgsql-interfaces by date

Next:From: Jelle RuttenbergDate: 1999-09-22 07:12:25
Subject: Q: Mac: Openlink->Linux: Openlink-PostgreSQL
Previous:From: Hannu KrosingDate: 1999-09-22 05:52:56
Subject: Re: [INTERFACES] Create a database with ecpg

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