File tree Expand file tree Collapse file tree 4 files changed +18
-18
lines changed Expand file tree Collapse file tree 4 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 11create or replace function public .is_table_column(
2- schema_name text ,
3- table_name text ,
4- column_name text
2+ schema_name pg_catalog . name ,
3+ table_name pg_catalog . name ,
4+ column_name pg_catalog . name
55)
66 returns boolean
77 immutable
2626$$;
2727
2828comment on function public .is_table_column (
29- schema_name text ,
30- table_name text ,
31- column_name text
29+ schema_name pg_catalog . name ,
30+ table_name pg_catalog . name ,
31+ column_name pg_catalog . name
3232) is ' Check table column exists' ;
3333
3434create or replace function public .is_table_column(
@@ -43,8 +43,8 @@ create or replace function public.is_table_column(
4343as
4444$$
4545 select public .is_table_column (
46- is_table_column .r .schema::text ,
47- is_table_column .r .table::text ,
46+ is_table_column .r .schema::pg_catalog . name ,
47+ is_table_column .r .table::pg_catalog . name ,
4848 is_table_column .r .column
4949 );
5050$$;
Original file line number Diff line number Diff line change 11create or replace function public .is_view_column(
2- schema_name text ,
3- view_name text ,
4- column_name text
2+ schema_name pg_catalog . name ,
3+ view_name pg_catalog . name ,
4+ column_name pg_catalog . name
55)
66 returns boolean
77 immutable
2626$$;
2727
2828comment on function public .is_view_column (
29- schema_name text ,
30- view_name text ,
31- column_name text
29+ schema_name pg_catalog . name ,
30+ view_name pg_catalog . name ,
31+ column_name pg_catalog . name
3232) is ' Check view column exists' ;
3333
3434create or replace function public .is_view_column(
@@ -43,8 +43,8 @@ create or replace function public.is_view_column(
4343as
4444$$
4545 select public .is_view_column (
46- is_view_column .r .schema::text ,
47- is_view_column .r .view::text ,
46+ is_view_column .r .schema::pg_catalog . name ,
47+ is_view_column .r .view::pg_catalog . name ,
4848 is_view_column .r .column
4949 );
5050$$;
Original file line number Diff line number Diff line change 11create type public .table_column_type as (
22 " schema" regnamespace,
33 " table" regclass,
4- " column" text
4+ " column" pg_catalog . name
55);
Original file line number Diff line number Diff line change 11create type public .view_column_type as (
22 " schema" regnamespace,
33 " view" regclass,
4- " column" text
4+ " column" pg_catalog . name
55);
You can’t perform that action at this time.
0 commit comments