pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: Locking
2+ messages / 2 participants
[nested] [flat]

* Re: Locking
@ 2012-04-05 09:35 vinu <vinu.rm@gmail.com>
  2012-04-05 17:57 ` Re: Locking Kevin Grittner <Kevin.Grittner@wicourts.gov>
  0 siblings, 1 reply; 2+ messages in thread

From: vinu @ 2012-04-05 09:35 UTC (permalink / raw)
  To: pgsql-jdbc

I am having the same issue. Unless we close the connection or do a
connection.commit(), the AccessShareLock is not getting released.
ResultSet.close() and PreparedStatement.close() is not having any effect on this
behavior. Is this the expected behavior ?







^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Locking
  2012-04-05 09:35 Re: Locking vinu <vinu.rm@gmail.com>
@ 2012-04-05 17:57 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
  0 siblings, 0 replies; 2+ messages in thread

From: Kevin Grittner @ 2012-04-05 17:57 UTC (permalink / raw)
  To: vinu <vinu.rm@gmail.com>; pgsql-jdbc

vinu <vinu.rm@gmail.com> wrote:
 
> I am having the same issue.
 
For the benefit of those who don't remember the post:
 
http://archives.postgresql.org/pgsql-jdbc/2008-04/msg00094.php
 
> Unless we close the connection or do a connection.commit(), the
> AccessShareLock is not getting released. ResultSet.close() and
> PreparedStatement.close() is not having any effect on this
> behavior. Is this the expected behavior ?
 
Yes.  Did you look at the existing reply?
 
http://archives.postgresql.org/pgsql-jdbc/2008-04/msg00095.php
 
-Kevin



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2012-04-05 17:57 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-04-05 09:35 Re: Locking vinu <vinu.rm@gmail.com>
2012-04-05 17:57 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>

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