Skip to content

Commit

Permalink
Documentation changes for PREPARE, DEALLOCATE and EXECUTE commands. S…
Browse files Browse the repository at this point in the history
…ince there

is no user-visible Postgres-XC specific change in these commands, this commit
restores the PostgreSQL documentation for these commands with some general XC specific
notes.
  • Loading branch information
ashutosh-bapat committed Aug 30, 2011
1 parent f832865 commit 341c1b2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 42 deletions.
8 changes: 0 additions & 8 deletions doc-xc/src/sgml/ecpg.sgmlin
@@ -1,13 +1,5 @@
<!-- doc/src/sgml/ecpg.sgml -->

<!-- COMMENT: K.Suzuki

This file assumes that PREPARE and EXECUTE statements will soon
be supported. Description of them are scattered into so many
parts of the document and I found it is not practical to write
notice, which will be removed soon.
-->

<chapter id="ecpg">
<title><application>ECPG</application> - Embedded <acronym>SQL</acronym> in C</title>

Expand Down
12 changes: 1 addition & 11 deletions doc-xc/src/sgml/ref/deallocate.sgmlin
Expand Up @@ -33,15 +33,7 @@ DEALLOCATE [ PREPARE ] { <replaceable class="parameter">name</replaceable> | ALL
<refsect1>
<title>Description</title>

&xconly;
<!## XC>
<para>
Current relase of <productname>Postgres-XC</> does not
support <command>DEALLOCATE</command> command.
</para>
<!## end>

<!## PG>
&common;
<para>
<command>DEALLOCATE</command> is used to deallocate a previously
prepared SQL statement. If you do not explicitly deallocate a
Expand Down Expand Up @@ -103,7 +95,5 @@ DEALLOCATE [ PREPARE ] { <replaceable class="parameter">name</replaceable> | ALL
<member><xref linkend="sql-execute"></member>
<member><xref linkend="sql-prepare"></member>
</simplelist>

<!## end>
</refsect1>
</refentry>
12 changes: 1 addition & 11 deletions doc-xc/src/sgml/ref/execute.sgmlin
Expand Up @@ -32,16 +32,7 @@ EXECUTE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class

<refsect1>
<title>Description</title>

<!## XC>
&xconly;
<para>
<command>EXECUTE</> has not been supported yet. This may be
suppoted in the future releases.
</para>
<!## end>

<!## PG>
&common;
<para>
<command>EXECUTE</command> is used to execute a previously prepared
statement. Since prepared statements only exist for the duration of a
Expand Down Expand Up @@ -118,7 +109,6 @@ EXECUTE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class
<command>EXECUTE</command> statement also uses a somewhat different
syntax.
</para>
<!## end>
</refsect1>

<refsect1>
Expand Down
13 changes: 1 addition & 12 deletions doc-xc/src/sgml/ref/prepare.sgmlin
Expand Up @@ -32,17 +32,7 @@ PREPARE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class

<refsect1>
<title>Description</title>

<!## XC>
&xconly;
<para>
<command>PREPARE</> has not been supported
by <productname>Postgres-XC</> yet. This may be supported in the
future releases.
</para>
<!## end>

<!## PG>
&common;
<para>
<command>PREPARE</command> creates a prepared statement. A prepared
statement is a server-side object that can be used to optimize
Expand Down Expand Up @@ -202,7 +192,6 @@ EXECUTE usrrptplan(1, current_date);
<command>PREPARE</command> statement also uses a somewhat different
syntax.
</para>
<!## end>
</refsect1>

<refsect1>
Expand Down

0 comments on commit 341c1b2

Please sign in to comment.