Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitef2821d

Browse files
author
Thomas G. Lockhart
committed
Change LOread() and LOwrite() to loread() and lowrite() to allow use
with case-insensitive SQL parser.
1 parentfad56c5 commitef2821d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎src/interfaces/libpq/fe-lobj.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-lobj.c,v 1.6 1996/12/28 02:13:05 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-lobj.c,v 1.7 1997/05/06 07:19:04 thomas Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -474,8 +474,8 @@ static int lo_initialize(PGconn *conn)
474474
or proname = 'lo_unlink'\
475475
or proname = 'lo_lseek'\
476476
or proname = 'lo_tell'\
477-
or proname = 'LOread'\
478-
or proname = 'LOwrite'");
477+
or proname = 'loread'\
478+
or proname = 'lowrite'");
479479
if (res== (PGresult*)NULL) {
480480
free(lobjfuncs);
481481
return-1;
@@ -514,10 +514,10 @@ static int lo_initialize(PGconn *conn)
514514
if(!strcmp(fname,"lo_tell")) {
515515
lobjfuncs->fn_lo_tell=foid;
516516
}else
517-
if(!strcmp(fname,"LOread")) {
517+
if(!strcmp(fname,"loread")) {
518518
lobjfuncs->fn_lo_read=foid;
519519
}else
520-
if(!strcmp(fname,"LOwrite")) {
520+
if(!strcmp(fname,"lowrite")) {
521521
lobjfuncs->fn_lo_write=foid;
522522
}
523523
}
@@ -567,13 +567,13 @@ static int lo_initialize(PGconn *conn)
567567
}
568568
if(lobjfuncs->fn_lo_read==0) {
569569
strcpy(conn->errorMessage,
570-
"ERROR: Cannot determine OID for functionLOread\n");
570+
"ERROR: Cannot determine OID for functionloread\n");
571571
free(lobjfuncs);
572572
return-1;
573573
}
574574
if(lobjfuncs->fn_lo_write==0) {
575575
strcpy(conn->errorMessage,
576-
"ERROR: Cannot determine OID for functionLOwrite\n");
576+
"ERROR: Cannot determine OID for functionlowrite\n");
577577
free(lobjfuncs);
578578
return-1;
579579
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp