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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Band-aid fix for incorrect use of view options as StdRdOptions.
Дата
Msg-id E1c3nPJ-0007FH-Kv@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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>

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/e2f5cd9cf5588cc37f665fb2ca061898b5c73f2a

Modified Files
--------------
src/include/utils/rel.h                       |  3 ++-
src/test/regress/expected/insert_conflict.out | 24 ++++++++++++++++++++++++
src/test/regress/sql/insert_conflict.sql      | 18 ++++++++++++++++++
3 files changed, 44 insertions(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Band-aid fix for incorrect use of view options as StdRdOptions.
Следующее
От: Noah Misch
Дата:
Сообщение: pgsql: Change qr/foo$/m to qr/foo\n/m, for Perl 5.8.8.