BUG #5448: psql \set does not terminate if variable is referenced recursively

From: "Francis" <fmarkham(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5448: psql \set does not terminate if variable is referenced recursively
Date: 2010-05-05 03:17:43
Message-ID: 201005050317.o453HhTA094965@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5448
Logged by: Francis
Email address: fmarkham(at)gmail(dot)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)

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Akul Gupta 2010-05-05 04:43:13 question
Previous Message Peter Eisentraut 2010-05-04 19:46:47 Re: BUG #5447: VPATH install postgres.bki