Re: [HACKERS] "Adding missing from clause" (replacement)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, josh(at)agliodbs(dot)com, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] "Adding missing from clause" (replacement)
Date: 2003-06-11 22:12:17
Message-ID: 200306112212.h5BMCHg04541@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


I have applied the following patch, which does make a few adjustments.

I called the variable add_missing_from, rather than
enable_implicit_from. The former seemed clearer.

I also enhanced the documentation for the item.

I added comments for the End-of-list records.

Does someone want to make an argument that this variable should default
to false rather than true, for standards compliance?

---------------------------------------------------------------------------

Nigel J. Andrews wrote:
> On Thu, 1 May 2003, Tom Lane wrote:
>
> > "Nigel J. Andrews" <nandrews(at)investsystems(dot)co(dot)uk> writes:
> > > * Add enable_implicited_join GUC, defaulting to true. Emit notice if
> > > enabled, throw error if disabled when adding implicit RTE.
> >
> > I'd call it "enable_implicit_from", I think, but otherwise this seems
> > reasonable...
>
> Fair enough, I'm not particularly sold on my choice so here's a replacement
> patch with the GUC name changed. If there's a problem it'll probably be because
> I edited the patch and not the source.
>
> Log:
>
> * Add enable_implicit_from GUC, defaulting to true. Emit notice if
> enabled, throw error if disabled when adding implicit RTE.
>
>
> --
> Nigel J. Andrews
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 6.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2003-06-11 22:12:48 Re: [HACKERS] GUC --- prevent non-super user changes
Previous Message Robert Treat 2003-06-11 22:02:06 Re: PostgreSQL under Windows

Browse pgsql-patches by date

  From Date Subject
Next Message Robert Treat 2003-06-11 22:12:48 Re: [HACKERS] GUC --- prevent non-super user changes
Previous Message Alvaro Herrera 2003-06-11 22:02:25 Re: Nested transactions: deferred triggers