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

Commitf7e089b

Browse files
committed
Back out password packet length check.
Improve wording of pre-7.3 syntax mention.
1 parent9a0b4d7 commitf7e089b

File tree

3 files changed

+5
-19
lines changed

3 files changed

+5
-19
lines changed

‎doc/src/sgml/ref/copy.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/copy.sgml,v 1.38 2002/08/3003:18:23 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/copy.sgml,v 1.39 2002/08/3016:00:41 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -700,7 +700,7 @@ ZW ZIMBABWE
700700
There is no <command>COPY</command> statement in SQL92.
701701
</para>
702702
<para>
703-
The following syntax was used by pre-7.3servers and is still supported:
703+
The following syntax was used by pre-7.3applications and is still supported:
704704
<synopsis>
705705
COPY [ BINARY ] <replaceable class="parameter">table</replaceable> [ WITH OIDS ]
706706
FROM { '<replaceable class="parameter">filename</replaceable>' | <filename>stdin</filename> }

‎doc/src/sgml/ref/select.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/select.sgml,v 1.59 2002/08/3003:18:23 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/select.sgml,v 1.60 2002/08/3016:00:41 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -869,7 +869,7 @@ SELECT name FROM distributors ORDER BY code;
869869
FOR UPDATE cannot be used in contexts where returned rows can't be clearly
870870
identified with individual table rows; for example it can't be used with
871871
aggregation. FOR UPDATE may also appear before LIMIT for portability with
872-
pre-7.3servers.
872+
pre-7.3applications.
873873
</para>
874874
</refsect2>
875875

‎src/backend/libpq/auth.c

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.87 2002/08/29 21:50:36 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.88 2002/08/30 16:00:41 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -709,20 +709,6 @@ recv_and_check_password_packet(Port *port)
709709
if (pq_eof()==EOF||pq_getint(&len,4)==EOF)
710710
returnSTATUS_EOF;/* client didn't want to send password */
711711

712-
/*
713-
* Since the remote client has not yet been authenticated, we need
714-
* to be careful when using the data they send us. The 8K limit is
715-
* arbitrary, and somewhat bogus: the intent is to ensure we don't
716-
* allocate an enormous chunk of memory.
717-
*/
718-
719-
if (len<1||len>8192)
720-
{
721-
elog(LOG,"Invalid password packet length: %d; "
722-
"must satisfy 1 <= length <= 8192",len);
723-
returnSTATUS_EOF;
724-
}
725-
726712
initStringInfo(&buf);
727713
if (pq_getstr(&buf)==EOF)/* receive password */
728714
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp