Remote troubleshooting session connection? - Mailing list pgsql-general

From Jim Garrison
Subject Remote troubleshooting session connection?
Date
Msg-id 0C723FEB5B4E5642B25B451BA57E2730751AAA52@S1P5DAG3C.EXCHPROD.USA.NET
Whole thread Raw
Responses Re: Remote troubleshooting session connection?
Re: Remote troubleshooting session connection?
Re: Remote troubleshooting session connection?
Re: Remote troubleshooting session connection?
List pgsql-general
I'm working on an ETL system that is driven from Java/JDBC but is implemented mostly as SQL queries against a
PostgreSQLdatabase.   

An ETL "job" runs inside its own transaction and consists of a series of queries that transform the data from staging
tablesto the destination tables.  If a failure occurs, the transaction rolls back so there's no "debris" left over --
whichmakes troubleshooting very difficult.   

In the Java world we have JPDA, which allows us to connect to a running JVM to examine the state of variables and set
breakpoints,etc. 

Assuming I can pause the driving Java code between queries in a job, is there any way to connect from PGAdmin (or
anothertool) and view the state of tables in the in-progress transaction?  If this is not currently possible, how
difficultwould it be to do? 


pgsql-general by date:

Previous
From: David Boreham
Date:
Subject: Re: SSD Drives
Next
From: Adrian Klaver
Date:
Subject: Re: Remote troubleshooting session connection?