Re: CREATE DATABASE command in Extended Query mode of 3.0

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CREATE DATABASE command in Extended Query mode of 3.0
Дата
Msg-id 1081.1057764937@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CREATE DATABASE command in Extended Query mode of 3.0  (Carlos Guzman Alvarez <carlosga@telefonica.net>)
Ответы Re: CREATE DATABASE command in Extended Query mode of 3.0
Список pgsql-hackers
Carlos Guzman Alvarez <carlosga@telefonica.net> writes:
> Hello:
>>> No, it should just work.  Can you give a test case?  Do you see similar
>>> problems with other utility commands, or is it only CREATE DATABASE?

> I have made a litlle test more and i have it working now, i have made 
> change for send a Sync message instead of a Flush message after execute 
> the command and now seems to be working as expected, is this correct or 
> it needs to work with the Flush too??

You do need to use Sync rather than Flush to create transaction
boundaries and error restart points.  I suspect your problem was coming
from having only a Flush and not a Sync between the CREATE DATABASE and
the *prior* command.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: sugsestions
Следующее
От: Bruce Momjian
Дата:
Сообщение: Behind on email