Re: SQL/MED - core functionality

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Shigeru HANADA <hanada(at)metrosystems(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: SQL/MED - core functionality
Date: 2010-12-28 09:59:09
Message-ID: 4D19B4ED.1070502@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 28.12.2010 05:16, Robert Haas wrote:
> I'd appreciate some review of what's attached, even though it's not
> totally final yet.

This construct doesn't translate well:

> + appendStringInfo(&allowed, "table%s%s%s",
> + allowView ? " or view" : "",
> + allowType ? " or composite type" : "",
> + allowForeignTable ? " or foreign table" : "");

Typo here:

> @@ -6883,7 +6962,7 @@ ATExecChangeOwner(Oid relationOid, Oid newOwnerId, bool recursing, LOCKMODE lock
> default:
> ereport(ERROR,
> (errcode(ERRCODE_WRONG_OBJECT_TYPE),
> - errmsg("\"%s\" is not a table, view, or sequence",
> + errmsg("\"%s\" is not a table, view, sequence, or foreign tabl, or foreign tablee",
> NameStr(tuple_class->relname))));
> }
>

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jie Li 2010-12-28 10:13:40 small table left outer join big table
Previous Message Heikki Linnakangas 2010-12-28 09:45:23 Re: SQL/MED - core functionality