minor issue - one semicolumn too many in the docs

From: Frank van Vugt <ftm(dot)van(dot)vugt(at)foxi(dot)nl>
To: pgsql-bugs(at)postgresql(dot)org
Subject: minor issue - one semicolumn too many in the docs
Date: 2007-06-02 12:25:47
Message-ID: 200706021425.47923.ftm.van.vugt@foxi.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

I noticed that the example code for SELECT STRICT mentioned in the docs
(v8.2.4) under "37.6.3. Executing a Query with a Single-Row Result" mentions:

BEGIN;
SELECT * INTO STRICT myrec FROM emp WHERE empname = myname;
EXCEPTION
WHEN NO_DATA_FOUND THEN
RAISE EXCEPTION 'employee % not found', myname;
WHEN TOO_MANY_ROWS THEN
RAISE EXCEPTION 'employee % not unique', myname;
END;

The semicolumn after BEGIN was probably not meant to be there.

--
Best,

Frank.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Larry Rosenman 2007-06-02 13:38:14 Re: BUG #3331: Database Restoring problem
Previous Message sajish 2007-06-02 10:32:23 BUG #3331: Database Restoring problem