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

Commit0de6b22

Browse files
committed
SpawnPartitionsWorker now connects as current user
1 parentbb37684 commit0de6b22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/pathman_workers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ create_partitions_bg_worker_segment(Oid relid, Datum value, Oid value_type)
253253
/* Initialize BGW args */
254254
args= (SpawnPartitionArgs*)dsm_segment_address(segment);
255255

256-
args->userid=get_rel_owner(relid);
256+
args->userid=GetUserId();
257257
args->result=InvalidOid;
258258
args->dbid=MyDatabaseId;
259259
args->partitioned_table=relid;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp