Error 25P02 - transaction aborted - Potential causes?

Поиск
Список
Период
Сортировка
От Allan Sullivan
Тема Error 25P02 - transaction aborted - Potential causes?
Дата
Msg-id 3D9BF154E1B04444B6D07D04B1F0CD4F5C0486@ntk-mail2k3.nortak.com
обсуждение исходный текст
Ответы Re: Error 25P02 - transaction aborted - Potential causes?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
I've started to get the following error:

25P02 - current transaction is aborted, commands ignored

This error occurs on a 'select' statement done within a transaction, after multiple selects and updates have already
beenmade. The application is written in VB.Net, and uses npgsql for data access. (I'm running postgres 8.2). 

Does anyone have any idea what the cause of the error could be? Is there any chance that its because Postgres needs
morespace for doing rollbacks? (If so, how is this space increased). 

Or, is there any change I can make to the way I do the transactions that will help? Currently, I'm using the following:

    Dim conn As Npgsql.NpgsqlConnection
    Dim Trans As Npgsql.NpgsqlTransaction
    conn = New Npgsql.NpgsqlConnection("my connection string...")
    conn.Open()
    Trans = conn.BeginTransaction

Are there any parameters to the transaction that I can use that would prevent this error?

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

Предыдущее
От: Brian Hurt
Дата:
Сообщение: plpgsql: inserting a record into a (matching) table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Error 25P02 - transaction aborted - Potential causes?