mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
Merge duplicate upper/lower/initcap() routines in oracle_compat.c and
formatting.c to use common code; remove duplicate functions and support routines that are no longer needed.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
/* -----------------------------------------------------------------------
|
||||
* formatting.h
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/utils/formatting.h,v 1.18 2008/01/01 19:45:59 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/include/utils/formatting.h,v 1.19 2008/06/23 19:27:19 momjian Exp $
|
||||
*
|
||||
*
|
||||
* Portions Copyright (c) 1999-2008, PostgreSQL Global Development Group
|
||||
@@ -21,6 +21,10 @@
|
||||
#include "fmgr.h"
|
||||
|
||||
|
||||
extern char *str_tolower(char *buff, size_t nbytes);
|
||||
extern char *str_toupper(char *buff, size_t nbytes);
|
||||
extern char *str_initcap(char *buff, size_t nbytes);
|
||||
|
||||
extern Datum timestamp_to_char(PG_FUNCTION_ARGS);
|
||||
extern Datum timestamptz_to_char(PG_FUNCTION_ARGS);
|
||||
extern Datum interval_to_char(PG_FUNCTION_ARGS);
|
||||
|
Reference in New Issue
Block a user