@@ -2742,9 +2742,9 @@ CREATE VIEW _pg_foreign_table_columns AS
2742
2742
*/
2743
2743
CREATE VIEW column_options AS
2744
2744
SELECT CAST(current_database() AS sql_identifier) AS table_catalog,
2745
- c .nspname AS table_schema,
2746
- c .relname AS table_name,
2747
- c .attname AS column_name,
2745
+ CAST( c .nspname AS sql_identifier) AS table_schema,
2746
+ CAST( c .relname AS sql_identifier) AS table_name,
2747
+ CAST( c .attname AS sql_identifier) AS column_name,
2748
2748
CAST((pg_options_to_table(c .attfdwoptions )).option_name AS sql_identifier) AS option_name,
2749
2749
CAST((pg_options_to_table(c .attfdwoptions )).option_value AS character_data) AS option_value
2750
2750
FROM _pg_foreign_table_columns c;
@@ -2849,8 +2849,8 @@ GRANT SELECT ON foreign_servers TO PUBLIC;
2849
2849
CREATE VIEW _pg_foreign_tables AS
2850
2850
SELECT
2851
2851
CAST(current_database() AS sql_identifier) AS foreign_table_catalog,
2852
- n .nspname AS foreign_table_schema,
2853
- c .relname AS foreign_table_name,
2852
+ CAST( n .nspname AS sql_identifier) AS foreign_table_schema,
2853
+ CAST( c .relname AS sql_identifier) AS foreign_table_name,
2854
2854
t .ftoptions AS ftoptions,
2855
2855
CAST(current_database() AS sql_identifier) AS foreign_server_catalog,
2856
2856
CAST(srvname AS sql_identifier) AS foreign_server_name,
0 commit comments