Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
fd3c4b2e
Commit
fd3c4b2e
authored
Aug 27, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add most of Neil Conway's cleanups.
parent
840deabf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
src/backend/libpq/auth.c
src/backend/libpq/auth.c
+2
-2
src/include/libpq/pqcomm.h
src/include/libpq/pqcomm.h
+11
-3
No files found.
src/backend/libpq/auth.c
View file @
fd3c4b2e
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.8
3 2002/08/18 03:03:25
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.8
4 2002/08/27 15:15:22
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -809,7 +809,7 @@ recv_and_check_password_packet(Port *port)
return
STATUS_EOF
;
}
/* Do not echo
failed
password to logs, for security. */
/* Do not echo password to logs, for security. */
elog
(
DEBUG5
,
"received password packet"
);
result
=
md5_crypt_verify
(
port
,
port
->
user
,
buf
.
data
);
...
...
src/include/libpq/pqcomm.h
View file @
fd3c4b2e
...
...
@@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pqcomm.h,v 1.6
6 2002/08/18 03:03:26
momjian Exp $
* $Id: pqcomm.h,v 1.6
7 2002/08/27 15:15:23
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -106,10 +106,18 @@ typedef uint32 PacketLen;
/*
* Startup message parameters sizes. These must not be changed without changing
* the protcol version. These are all strings that are '\0' terminated only if
* the prot
o
col version. These are all strings that are '\0' terminated only if
* there is room.
*/
/*
* FIXME: remove the fixed size limitations on database & user name, use
* variable length fields instead. The actual values will still be
* limited by NAMEDATALEN, but this will at least allow changing
* NAMEDATALEN to increase database & user name limits without changing
* the protocol. -neilc, 2002/08/27
*/
/* These should all be of near-unlimited length, perhap 10k */
#define SM_DATABASE 64
/* SM_USER should be the same size as the others. bjm 2002-06-02 */
...
...
@@ -120,7 +128,7 @@ typedef uint32 PacketLen;
#define SM_UNUSED 64
#define SM_TTY 64
typedef
uint32
ProtocolVersion
;
/* Fe/Be protocol version n
r.
*/
typedef
uint32
ProtocolVersion
;
/* Fe/Be protocol version n
umber
*/
typedef
struct
StartupPacket
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment