Received: from gatekeeper1.embratel.com.br ([200.255.122.6]) by hub.org (8.9.3/8.9.3) with ESMTP id HAA42376 for ; Wed, 22 Sep 1999 07:55:48 -0400 (EDT) (envelope-from rodneyr@embratel.com.br) From: rodneyr@embratel.com.br Received: by gatekeeper1.embratel.com.br; (8.8.8/1.3/10May95) id IAA03604; Wed, 22 Sep 1999 08:56:25 -0300 (EST) Received: from somewhere by smtpxd Received: from somewhere by smtpxd X-Lotus-FromDomain: EMBRATEL To: pgsql-interfaces@hub.org Message-ID: <032567F4.00417185.00@ntrjo008.nt.embratel.com.br> Date: Wed, 22 Sep 1999 08:55:01 -0300 Subject: Re: [INTERFACES] Create a database with ecpg Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline 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