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

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 (view raw or flat)
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



pgsql-admin by date

Next:From: Shanthala RaoDate: 2000-01-07 08:16:44
Subject: please help
Previous:From: tailorDate: 2000-01-06 22:26:22
Subject: Please help me with an install

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