From: rodneyr@embratel.com.br
To: pgsql-interfaces@hub.org
Subject: Re: [INTERFACES] Create a database with ecpg
Date: Wed, 22 Sep 1999 08:55:01 -0300
Message-ID: <032567F4.00417185.00@ntrjo008.nt.embratel.com.br> (raw)
When I create the database using "createdb", everything works well. But when I
try to create it inside my program C, nothing works and I don't receive any
error messages.
It's a simple program, that I made just to learn embbed SQL in C. It creates a
database, or try, called "testbase". Then I create a table and put 3 values
inside it (1, 2 and 3).
I pre-compiled it using ecpg and then compiled using gcc.
P.S.: I'm able to connect to any other database with psql.
Thank you.
Rodney
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: rodneyr@embratel.com.br, pgsql-interfaces@hub.org
Subject: Re: [INTERFACES] Create a database with ecpg
In-Reply-To: <032567F4.00417185.00@ntrjo008.nt.embratel.com.br>
* 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