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
5a5cb300
Commit
5a5cb300
authored
Dec 05, 1997
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tolower loops to go in proper direction for cache.
parent
84fc5c4a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
src/backend/commands/define.c
src/backend/commands/define.c
+2
-2
src/backend/commands/proclang.c
src/backend/commands/proclang.c
+1
-1
src/backend/parser/scan.l
src/backend/parser/scan.l
+2
-2
src/bin/psql/psql.c
src/bin/psql/psql.c
+3
-3
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-connect.c
+2
-2
src/interfaces/libpq/fe-exec.c
src/interfaces/libpq/fe-exec.c
+2
-2
No files found.
src/backend/commands/define.c
View file @
5a5cb300
...
...
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.1
8 1997/11/26 04:50:28
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.1
9 1997/12/05 01:12:40
momjian Exp $
*
* DESCRIPTION
* The "DefineFoo" routines take the parse tree and pick out the
...
...
@@ -69,7 +69,7 @@ case_translate_language_name(const char *input, char *output)
--------------------------------------------------------------------------*/
int
i
;
for
(
i
=
0
;
i
<
NAMEDATALEN
&&
input
[
i
]
!=
'\0'
;
++
i
)
for
(
i
=
0
;
i
<
NAMEDATALEN
&&
input
[
i
];
++
i
)
output
[
i
]
=
tolower
(
input
[
i
]);
output
[
i
]
=
'\0'
;
...
...
src/backend/commands/proclang.c
View file @
5a5cb300
...
...
@@ -28,7 +28,7 @@ case_translate_language_name(const char *input, char *output)
--------------------------------------------------------------------------*/
int
i
;
for
(
i
=
0
;
i
<
NAMEDATALEN
&&
input
[
i
]
!=
'\0'
;
++
i
)
for
(
i
=
0
;
i
<
NAMEDATALEN
&&
input
[
i
];
++
i
)
output
[
i
]
=
tolower
(
input
[
i
]);
output
[
i
]
=
'\0'
;
...
...
src/backend/parser/scan.l
View file @
5a5cb300
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.3
1 1997/11/30 23:05:36 thomas
Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.3
2 1997/12/05 01:12:53 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -355,7 +355,7 @@ other .
int i;
ScanKeyword *keyword;
for(i =
strlen(yytext); i >= 0; i--
)
for(i =
0; yytext[i]; i++
)
if (isupper(yytext[i]))
yytext[i] = tolower(yytext[i]);
...
...
src/bin/psql/psql.c
View file @
5a5cb300
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.11
8 1997/11/30 17:46:0
1 momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.11
9 1997/12/05 01:13:1
1 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -558,7 +558,7 @@ tableDesc(PsqlSettings *pset, char *table, FILE *fout)
}
else
{
for
(
i
=
strlen
(
table
);
i
>=
0
;
i
--
)
for
(
i
=
0
;
table
[
i
];
i
++
)
if
(
isupper
(
table
[
i
]))
table
[
i
]
=
tolower
(
table
[
i
]);
}
...
...
@@ -708,7 +708,7 @@ objectDescription(PsqlSettings *pset, char *object, FILE *fout)
}
else
{
for
(
i
=
strlen
(
object
);
i
>=
0
;
i
--
)
for
(
i
=
0
;
object
[
i
];
i
++
)
if
(
isupper
(
object
[
i
]))
object
[
i
]
=
tolower
(
object
[
i
]);
}
...
...
src/interfaces/libpq/fe-connect.c
View file @
5a5cb300
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.5
2 1997/12/04 20:32:35
momjian Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.5
3 1997/12/05 01:13:21
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -444,7 +444,7 @@ PQsetdbLogin(const char *pghost, const char *pgport, const char *pgoptions, cons
*
(
conn
->
dbName
+
strlen
(
conn
->
dbName
)
-
1
)
=
'\0'
;
}
else
for
(
i
=
strlen
(
conn
->
dbName
);
i
>=
0
;
i
--
)
for
(
i
=
0
;
conn
->
dbName
[
i
];
i
++
)
if
(
isupper
(
conn
->
dbName
[
i
]))
conn
->
dbName
[
i
]
=
tolower
(
conn
->
dbName
[
i
]);
}
...
...
src/interfaces/libpq/fe-exec.c
View file @
5a5cb300
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.4
3 1997/12/04 23:28:20 thomas
Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.4
4 1997/12/05 01:13:24 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1697,7 +1697,7 @@ PQfnumber(PGresult *res, const char *field_name)
*
(
field_case
+
strlen
(
field_case
)
-
1
)
=
'\0'
;
}
else
for
(
i
=
0
;
i
<
strlen
(
field_case
)
;
i
++
)
for
(
i
=
0
;
field_case
[
i
]
;
i
++
)
if
(
isupper
(
field_case
[
i
]))
field_case
[
i
]
=
tolower
(
field_case
[
i
]);
...
...
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