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

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Francis" <fmarkham(at)gmail(dot)com>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #5448: psql \set does not terminate if variable is referenced recursively
Date: 2010-05-05 17:54:21
Message-ID: 4BE16A7D02000025000312F0@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> I think we need to add an explicit recursion test and suppress
> further expansion of the variable when we see it

> We can definitely print a message

Sounds perfect to me.

-Kevin

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message gouthamj 2010-05-06 07:09:31 BUG #5450: system lacked sufficient buffer space, or because a queue was full, could not perform the operation
Previous Message Tom Lane 2010-05-05 17:50:58 Re: BUG #5448: psql \set does not terminate if variable is referenced recursively