We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 939a40b commit 2c39ab1Copy full SHA for 2c39ab1
src/interfaces/libpq/fe-connect.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.373 2009/04/24 09:43:10 mha Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.374 2009/05/18 16:15:22 tgl Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -3779,7 +3779,7 @@ pwdfMatchesString(char *buf, char *token)
3779
return NULL;
3780
tbuf = buf;
3781
ttok = token;
3782
- if (*tbuf == '*')
+ if (tbuf[0] == '*' && tbuf[1] == ':')
3783
return tbuf + 2;
3784
while (*tbuf != 0)
3785
{
0 commit comments