Skip to content

Commit 147f2e9

Browse files
committed
Add:
> o Consider parsing the -c string into individual queries so each > is run in its own transaction > > o Consider disallowing multiple queries in PQexec() as an > additional barrier to SQL injection attacks
1 parent f0f4a6d commit 147f2e9

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

doc/TODO

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
PostgreSQL TODO List
33
====================
44
Current maintainer: Bruce Momjian (bruce@momjian.us)
5-
Last updated: Sat Jan 6 15:00:41 EST 2007
5+
Last updated: Sat Jan 6 16:33:48 EST 2007
66

77
The most recent version of this document can be viewed at
88
http://www.postgresql.org/docs/faqs.TODO.html.
@@ -738,6 +738,9 @@ Clients
738738
because setting the transaction isolation level must be the
739739
first statement of a transaction.
740740

741+
o Consider parsing the -c string into individual queries so each
742+
is run in its own transaction
743+
741744

742745
* pg_dump
743746

@@ -795,8 +798,10 @@ Clients
795798
held on the server waiting for them to be requested by libpq.
796799
One complexity is that a statement like SELECT 1/col could error
797800
out mid-way through the result set.
798-
* Fix SSL retry to avoid useless repeated connection attempts and
801+
o Fix SSL retry to avoid useless repeated connection attempts and
799802
ensuing misleading error messages
803+
o Consider disallowing multiple queries in PQexec() as an
804+
additional barrier to SQL injection attacks
800805

801806

802807
Triggers

doc/src/FAQ/TODO.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
99
<h1><a name="section_1">PostgreSQL TODO List</a></h1>
1010
<p>Current maintainer: Bruce Momjian (<a href="mailto:bruce@momjian.us">bruce@momjian.us</a>)<br/>
11-
Last updated: Sat Jan 6 15:00:41 EST 2007
11+
Last updated: Sat Jan 6 16:33:48 EST 2007
1212
</p>
1313
<p>The most recent version of this document can be viewed at<br/>
1414
<a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
@@ -669,6 +669,8 @@ <h1><a name="section_9">Clients</a></h1>
669669
because setting the transaction isolation level must be the
670670
first statement of a transaction.
671671
</p>
672+
</li><li>Consider parsing the -c string into individual queries so each
673+
is run in its own transaction
672674
</li></ul>
673675
</li><li>pg_dump
674676
<ul>
@@ -721,12 +723,12 @@ <h1><a name="section_9">Clients</a></h1>
721723
held on the server waiting for them to be requested by libpq.
722724
One complexity is that a statement like SELECT 1/col could error
723725
out mid-way through the result set.
724-
</p><ul>
725-
<li>Fix SSL retry to avoid useless repeated connection attempts and
726+
<li>Fix SSL retry to avoid useless repeated connection attempts and
726727
ensuing misleading error messages
727-
</li></ul>
728+
</li><li>Consider disallowing multiple queries in PQexec() as an
729+
additional barrier to SQL injection attacks
728730
</li></ul>
729-
</li></ul>
731+
</p></ul>
730732
<h1><a name="section_10">Triggers</a></h1>
731733

732734
<ul>
@@ -1298,6 +1300,6 @@ <h2><a name="section_23_1">Developers who have claimed items are:</a></h2>
12981300
</li><li>Teodor is Teodor Sigaev &lt;<a href="mailto:teodor@sigaev.ru">teodor@sigaev.ru</a>&gt;
12991301
</li><li>Tom is Tom Lane &lt;<a href="mailto:tgl@sss.pgh.pa.us">tgl@sss.pgh.pa.us</a>&gt; of Red Hat
13001302
</li></ul>
1301-
1303+
</li></ul></li></ul>
13021304
</body>
13031305
</html>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy