6
6
*
7
7
* Copyright (c) 1994, Regents of the University of California
8
8
*
9
- * $Id: be-fsstubs.h,v 1.1 1996/08/28 07:22:56 scrappy Exp $
9
+ * $Id: be-fsstubs.h,v 1.2 1997/05/06 07:14:34 thomas Exp $
10
10
*
11
11
*-------------------------------------------------------------------------
12
12
*/
13
13
#ifndef BE_FSSTUBS_H
14
14
#define BE_FSSTUBS_H
15
15
16
+ /* Redefine names LOread() and LOwrite() to be lowercase to allow calling
17
+ * using the new v6.1 case-insensitive SQL parser. Define macros to allow
18
+ * the existing code to stay the same. - tgl 97/05/03
19
+ */
20
+
21
+ #define LOread (f ,l ) loread(f,l)
22
+ #define LOwrite (f ,b ) lowrite(f,b)
23
+
16
24
extern Oid lo_import (text * filename );
17
25
extern int4 lo_export (Oid lobjId , text * filename );
18
26
@@ -26,7 +34,7 @@ extern int lo_lseek(int fd, int offset, int whence);
26
34
extern int lo_tell (int fd );
27
35
extern int lo_unlink (Oid lobjId );
28
36
29
- extern struct varlena * LOread (int fd , int len );
30
- extern int LOwrite (int fd , struct varlena * wbuf );
31
-
37
+ extern struct varlena * loread (int fd , int len );
38
+ extern int lowrite (int fd , struct varlena * wbuf );
39
+
32
40
#endif /* BE_FSSTUBS_H */
0 commit comments