Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Bugs > 'Too many LWLoc...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 3719 of 3904
Post > Topic >>

'Too many LWLocks held' with GIN pg_trgm_ops index [RE-SENT]

by craig@[EMAIL PROTECTED] (Craig Ringer) Apr 21, 2008 at 04:15 PM

[RESENT MESSAGE - the previous one was presumably held for moderation
because of an attachment. If the prior one did in fact make it through
and I just didn't get it then sorry for the noise.]

Hi all

Following my -general post about this issue I'm supplying a test case
for a query that fails with a 'Too many LWLocks held' error.

The test data, system configuration details, etc are in the tarball that
you can obtain here:

http://www.postnewspapers.com.au/~craig/lwlock_test.tar.bz2

The README in the package provides all the detail I can think of, but
here's the summary again:

------
This is a test case for a `Too many LWLocks held' error encountered when
using pg_trgm with a GIN index in the following query:

SELECT a.message, b.message FROM po_message a, po_message b
WHERE a.id <> b.id AND a.message % b.message;

The error does not occur if a GIST index is present on
`po_message.message' instead of a GIST index, or if no index is present
at all. It only arises when the % operator is used.
------

--
Craig Ringer


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
 




 2 Posts in Topic:
'Too many LWLocks held' with GIN pg_trgm_ops index [RE-SENT]
craig@[EMAIL PROTECTED]   2008-04-21 16:15:41 
Re: 'Too many LWLocks held' with GIN pg_trgm_ops index [RE-SENT]
teodor@[EMAIL PROTECTED]   2008-04-21 15:53:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Tue Jul 8 22:56:41 CDT 2008.