error in plpgsql-statements.html#PLPGSQL-SELECT-INTO - Mailing list pgsql-docs

From Marcos Truchado
Subject error in plpgsql-statements.html#PLPGSQL-SELECT-INTO
Date
Msg-id 3FC23D1C.4030601@telefonica.net
Whole thread Raw
List pgsql-docs
Hi. I have just learned how to create my own triggers on plpgsql
language, and I think I have discover an error into the doc:

http://www.postgresql.org/docs/current/static/plpgsql-statements.html#PLPGSQL-SELECT-INTO
------------------------------------------------------------------------

DECLARE
     users_rec RECORD;
     full_name varchar;
 BEGIN
     SELECT INTO users_rec * FROM users WHERE user_id=3;

     IF users_rec.homepage IS NULL THEN
         -- user entered no homepage, return "http://"
         RETURN ''http://'';
     END IF;
 END;

------------------------------------------------------------------------
full_name declared, but not used.




pgsql-docs by date:

Previous
From: Halley Pacheco de Oliveira
Date:
Subject: PostgreSQL 7.4 Documentation - create_sequence.sgml
Next
From: "Randolf Richardson, DevNet SysOp 29"
Date:
Subject: Re: 7.4 official docs : Fonts?