Eneboo - Documentación para desarrolladores
|
00001 00002 /* ----------------------------------------------------------------------- 00003 * formatting.h 00004 * 00005 * $PostgreSQL: pgsql/src/include/utils/formatting.h,v 1.15 2005/01/01 05:43:09 momjian Exp $ 00006 * 00007 * 00008 * Portions Copyright (c) 1999-2005, PostgreSQL Global Development Group 00009 * 00010 * The PostgreSQL routines for a DateTime/int/float/numeric formatting, 00011 * inspire with Oracle TO_CHAR() / TO_DATE() / TO_NUMBER() routines. 00012 * 00013 * Karel Zak 00014 * 00015 * ----------------------------------------------------------------------- 00016 */ 00017 00018 #ifndef _FORMATTING_H_ 00019 #define _FORMATTING_H_ 00020 00021 #include "fmgr.h" 00022 00023 00024 extern Datum timestamp_to_char(PG_FUNCTION_ARGS); 00025 extern Datum timestamptz_to_char(PG_FUNCTION_ARGS); 00026 extern Datum interval_to_char(PG_FUNCTION_ARGS); 00027 extern Datum to_timestamp(PG_FUNCTION_ARGS); 00028 extern Datum to_date(PG_FUNCTION_ARGS); 00029 extern Datum numeric_to_number(PG_FUNCTION_ARGS); 00030 extern Datum numeric_to_char(PG_FUNCTION_ARGS); 00031 extern Datum int4_to_char(PG_FUNCTION_ARGS); 00032 extern Datum int8_to_char(PG_FUNCTION_ARGS); 00033 extern Datum float4_to_char(PG_FUNCTION_ARGS); 00034 extern Datum float8_to_char(PG_FUNCTION_ARGS); 00035 00036 #endif