public inbox for [email protected]  
help / color / mirror / Atom feed
From: [email protected] <[email protected]>
To: Pgsql-general <[email protected]>
Subject: Re:  Error while updating a table
Date: Fri, 18 Apr 2025 05:49:30 +0000 (UTC)
Message-ID: <[email protected]> (raw)
References: <[email protected]>

Hello,
We use PowerBuilder along with PostgreSQL.
PostgreSQL 15.7 (Ubuntu 15.7-1.pgdg24.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0, 64-bit

Suddenly, one system starts throwing an error while updating a record from PowerBuilder.  The same update statement (window) works fine, when run from other computers.  Error occurs only when the statement is run from a particular computer.  The SQL Statement is
Update public.co_voucherseries_transaction_branchSet    vouchernumber   = <new number>Where  companycode     = '100'And    branchcode      = '001'And    accountperiodid = 1And    voucherseries   = 'SERIES'And    voucherversion  = 'version'And    activestatus    = 'Y'  ;
The error isSQLSTATE=25P02ERROR: current transaction is aborted, commands ignored until end of transaction block;Error while executing the query
Through googling, I found that last transaction was not properly rolled back.The (Postgresql) Linux server will be shut down every night and re-booted next day morning.   
Don't know when this error has occurred.  
Now I need to rectify this error?  How to do it?  Any help is really appreciated.
Happiness Always
BKR Sivaprakash


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re:  Error while updating a table
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox