[GENERAL] AccessShareLock question

2009-12-19 Thread Clayton Graf
I get an AccessShareLock in a simple select command and I am not using the FOR SHARE clause. The select is just "select * from controle". The connection is JDBC and the driver is postgresql-8.4-701.jar. What am I doing wrong? This is the code: Class.forName(jdbc).newInstance();

Re: [GENERAL] AccessShareLock question

2009-12-19 Thread Clayton Graf
Jaime Casanova > On Sat, Dec 19, 2009 at 9:04 AM, Clayton Graf > wrote: > > I get an AccessShareLock in a simple select command and I am not using > the > > FOR SHARE clause. > > http://www.postgresql.org/docs/current/static/explicit-locking.html says: > "&quo

Re: [GENERAL] AccessShareLock question

2009-12-19 Thread Clayton Graf
It is not necessary to "worry" about selects before the first update or delete command. I got confused but I understand now. I guess :-) Thank you, Clayton 2009/12/19 Jaime Casanova > On Sat, Dec 19, 2009 at 10:58 AM, Clayton Graf > wrote: > > Ok, but this is really my pr