server vs foreign server inconsistency

From: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: server vs foreign server inconsistency
Date: 2014-04-14 15:45:29
Message-ID: CAJKUy5gcjEMcE7XwVyU0D0v5ahp_Ku-0ed=aohpdt-XX8FsQ5Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

A few days ago i was wondering why we use CREATE/DROP SERVER but then
when we want to GRANT/REVOKE we need to use FOREIGN SERVER.

of course options are:

1) modify both to accept both forms
2) modify one of them to accept both forms and use that way in all our
examples in docs
3) do nothing at all

IMHO i think 3 is not acceptable because it's annoying

opinions?

--
Jaime Casanova www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
Phone: +593 4 5107566 Cell: +593 987171157

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-04-14 15:53:56 Re: Signaling of waiting for a cleanup lock?
Previous Message Tom Lane 2014-04-14 15:30:02 Re: Signaling of waiting for a cleanup lock?