Typo in online docs - Mailing list pgsql-hackers

From strk
Subject Typo in online docs
Date
Msg-id 20100224132017.GH85844@keybit.net
Whole thread Raw
Responses Re: Typo in online docs
List pgsql-hackers
On this page:http://www.postgresql.org/docs/8.4/interactive/explicit-locking.html

This chapter:13.3.4. Advisory Locks

This example:SELECT pg_advisory_lock(id) FROM foo WHERE id = 12345; -- okSELECT pg_advisory_lock(id) FROM foo WHERE id
>12345 LIMIT 100; -- danger!SELECT pg_advisory_lock(q.id) FROM(  SELECT id FROM foo WHERE id > 12345 LIMIT 100;) q; --
ok

Last statement seems bogus to me ...

--strk;
 ()   Free GIS & Flash consultant/developer /\   http://foo.keybit.net/~strk/services.html


pgsql-hackers by date:

Previous
From: "William"
Date:
Subject: FW: Unable to install PostgreSQL on Windows Server 2003 SP2
Next
From: "Kevin Grittner"
Date:
Subject: Re: phypot - Pygmy Hippotause ?