Band-aid fix for incorrect use of view options as StdRdOptions.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: e2f5cd9cf5588cc37f665fb2ca061898b5c73f2a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-11-07T17:08:19Z
Releases: 9.5.6
Band-aid fix for incorrect use of view options as StdRdOptions.

We really ought to make StdRdOptions and the other decoded forms of
reloptions self-identifying, but for the moment, assume that only plain
relations could possibly be user_catalog_tables.  Fixes problem with bogus
"ON CONFLICT is not supported on table ... used as a catalog table" error
when target is a view with cascade option.

Discussion: <26681.1477940227@sss.pgh.pa.us>

Files