diff options
author | Michael Meskes <meskes@postgresql.org> | 2016-12-22 08:28:13 +0100 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2016-12-22 08:29:33 +0100 |
commit | a88c547f926c1bd70d7dc180826e7e95824c88d1 (patch) | |
tree | f0f91cf2e50544586fc09c7826b40ecdbcb5d39a /doc/src | |
parent | 28c9b6be7f76d64397bfa39a944915d4dbfd1994 (diff) | |
download | postgresql-a88c547f926c1bd70d7dc180826e7e95824c88d1.tar.gz postgresql-a88c547f926c1bd70d7dc180826e7e95824c88d1.zip |
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/src')
-rw-r--r-- | doc/src/sgml/ref/ecpg-ref.sgml | 8 |
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 029bd4a4d22..8bfb47c4d79 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> |