Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitccc0a13

Browse files
committed
Document why PQtrace and ecpg debug() can crash the application if the
DLL compiles to not match the application.
1 parentd341946 commitccc0a13

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

‎doc/src/sgml/ecpg.sgml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.65 2005/07/1406:17:35 neilc Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.66 2005/09/25 03:06:41 momjian Exp $
33
-->
44

55
<chapter id="ecpg">
@@ -1607,6 +1607,13 @@ ECPG = ecpg
16071607
useful when searching for errors in your <acronym>SQL</acronym>
16081608
statements.
16091609
</para>
1610+
<note>
1611+
<para>
1612+
On Win32, if the <application>ecpg</> libraries and application are compiled with
1613+
different flags, this function call will crash the application because the
1614+
internal representation of the <literal>FILE</> pointers differ.
1615+
</para>
1616+
</note>
16101617
</listitem>
16111618

16121619
<listitem>

‎doc/src/sgml/libpq.sgml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.189 2005/08/14 22:19:49 petere Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.190 2005/09/25 03:06:41 momjian Exp $
33
-->
44

55
<chapter id="libpq">
@@ -3515,6 +3515,13 @@ affect the messages available from already-existing
35153515
void PQtrace(PGconn *conn, FILE *stream);
35163516
</synopsis>
35173517
</para>
3518+
<note>
3519+
<para>
3520+
On Win32, if the <application>libpq</> library and application are compiled with
3521+
different flags, this function call will crash the application because the
3522+
internal representation of the <literal>FILE</> pointers differ.
3523+
</para>
3524+
</note>
35183525
</listitem>
35193526
</varlistentry>
35203527

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp