mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-21 03:13:05 +08:00
b866d2e2d7
family functions. Contain: conversion from a datetype to formatted text: to_char( datetime, text) to_char( timestamp, text) to_char( int4, text) to_char( int8, text) to_char( float4, text) to_char( float8, text) to_char( numeric, text) vice versa: to_date ( text, text) to_datetime ( text, text) to_timestamp ( text, text) to_number ( text, text) (convert to numeric) PostgreSQL to_char is very compatible with Oracle's to_char(), but not total exactly (now). Small differentions are in number formating. It will fix in next to_char() version. ! If will this patch aplly to the main tree, must be delete the current to_char version in contrib (directory "dateformat" and note in contrib's README), this patch not erase it (sorry Bruce). The patch patching files: doc/src/sgml/func.sgml ^^^^^^^^ Hmm, I'm not sure if my English... :( Check it anyone (volunteer)? Thomas, it is right? SGML is not my primary lang and compile the current PG docs tree is very happy job (hard variables setting in docs/sgml/Makefile --> HSTYLE= /home/users/t/thomas/.... :-) What add any definition to global configure.in and set Makefiles in docs tree via ./configure? src/backend/utils/adt/Makefile src/backend/utils/adt/formatting.c src/include/catalog/pg_proc.h src/include/utils/formatting.h Karel Zak <zakkr@zf.jcu.cz> http://home.zf.jcu.cz/~zakkr/
86 lines
1.9 KiB
Plaintext
86 lines
1.9 KiB
Plaintext
This directory contains the contribution functions or tools.
|
|
|
|
---------------------------------------------------------------------------
|
|
|
|
apache_logging -
|
|
Getting Apache to log to PostgreSQL
|
|
by Terry Mackintosh <terry@terrym.com>
|
|
|
|
array -
|
|
Array iterator functions
|
|
by Massimo Dal Zotto <dz@cs.unitn.it>
|
|
|
|
bit -
|
|
Bit type
|
|
by Adriaan Joubert <a.joubert@albourne.com>
|
|
|
|
datetime -
|
|
Date & time functions
|
|
by Massimo Dal Zotto <dz@cs.unitn.it>
|
|
|
|
earthdistance -
|
|
Operator for computing earth distance for two points
|
|
by Hal Snyder <hal@vailsys.com>
|
|
|
|
findoidjoins -
|
|
Finds the joins used by oid columns by examining the actual
|
|
values in the oid columns and row oids.
|
|
by Bruce Momjian <root@candle.pha.pa.us>
|
|
|
|
fulltextindex -
|
|
Full text indexing using triggers
|
|
by Maarten Boekhold <maartenb@dutepp0.et.tudelft.nl>
|
|
|
|
isbn_issn -
|
|
PostgreSQL type extensions for ISBN (books) and ISSN (serials)
|
|
by Garrett A. Wollman <wollman@khavrinen.lcs.mit.edu>
|
|
|
|
linux -
|
|
Start postgres back end system
|
|
by Thomas Lockhart <lockhart@alumni.caltech.edu>
|
|
|
|
lo -
|
|
Large Object maintenance
|
|
by Peter Mount <peter@retep.org.uk>
|
|
|
|
miscutil -
|
|
Postgres assert checking and various utility functions
|
|
by Dal Zotto <dz@cs.unitn.it>
|
|
|
|
mSQL-interface -
|
|
mSQL API translation library
|
|
by Aldrin Leal <aldrin@americasnet.com>
|
|
|
|
noupdate -
|
|
trigger to prevent updates on single columns
|
|
|
|
soundex -
|
|
Prototype for soundex function
|
|
|
|
spi -
|
|
A general trigger function autoinc() and so on.
|
|
|
|
string -
|
|
C-like input/output conversion routines for strings
|
|
by Massimo Dal Zotto <dz@cs.unitn.it>
|
|
|
|
tools -
|
|
Assorted developer tools
|
|
by Massimo Dal Zotto <dz@cs.unitn.it>
|
|
|
|
unixdate -
|
|
Conversions from integer to datetime
|
|
by Thomas Lockhart <lockhart@alumni.caltech.edu>
|
|
|
|
userlock -
|
|
User locks
|
|
by Massimo Dal Zotto <dz@cs.unitn.it>
|
|
|
|
vacuumlo -
|
|
Remove orphaned large objects
|
|
by Peter T Mount <peter@retep.org.uk>
|
|
|
|
pgbench -
|
|
TPC-B like benchmarking tool
|
|
by Tatsuo Ishii <t-ishii@sra.co.jp>
|