mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add prototypes for oracle-compat functions. Rename geo-*.c adt to geo_*.c
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
# Makefile for utils/adt
|
# Makefile for utils/adt
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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 $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ INCLUDE_OPT = -I../.. \
|
|||||||
CFLAGS+=$(INCLUDE_OPT)
|
CFLAGS+=$(INCLUDE_OPT)
|
||||||
|
|
||||||
OBJS = acl.o arrayfuncs.o arrayutils.o bool.o char.o chunk.o date.o \
|
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 \
|
misc.o nabstime.o name.o not_in.o numutils.o oid.o \
|
||||||
oidname.o oidint2.o oidint4.o oracle_compat.o \
|
oidname.o oidint2.o oidint4.o oracle_compat.o \
|
||||||
regexp.o regproc.o selfuncs.o \
|
regexp.o regproc.o selfuncs.o \
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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 $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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.
|
* XXX These are totally bogus.
|
||||||
*
|
*
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Edmund Mergl <E.Mergl@bawue.de>
|
* 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 $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -9,6 +9,7 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
|
|
||||||
|
#include "utils/builtins.h" /* where function declarations go */
|
||||||
|
|
||||||
/********************************************************************
|
/********************************************************************
|
||||||
*
|
*
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* 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
|
* NOTES
|
||||||
* This should normally only be included by fmgr.h.
|
* 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 bool textnlike(struct varlena *s, struct varlena *p);
|
||||||
extern int like(char *text, char *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 */
|
/* acl.c */
|
||||||
|
|
||||||
#endif /* BUILTINS_H */
|
#endif /* BUILTINS_H */
|
||||||
|
Reference in New Issue
Block a user