Re: SQL/MED - core functionality - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: SQL/MED - core functionality
Date
Msg-id 4D19B4ED.1070502@enterprisedb.com
Whole thread Raw
In response to Re: SQL/MED - core functionality  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: SQL/MED - core functionality  (Robert Haas <robertmhaas@gmail.com>)
List 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


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: SQL/MED - core functionality
Next
From: Itagaki Takahiro
Date:
Subject: Re: SQL/MED - core functionality