can not create database!!!!

Поиск
Список
Период
Сортировка
Искать

can not create database!!!!

От:
pgsql-bugs@postgresql.org
Дата:
scott cao (scottc@cs.ucla.edu) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
can not create database!!!! 

Long Description
Can not create database!!!!
I don't have an explicit transaction block in progress.
ERROR: CREATE DATABASE: may not be called in a transaction block 
This code work with 6.XX but does't work with 7.xx


Sample Code
#include 
#include 
#include 

int main(void)
{
  exec sql connect to template1 user postgres;
  exec sql create database test1234;
  exec sql commit;
}


No file was uploaded with this report
FAQ