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

Commit001166a

Browse files
committed
some notes regarding partition creation callback (thanks to@thamerlan)
1 parent49c6f70 commit001166a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ Enable/disable auto partition propagation (only for RANGE partitioning). It is e
272272
```plpgsql
273273
set_init_callback(relation REGCLASS, callback REGPROC DEFAULT0)
274274
```
275-
Set partition creation callback to be invoked for each attached or created partition (both HASH and RANGE). The callback must have the following signature:`part_init_callback(args JSONB) RETURNS VOID`. Parameter`arg` consists of several fields whose presence depends on partitioning type:
275+
Set partition creation callback to be invoked for each attached or created partition (both HASH and RANGE).If callback is marked with SECURITY INVOKER, it's executed with the privileges of the user that produced a statement which has led to creation of a new partition (e.g.`INSERT INTO partitioned_table VALUES (-5)`).The callback must have the following signature:`part_init_callback(args JSONB) RETURNS VOID`. Parameter`arg` consists of several fields whose presence depends on partitioning type:
276276
```json
277277
/* RANGE-partitioned table abc (child abc_4) */
278278
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp