Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
cb7fc63d
Commit
cb7fc63d
authored
20 years ago
by
Neil Conway
Browse files
Options
Downloads
Patches
Plain Diff
Remove references to the ODBC driver from the main source tree. From Kris
Jurka.
parent
64a60590
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/backend/libpq/md5.c
+3
-17
3 additions, 17 deletions
src/backend/libpq/md5.c
src/include/c.h
+1
-2
1 addition, 2 deletions
src/include/c.h
src/include/libpq/crypt.h
+1
-3
1 addition, 3 deletions
src/include/libpq/crypt.h
with
5 additions
and
22 deletions
src/backend/libpq/md5.c
+
3
−
17
View file @
cb7fc63d
...
...
@@ -14,19 +14,11 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/libpq/md5.c,v 1.2
5
2004/0
8
/2
9
04:1
2:32 momjian
Exp $
* $PostgreSQL: pgsql/src/backend/libpq/md5.c,v 1.2
6
2004/0
9
/2
7
04:1
8:28 neilc
Exp $
*/
/*
* NOTE:
*
* There are two copies of this file, one in backend/libpq and another
* in interfaces/odbc. They should be identical. This is done so ODBC
* can be compiled stand-alone.
*/
#if ! defined(MD5_ODBC) && ! defined(FRONTEND)
#if ! defined(FRONTEND)
#include
"postgres.h"
#include
"libpq/crypt.h"
#endif
...
...
@@ -34,18 +26,12 @@
#ifdef FRONTEND
#include
"postgres_fe.h"
#include
"libpq/crypt.h"
#endif
/* FRONTEND */
#ifdef MD5_ODBC
#include
"md5.h"
#endif
#ifdef FRONTEND
#undef palloc
#define palloc malloc
#undef pfree
#define pfree free
#endif
#endif
/* FRONTEND */
/*
...
...
This diff is collapsed.
Click to expand it.
src/include/c.h
+
1
−
2
View file @
cb7fc63d
...
...
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/c.h,v 1.17
4
2004/09/2
6 15:13:42 tgl
Exp $
* $PostgreSQL: pgsql/src/include/c.h,v 1.17
5
2004/09/2
7 04:18:28 neilc
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -231,7 +231,6 @@ typedef signed int int32; /* == 32 bits */
* used for numerical computations and the
* frontend/backend protocol.
*/
/* Also defined in interfaces/odbc/md5.h */
#ifndef HAVE_UINT8
typedef
unsigned
char
uint8
;
/* == 8 bits */
typedef
unsigned
short
uint16
;
/* == 16 bits */
...
...
This diff is collapsed.
Click to expand it.
src/include/libpq/crypt.h
+
1
−
3
View file @
cb7fc63d
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/libpq/crypt.h,v 1.2
8
2004/0
8
/2
9
04:1
3:07 momjian
Exp $
* $PostgreSQL: pgsql/src/include/libpq/crypt.h,v 1.2
9
2004/0
9
/2
7
04:1
8:28 neilc
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -15,7 +15,6 @@
#include
"libpq/libpq-be.h"
/* Also defined in interfaces/odbc/md5.h */
#define MD5_PASSWD_LEN 35
#define isMD5(passwd) (strncmp((passwd),"md5",3) == 0 && \
...
...
@@ -27,7 +26,6 @@ extern int md5_crypt_verify(const Port *port, const char *user,
extern
bool
md5_hash
(
const
void
*
buff
,
size_t
len
,
char
*
hexsum
);
extern
bool
CheckMD5Pwd
(
char
*
passwd
,
char
*
storedpwd
,
char
*
seed
);
/* Also defined in interfaces/odbc/md5.h */
extern
bool
EncryptMD5
(
const
char
*
passwd
,
const
char
*
salt
,
size_t
salt_len
,
char
*
buf
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment