Re: Oracle vs PostgreSQL in real life

Поиск
Список
Период
Сортировка
От Antonio Sergio de Mello e Souza
Тема Re: Oracle vs PostgreSQL in real life
Дата
Msg-id 3C7F9ADA.9000309@bol.com.br
обсуждение исходный текст
Ответ на Oracle vs PostgreSQL in real life  (Jean-Paul ARGUDO <jean-paul.argudo@idealx.com>)
Ответы Re: Oracle vs PostgreSQL in real life  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-hackers
Michael Meskes wrote:

>On Thu, Feb 28, 2002 at 01:18:29PM -0500, Antonio Sergio de Mello e Souza wrote:
>
>>By default, Postgres executes transactions in autocommit mode.
>>
>That of course is true.
>
>>To disable the autocommit mode you have to compile the ECPG script with 
>>the -t option.
>>
>That unfortunately is not. It's just the opposite way. ecpg per default uses
>the Oracle way and issues a BEGIN after each commit automatically. Thus you
>only have to specify COMMIT every now and then to end the transaction. If
>you use "-t" or SET AUTOCOMMIT ON, then you run in the normal PostgreSQL
>environment and get each command inside its own transaction. To manually
>start and end transactions you have to use "-t" resp. EXEC SQL SET AUTOCOMMIT ON
>and then issue a BEGIN.
>
Many thanks for the explanation! Sorry for the wrong advice...  :-(

Regards,

Antonio Sergio






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

Предыдущее
От: mlw
Дата:
Сообщение: PostgreSQL employment/contract
Следующее
От: Michael Tiemann
Дата:
Сообщение: Server Databases Clash