Skip to content

Commit f4e71de

Browse files
committed
grant select on all views to public
1 parent 98c2578 commit f4e71de

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

init.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ AS 'pg_pathman', 'show_partition_list_internal' LANGUAGE C STRICT;
199199
CREATE OR REPLACE VIEW @extschema@.pathman_partition_list
200200
AS SELECT * FROM @extschema@.show_partition_list();
201201

202+
GRANT SELECT ON @extschema@.pathman_partition_list TO PUBLIC;
203+
202204
/*
203205
* Show all existing concurrent partitioning tasks.
204206
*/
@@ -218,6 +220,8 @@ AS 'pg_pathman', 'show_concurrent_part_tasks_internal' LANGUAGE C STRICT;
218220
CREATE OR REPLACE VIEW @extschema@.pathman_concurrent_part_tasks
219221
AS SELECT * FROM @extschema@.show_concurrent_part_tasks();
220222

223+
GRANT SELECT ON @extschema@.pathman_concurrent_part_tasks TO PUBLIC;
224+
221225
/*
222226
* Partition table using ConcurrentPartWorker.
223227
*/

src/pl_funcs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ add_to_pathman_config(PG_FUNCTION_ARGS)
587587
elog(ERROR, "Invalid relation %u", relid);
588588

589589
if (get_attnum(relid, text_to_cstring(attname)) == InvalidAttrNumber)
590-
elog(ERROR, "Relation \"%s\" has no column '%s'",
590+
elog(ERROR, "relation \"%s\" has no column \"%s\"",
591591
get_rel_name_or_relid(relid), text_to_cstring(attname));
592592

593593
/* Select partitioning type using 'range_interval' */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy