Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf4e71de

Browse files
committed
grant select on all views to public
1 parent98c2578 commitf4e71de

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
CREATEOR REPLACE VIEW @extschema@.pathman_partition_list
200200
ASSELECT*FROM @extschema@.show_partition_list();
201201

202+
GRANTSELECTON @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
CREATEOR REPLACE VIEW @extschema@.pathman_concurrent_part_tasks
219221
ASSELECT*FROM @extschema@.show_concurrent_part_tasks();
220222

223+
GRANTSELECTON @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)

[8]ページ先頭

©2009-2025 Movatter.jp