# Makefile for utils/adt
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/utils/adt/Makefile,v 1.4 1997/03/04 05:32:04 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/backend/utils/adt/Makefile,v 1.5 1997/03/09 20:40:50 momjian Exp $
#
#-------------------------------------------------------------------------
CFLAGS+=$(INCLUDE_OPT)
OBJS = acl.o arrayfuncs.o arrayutils.o bool.o char.o chunk.o date.o \
- datum.o dt.o filename.o float.o geo-ops.o geo-selfuncs.o int.o \
+ datum.o dt.o filename.o float.o geo_ops.o geo_selfuncs.o int.o \
misc.o nabstime.o name.o not_in.o numutils.o oid.o \
oidname.o oidint2.o oidint4.o oracle_compat.o \
regexp.o regproc.o selfuncs.o \
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/geo-ops.c,v 1.3 1996/11/03 06:53:06 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.1 1997/03/09 20:40:55 momjian Exp $
*
*-------------------------------------------------------------------------
*/
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/geo-selfuncs.c,v 1.2 1996/11/10 03:03:13 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_selfuncs.c,v 1.1 1997/03/09 20:40:57 momjian Exp $
*
* XXX These are totally bogus.
*
/*
* Edmund Mergl <E.Mergl@bawue.de>
*
- * $Id: oracle_compat.c,v 1.1 1997/03/04 05:32:06 scrappy Exp $
+ * $Id: oracle_compat.c,v 1.2 1997/03/09 20:40:58 momjian Exp $
*
*/
#include <ctype.h>
#include "postgres.h"
+#include "utils/builtins.h" /* where function declarations go */
/********************************************************************
*
*
* 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.
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 */