非互換
別名を使用してビューを作成した場合、ビュー定義の出力時に別名を除外するように変更します。
create table at_base_table(id int, stuff text);
create view at_view_1 as select * from at_base_table bt;
\d+ at_view_1
View "public.at_view_1"
Column | Type | Collation | Nullable | Default | Storage | Description
--------+---------+-----------+----------+---------+----------+-------------
id | integer | | | | plain |
stuff | text | | | | extended |
View definition:
SELECT bt.id,
bt.stuff
FROM at_base_table bt;create table at_base_table(id int, stuff text);
create view at_view_1 as select * from at_base_table bt;
\d+ at_view_1
View "public.at_view_1"
Column | Type | Collation | Nullable | Default | Storage | Description
--------+---------+-----------+----------+---------+----------+-------------
id | integer | | | | plain |
stuff | text | | | | extended |
View definition:
SELECT id,
stuff
FROM at_base_table bt;対処方法
ありません。