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

Create a database with ecpg

From: rodneyr(at)embratel(dot)com(dot)br
To: pgsql-interfaces(at)hub(dot)org
Subject: Create a database with ecpg
Date: 1999-09-22 01:15:33
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
I include the following statement in my program to create a database:


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

Is there any mistake in my statement?

P.S.: I compiled the program without receiving any mistake message.

Thank you.



pgsql-interfaces by date

Next:From: Hannu KrosingDate: 1999-09-22 05:52:56
Subject: Re: [INTERFACES] Create a database with ecpg
Previous:From: Bill GeddesDate: 1999-09-21 23:11:59
Subject: Re: Installing PostgreSQL

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