1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Add prototypes for oracle-compat functions. Rename geo-*.c adt to geo_*.c

This commit is contained in:
Bruce Momjian
1997-03-09 20:41:02 +00:00
parent d8023a00bd
commit b913dd1f9e
5 changed files with 19 additions and 6 deletions

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: builtins.h,v 1.9 1997/02/19 20:11:05 momjian Exp $
* $Id: builtins.h,v 1.10 1997/03/09 20:41:02 momjian Exp $
*
* NOTES
* This should normally only be included by fmgr.h.
@@ -486,6 +486,18 @@ extern bool textlike(struct varlena *s, struct varlena *p);
extern bool textnlike(struct varlena *s, struct varlena *p);
extern int like(char *text, char *p);
/* oracle_compat.c */
extern text *lower(text *string);
extern text *upper(text *string);
extern text *initcap(text *string);
extern text *lpad(text *string1, int4 len, text *string2);
extern text *rpad(text *string1, int4 len, text *string2);
extern text *ltrim(text *string, text *set);
extern text *rtrim(text *string, text *set);
extern text *substr(text *string, int4 m, int4 n);
extern text *translate(text *string, char from, char to);
/* acl.c */
#endif /* BUILTINS_H */