BUG #5448: psql \set does not terminate if variable is referenced recursively - Mailing list pgsql-bugs

From Francis
Subject BUG #5448: psql \set does not terminate if variable is referenced recursively
Date
Msg-id 201005050317.o453HhTA094965@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #5448: psql \set does not terminate if variable is referenced recursively  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5448
Logged by:          Francis
Email address:      fmarkham@gmail.com
PostgreSQL version: 8.4.3
Operating system:   Ubuntu linux 10.04
Description:        psql \set does not terminate if variable is referenced
recursively
Details:

psql \set does not terminate if a variable is referenced recursively.  For
example, the following will hang the psql client in a nasty way:

db=# \set n 1
db=# \set n (:n + 1)

pgsql-bugs by date:

Previous
From: "KOIZUMI Satoru"
Date:
Subject: BUG #5449: "elements" are not parameter
Next
From: Akul Gupta
Date:
Subject: question