1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Fox case-sensitivity for \d and allow trailing ; on backslash commands.

This commit is contained in:
Bruce Momjian
1997-06-29 17:29:28 +00:00
parent 1952f15c5c
commit 43deb7a45f
2 changed files with 10 additions and 4 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.12 1997/03/02 01:03:16 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.13 1997/06/29 17:29:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -167,7 +167,7 @@ other .
int i;
ScanKeyword *keyword;
for(i = 0; i < strlen(yytext); i++)
for(i = strlen(yytext); i >= 0; i--)
if (isupper(yytext[i]))
yytext[i] = tolower(yytext[i]);