Re: [HACKERS] Proposal for new SET variables for optimizercosts

From: Sevo Stille <sevo(at)ip23(dot)net>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Proposal for new SET variables for optimizercosts
Date: 2000-02-06 14:35:16
Message-ID: 389D86A4.962AF9A@ip23.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Philip Warner wrote:

> Another option would be to add another command, eg. 'PG', which is used for
> all non-SQLxx commands:
>
> PG SET somename = somevalue
> PG VACUUM
>
> ...etc. But this has the disctinct disadvantage of being more work, and
> being cumbersome in comparison to changing names.

This does not work out in terms of general SQL compatibility. Even if we
treat commands after PG specially, no other SQL database would, and it
would raise at least as many errors as the extension syntax. Nor is
there any significant advantage of it within Postgres if we ever get a
keyword clash with a future SQL revision - I'd rather not have a syntax
that alows for two interpretations for the same keyword depending on
whether it follows PG or not.

Sevo

--
Sevo Stille
sevo(at)ip23(dot)net

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-02-06 15:47:43 Re: [HACKERS] TODO item
Previous Message Tatsuo Ishii 2000-02-06 14:04:12 Re: [HACKERS] TODO item