Database creation

From: "Sirish Kumar" <sirishk(at)titanium(dot)noida(dot)hclt(dot)com>
To: "PostgreSQL Group" <pgsql-admin(at)postgreSQL(dot)org>
Subject: Database creation
Date: 2000-01-07 06:02:13
Message-ID: 003c01bf58d4$c013d720$edfea0cc@noida.hclt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,
I tried to create database using embedded SQL through following
statements

...
exec sql begin declare section;
char dbname[]="pgdb";
...
exec sql end declare section;

main()
{
...
exec sql create database :dbname ;
...

}

On compilation ecpg gives parser error at "...create database..." statement.

Can anybody help ?

Thanks
Sirish

Browse pgsql-admin by date

  From Date Subject
Next Message Shanthala Rao 2000-01-07 08:16:44 please help
Previous Message tailor 2000-01-06 22:26:22 Please help me with an install