forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
16 lines
1.6 KiB
HTML
16 lines
1.6 KiB
HTML
<a name="EN-US_TOPIC_0000001098990898"></a><a name="EN-US_TOPIC_0000001098990898"></a>
|
|
|
|
<h1 class="topictitle1">Snapshot Synchronization Functions</h1>
|
|
<div id="body1553151203303"><p id="EN-US_TOPIC_0000001098990898__a8cc6bf3115a84afbbe3b9c13c86ffc5f">Snapshot synchronization functions save the current snapshot and return its identifier.</p>
|
|
<p id="EN-US_TOPIC_0000001098990898__a437a29b4e5444c8eae9da50446cac980">pg_export_snapshot()</p>
|
|
<p id="EN-US_TOPIC_0000001098990898__a9009939536a6419ab0afefae3c273c78">Description: Saves the current snapshot and returns its identifier.</p>
|
|
<p id="EN-US_TOPIC_0000001098990898__a96295710da0c4015b209a4611b363e4b">Return type: text</p>
|
|
<p id="EN-US_TOPIC_0000001098990898__a9b31fe7cd6dd4899814fc338ec2f84cf">Note: <strong id="EN-US_TOPIC_0000001098990898__a7c9631cc780d4a3188f94584aaac9e2a">pg_export_snapshot</strong> saves the current snapshot and returns a text string identifying the snapshot. This string must be passed to clients that want to import the snapshot. A snapshot can be imported when the <strong id="EN-US_TOPIC_0000001098990898__b842352706161427">set transaction snapshot snapshot_id;</strong> command is executed. Doing so is possible only when the transaction is set to the <strong id="EN-US_TOPIC_0000001098990898__b19360124865215">REPEATABLE READ</strong> isolation level. The output of the function cannot be used as the input of <strong id="EN-US_TOPIC_0000001098990898__b842352706144826">set transaction snapshot</strong>.</p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_06_0052.html">System Administration Functions</a></div>
|
|
</div>
|
|
</div>
|
|
|