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

Commit5ab2c66

Browse files
committed
Rearrange dblink's dblink_build_sql_insert() and related routines to open and
lock the target relation just once per SQL function call. The original codingobtained and released lock several times per call. Aside from saving anot-insignificant number of cycles, this eliminates possible race conditionsif someone tries to modify the relation's schema concurrently. Alsocentralize locking and permission-checking logic.Problem noted while investigating a trouble report from Robert Voinea --- hisproblem is still to be fixed, though.
1 parent6742c60 commit5ab2c66

File tree

1 file changed

+87
-122
lines changed

1 file changed

+87
-122
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp