Re: Bug in SQL/MED?

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bug in SQL/MED?
Date: 2011-06-30 07:37:41
Message-ID: D960CB61B694CF459DCFB4B0128514C2069B8FA5@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:

> If you invoke any of the SQL/MED CREATE or ALTER commands,
> the validator function is only called if an option list was given.

[...]
> Example:
[...]

The example is misleading. Here a better one:

CREATE SERVER myoradb FOREIGN DATA WRAPPER oracle_fdw OPTIONS (foo
'bar');
ERROR: invalid option "foo"
HINT: Valid options in this context are: dbserver, user, password

but:
CREATE SERVER myoradb FOREIGN DATA WRAPPER oracle_fdw;
gives no error.

Yours,
Laurenz Albe

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Yeb Havinga 2011-06-30 07:39:39 Re: Parameterized aggregate subquery (was: Pull up aggregate subquery)
Previous Message Florian Pflug 2011-06-30 07:11:01 Re: Range Types, constructors, and the type system