doc-exports/docs/dws/dev/dws_06_0002.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-16 07:24:04 +00:00

214 lines
21 KiB
HTML

<a name="EN-US_TOPIC_0000001188429074"></a><a name="EN-US_TOPIC_0000001188429074"></a>
<h1 class="topictitle1">Differences Between GaussDB(DWS) and PostgreSQL</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001188429074__p681382363815">The differences between GaussDB(DWS) and PostgreSQL are sorted based on PostgreSQL 9.X. The differences are as follows:</p>
<div class="section" id="EN-US_TOPIC_0000001188429074__section13329205510462"><h4 class="sectiontitle">Client Differences</h4><p id="EN-US_TOPIC_0000001188429074__en-us_topic_0000001098811116_p2531141514131">GaussDB(DWS) gsql differs from PostgreSQL psql in that the former has made the following changes to enhance security:</p>
<ul id="EN-US_TOPIC_0000001188429074__en-us_topic_0000001098811116_ul82051913151417"><li id="EN-US_TOPIC_0000001188429074__en-us_topic_0000001098811116_li8205913131412">User passwords cannot be set by running the <strong id="EN-US_TOPIC_0000001188429074__b37249298179">\password</strong> meta-command.</li><li id="EN-US_TOPIC_0000001188429074__en-us_topic_0000001098811116_li1274618538403">The <strong id="EN-US_TOPIC_0000001188429074__b1719011014318">\i+</strong>, <strong id="EN-US_TOPIC_0000001188429074__b16190141023116">\ir+</strong>, and <strong id="EN-US_TOPIC_0000001188429074__b1119010107316">\include_relative+</strong> meta-commands and the input and output parameter <strong id="EN-US_TOPIC_0000001188429074__b12190510103113">-k</strong> are added to encrypt imported and exported files.</li><li id="EN-US_TOPIC_0000001188429074__en-us_topic_0000001098811116_li568272154111">Historical command lines cannot be printed to files using the <strong id="EN-US_TOPIC_0000001188429074__b1944662517179">\s</strong> meta-command.</li><li id="EN-US_TOPIC_0000001188429074__en-us_topic_0000001098811116_li1898782119142">SQL statements related to sensitive operations, such as those containing passwords, are not recorded. Users cannot see such records when they turn pages or press up or down arrow keys to view the SQL history.</li><li id="EN-US_TOPIC_0000001188429074__en-us_topic_0000001098811116_li195771529594">After a connection is set up, a message is displayed to inform users of password expiration and to show version information.</li></ul>
<p id="EN-US_TOPIC_0000001188429074__p14653194724718"></p>
<p id="EN-US_TOPIC_0000001188429074__en-us_topic_0000001098811116_p1839663620149">gsql provides the following additional functions based on psql:</p>
<ul id="EN-US_TOPIC_0000001188429074__en-us_topic_0000001098811116_ul527752052917"><li id="EN-US_TOPIC_0000001188429074__en-us_topic_0000001098811116_li197648537328">The output format parameter <strong id="EN-US_TOPIC_0000001188429074__b13862884882240">-r</strong> is added to allow you to adjust the focus by pressing the <strong id="EN-US_TOPIC_0000001188429074__b13274086902240">Tab</strong> key or arrow keys when entering commands.</li><li id="EN-US_TOPIC_0000001188429074__en-us_topic_0000001098811116_li17277132082916">The <strong id="EN-US_TOPIC_0000001188429074__b9776149272240">\parallel</strong> meta-command is added to improve execution performance.</li><li id="EN-US_TOPIC_0000001188429074__en-us_topic_0000001098811116_li57687145517">The <strong id="EN-US_TOPIC_0000001188429074__b2512444582240">\set RETRY</strong> meta-command is added to support retry upon statement errors.</li><li id="EN-US_TOPIC_0000001188429074__en-us_topic_0000001098811116_li824015207332">Slashes (/) are used as the default terminator at the end of PL/SQL statements CREATE OR REPLACE FUNCTION/PROCEDURE.</li></ul>
<p id="EN-US_TOPIC_0000001188429074__p177009485472"></p>
<p id="EN-US_TOPIC_0000001188429074__p14467163917471">libpq:</p>
</div>
<p id="EN-US_TOPIC_0000001188429074__en-us_topic_0000001098811116_p211294719405">During the development of certain GaussDB(DWS) functions such as the gsql client connection tool, PostgreSQL libpq is greatly modified. However, the libpq interface is not verified in application development. You are not advised to use this set of APIs for application development, because underlying risks probably exist. You can use the ODBC or JDBC APIs instead.</p>
<div class="section" id="EN-US_TOPIC_0000001188429074__section199891856135015"><h4 class="sectiontitle">SQL Statement Differences</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001188429074__table5688130205712" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PostgreSQL snytaxes not supported by GaussDB(DWS)</caption><thead align="left"><tr id="EN-US_TOPIC_0000001188429074__row16884019570"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.4.2.2.4.1.1"><p id="EN-US_TOPIC_0000001188429074__p36889012576">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.2.2.4.1.2"><p id="EN-US_TOPIC_0000001188429074__p206896015718">Snytaxes Not Supported by GaussDB(DWS)</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="35%" id="mcps1.3.4.2.2.4.1.3"><p id="EN-US_TOPIC_0000001188429074__p13689301573">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001188429074__row65528322122"><td class="cellrowborder" rowspan="2" valign="top" width="15%" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p755223281213">Data</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p661612194406">Geometric lines</p>
</td>
<td class="cellrowborder" rowspan="2" valign="top" width="35%" headers="mcps1.3.4.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188429074__p155531432181212">For details about the data types supported by GaussDB(DWS), see <a href="dws_06_0008.html">Data Types</a>.</p>
<p id="EN-US_TOPIC_0000001188429074__p1039813278123"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row9397192791212"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p151239131136">pg_node_tree</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row66891010576"><td class="cellrowborder" rowspan="5" valign="top" width="15%" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p5689140155716">Functions</p>
<p id="EN-US_TOPIC_0000001188429074__p12689150125713"></p>
<p id="EN-US_TOPIC_0000001188429074__p445613713911"></p>
<p id="EN-US_TOPIC_0000001188429074__p1569016016571"></p>
<p id="EN-US_TOPIC_0000001188429074__p769010095713"></p>
<p id="EN-US_TOPIC_0000001188429074__p1341611141644"></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p146891703574">Enumeration functions:</p>
<ul id="EN-US_TOPIC_0000001188429074__ul2189151791"><li id="EN-US_TOPIC_0000001188429074__li81817151890">enum_first(anyenum)</li><li id="EN-US_TOPIC_0000001188429074__li141911152913">enum_last(anyenum)</li><li id="EN-US_TOPIC_0000001188429074__li15214152916">enum_range(anyenum)</li><li id="EN-US_TOPIC_0000001188429074__li162120153913">enum_range(anyenum, anyenum)</li></ul>
</td>
<td class="cellrowborder" rowspan="5" valign="top" width="35%" headers="mcps1.3.4.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188429074__p186890012576">For details about the functions supported by GaussDB(DWS), see <a href="dws_06_0027.html">Functions and Operators</a>.</p>
<p id="EN-US_TOPIC_0000001188429074__p1045613714912"></p>
<p id="EN-US_TOPIC_0000001188429074__p969010075717"></p>
<p id="EN-US_TOPIC_0000001188429074__p769016075714"></p>
<p id="EN-US_TOPIC_0000001188429074__p10416111419411"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row1368919025717"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p46893013579">Access permission query functions:</p>
<ul id="EN-US_TOPIC_0000001188429074__ul1973421214813"><li id="EN-US_TOPIC_0000001188429074__li167347121489">has_sequence_privilege(user, sequence, privilege)</li><li id="EN-US_TOPIC_0000001188429074__li2073518125817">has_sequence_privilege(sequence, privilege)</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row845514371394"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><div class="p" id="EN-US_TOPIC_0000001188429074__p1781725597">System directory information functions:<ul id="EN-US_TOPIC_0000001188429074__ul3954143817918"><li id="EN-US_TOPIC_0000001188429074__li1695414381294">pg_get_triggerdef(trigger_oid)</li><li id="EN-US_TOPIC_0000001188429074__li119541381191">pg_get_triggerdef(trigger_oid, pretty_bool)</li></ul>
</div>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row18690120175710"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p0590143110272">Geometric type conversion function:</p>
<p id="EN-US_TOPIC_0000001188429074__p436344163910">line(point, point)</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row4414161419418"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p867641442">pg_node_tree</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row7541105373310"><td class="cellrowborder" rowspan="25" valign="top" width="15%" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p489532755820">SQL syntax</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p2312131184714">CREATE TABLE clause:</p>
<p id="EN-US_TOPIC_0000001188429074__en-us_topic_0075052788_p15004500154828">INHERITS ( parent_table [, ... ] )</p>
</td>
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.4.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188429074__en-us_topic_0075052788_p3211661115488">Inherits tables.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row2034918018474"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p610420173510">CREATE TABLE column constraints:</p>
<p id="EN-US_TOPIC_0000001188429074__p18624191124810">REFERENCES reftable [ ( refcolumn ) ] [ MATCH FULL | MATCH PARTIAL | MATCH SIMPLE ] [ ON DELETE action ] [ ON UPDATE action ]</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p20431630122810">Use <strong id="EN-US_TOPIC_0000001188429074__b22052043193510">REFERENCES reftable [ (refcolumn) ] [ MATCH FULL | MATCH PARTIAL | MATCH SIMPLE ] [ ON DELETE action ] [ ON UPDATE action ]</strong> to create a foreign key constraint for a table.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row131019434718"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p9240152011515">CREATE TABLE table constraints:</p>
<p id="EN-US_TOPIC_0000001188429074__p01021244475">EXCLUDE [ USING index_method ] ( exclude_element WITH operator [, ... ] )</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p151734710284">Use <strong id="EN-US_TOPIC_0000001188429074__b1494641418374">EXCLUDE [ USING index_method ] ( exclude_element WITH operator [, ... ] )</strong> to create exclusion constraints for a table.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row16542155343320"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__en-us_topic_0075052788_p20822959142820">CREATE/ALTER/DROP EXTENSION</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__en-us_topic_0075052788_p13333950142820">Loads, modifies, and deletes extensions.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row6245184823319"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__en-us_topic_0075052788_p60145115163319">CREATE/ALTER/DROP AGGREGATE</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__en-us_topic_0075052788_p23701020163319">Defines, modifies, and deletes aggregate functions.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row117231026121716"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p762515204192">CREATE/ALTER/DROP OPERATOR</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p1872372611171">Creates, modifies, and deletes operators.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row772314261178"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p0626520171914">CREATE/ALTER/DROP OPERATOR CLASS</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p1682685661913">Creates, modifies, and deletes operator classes.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row167241126141710"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p196263205191">CREATE/ALTER/DROP OPERATOR FAMILY</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p1934618512016">Creates, modifies, and deletes operator families.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row11724162615178"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p2959182813227">CREATE/ALTER/DROP TEXT SEARCH PARSER</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p3419104502214">Creates, modifies, and deletes text search parsers.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row1372512619172"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p07250268177">CREATE/ALTER/DROP TEXT SEARCH TEMPLATE</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p9927175114222">Create, modify, and delete text search templates.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row772682618177"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p57263261173">CREATE/ALTER/DROP COLLATION</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p87276262179">Creates, modifies, and deletes collation rules.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row547933111714"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p13215525102820">CREATE/ALTER/DROP CONVERSION</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p1519313011299">Defines, modifies, and deletes the conversion of character set encoding.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row947103391718"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p1448133171716">CREATE/ALTER/DROP RULE</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p1330616355113">Creates, modifies, and deletes rules.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row16482033161710"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p1948153320178">CREATE/ALTER/DROP LANGUAGE</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p1749411125154">Registers, modifies, and deletes procedural languages (LANGUAGE).</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row14893301711"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p1548113371714">CREATE/ALTER/DROP DOMAIN</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p14481335179">Creates, modifies, and deletes domains.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row174883391719"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p4499331174">CREATE/DROP CAST</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p1749433131712">Defines and deletes casts.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row470411122173"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p1705171218170">CREATE/ALTER/DROP USER MAPPING</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p7705111251717">Defines, modifies, and deletes user mapping.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row710216493230"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p91023496236">SECURITY LABEL</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p17580559182310">Defines or changes the security tag of an object.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row1370511261715"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p19705161251714">NOTIFY</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p2634114862115">Generates a notification.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row145354199177"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__en-us_topic_0075052788_p25032147165944">LISTEN</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p1553521971713">Listens to a notification.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row95367198177"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__en-us_topic_0075052788_p14973947165944">UNLISTEN</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p17536101920174">Stops listening to a notification.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row8362102615172"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__en-us_topic_0075052788_p4114092117034">LOAD</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p33621026201720">Loads or reloads a shared library file.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row143621269174"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__en-us_topic_0075052788_p808889817115">DISCARD</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p139141544162814">Releases the session resources of a database. (Cluster 8.2.0 and later versions support DISCARD.)</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row736322612174"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__en-us_topic_0075052788_p387094182020">MOVE BACKWARD</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__en-us_topic_0075052788_p31354690182020">Moves a cursor backward.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row4619135953212"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p1793513714518">COPY FROM FILE and COPY TO FILE</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p106741419124517">To isolate permissions, COPY FROM FILE and COPY TO FILE is disabled in GaussDB(DWS).</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188429074__row532273910518"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188429074__p832214391857">Other</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188429074__p15810431057">User-defined C functions</p>
</td>
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.4.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188429074__p1532317390512">For details about user-defined functions supported by GaussDB(DWS), see Developer Guide &gt; User-Defined Functions.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_2000.html">SQL Syntax Reference</a></div>
</div>
</div>