David Johnston wrote
> A paragraph cross-referencing where SET sub-commands exist has merit but
> since the main SET command does not accept FROM CURRENT it (FC) should not
> be included in its page directly.

It is strange that this actually does work - at least in 9.0 - given that
SET ... FROM CURRENT does not seem to have any usage outside of its
interaction as part of the CREATE FUNCTION command.

Is there some use-case I am not seeing?

Since the command works I would agree that it should be provided in the
syntax section for "SET" and that a comment be added that says generally
that its presence is an historical artifact and has no real use as part of
the top-level command.  Its intended use is in conjunction with the CREATE
FUNCTION command.  Alternative wordings to describe uses I am not seeing are
good too.

David J.




--
View this message in context: 
http://postgresql.1045698.n5.nabble.com/Documentation-for-SET-var-name-FROM-CURRENT-tp5772920p5772977.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to