ERRCODE_FEATURE_NOT_SUPPORTED is suitable error code here.
Please see the attached one.
Thanks,
2015-03-11 4:34 GMT+09:00 Robert Haas <robertmhaas@gmail.com>:
> On Tue, Mar 10, 2015 at 9:41 AM, Alvaro Herrera
> <alvherre@2ndquadrant.com> wrote:
>> And perhaps make it an ereport also, with errcode etc.
>
> Yeah, definitely.
>
> --
> Robert Haas
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
--
KaiGai Kohei <kaigai@kaigai.gr.jp>