Typo in online docs

From: strk <strk(at)keybit(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Typo in online docs
Date: 2010-02-24 13:20:17
Message-ID: 20100224132017.GH85844@keybit.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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; -- ok
SELECT 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2010-02-24 13:27:10 Re: phypot - Pygmy Hippotause ?
Previous Message William 2010-02-24 13:09:52 FW: Unable to install PostgreSQL on Windows Server 2003 SP2