summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Meskes2016-12-22 07:28:13 +0000
committerMichael Meskes2016-12-22 07:34:07 +0000
commit501c9107487d33e234f4af8bf77f2aa64c05e6d3 (patch)
treed9d384d5fd6b42ae573a9e902433763d535ad5c0 /doc
parentfb0ab06dc4f4c90b85c220418445f4c8f15a59ca (diff)
Fix buffer overflow on particularly named files and clarify documentation about
output file naming. Patch by Tsunakawa, Takayuki <tsunakawa.takay@jp.fujitsu.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/sgml/ref/ecpg-ref.sgml8
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/src/sgml/ref/ecpg-ref.sgml b/doc/src/sgml/ref/ecpg-ref.sgml
index edd20dcdd55..226a9caa4d9 100644
--- a/doc/src/sgml/ref/ecpg-ref.sgml
+++ b/doc/src/sgml/ref/ecpg-ref.sgml
@@ -42,11 +42,9 @@ PostgreSQL documentation
<para>
<command>ecpg</command> will convert each input file given on the
command line to the corresponding C output file. Input files
- preferably have the extension <filename>.pgc</filename>, in which
- case the extension will be replaced by <filename>.c</filename> to
- determine the output file name. If the extension of the input file
- is not <filename>.pgc</filename>, then the output file name is
- computed by appending <literal>.c</literal> to the full file name.
+ preferably have the extension <filename>.pgc</filename>.
+ The extension will be replaced by <filename>.c</filename> to
+ determine the output file name.
The output file name can also be overridden using the
<option>-o</option> option.
</para>