Re: Bug with view definitions?

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Justin Clift <jc(at)telstra(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bug with view definitions?
Date: 2004-07-02 03:36:34
Message-ID: 40E4D842.6060608@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> It's not a data corrupting bug but it's stopping view definitions from
> "working as advertised" which is bad if you're used to being able to
> rely on them. :-/

Hmm, is this wrong on line 2085 of src/backend/adt/utils/ruleutils.c:

need_paren = (PRETTY_PAREN(context) ?
!IsA(op->rarg, RangeTblRef) : true);

The variable need_paren needs to be true in the case of the
information_schema query, but I'm not sure what to add as the additional
clause?

Chris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-07-02 03:40:03 Re: Bug with view definitions?
Previous Message Tom Lane 2004-07-02 03:35:04 Re: Bug with view definitions?