postgresql/contrib
Bruce Momjian 1c5aec60bb I finish devel. of Oracle compatible DateTime routines TO_CHAR(),
TO_DATE()
and PgSQL extension FROM_CHAR().

TO_CHAR() routine allow formating text output with a datetime values:

        SELECT TO_CHAR('now'::datetime, '"Now is: "HH24:MI:SS');
        to_char
        ----------------
        Now is: 21:04:10

FROM_CHAR() routine allow convert text to a datetime:

        SELECT FROM_CHAR('September 1999 10:20:30', 'FMMonth YYYY
HH:MI:SS');
        from_char
        -----------------------------
        Wed Sep 01 10:20:30 1999 CEST

TO_DATE() is equal with FROM_CHAR(), but output a Date only:

        SELECT TO_DATE('September 1999 10:20:30', 'FMMonth YYYY
HH:MI:SS');
        to_date
        ----------
        09-01-1999


In attache is compressed dir for the contrib. All is prepared, but I'am
not
sure if Makefile is good (probably yes).

Comments & suggestions ?


Thomas, thank you for your good advices.

                                                        Karel


------------------------------------------------------------------------------

Karel Zak <zakkr@zf.jcu.cz>
http://home.zf.jcu.cz/~zakkr/
1999-11-29 23:26:18 +00:00
..
apache_logging Contribution for logging Apache Web stats to PostgreSQL 1998-03-22 02:03:00 +00:00
array Apply contrib patch from Massimo 1999-09-27 20:04:14 +00:00
bit Attached are the C-routines that implement a BIT and BIT VARYING type. 1999-11-29 22:34:36 +00:00
dateformat I finish devel. of Oracle compatible DateTime routines TO_CHAR(), 1999-11-29 23:26:18 +00:00
datetime Apply contrib patch from Massimo 1999-09-27 20:04:14 +00:00
earthdistance pgindent run over code. 1999-05-25 16:15:34 +00:00
findoidjoins Add pginterface into main tree, called pgeasy. 1999-10-11 17:47:02 +00:00
fulltextindex pgindent run over code. 1999-05-25 16:15:34 +00:00
isbn_issn pgindent run over code. 1999-05-25 16:15:34 +00:00
linux Remove more -B parameters not needed. 1999-05-23 19:01:18 +00:00
lo pgindent run over code. 1999-05-25 16:15:34 +00:00
miscutil Apply contrib patch from Massimo 1999-09-27 20:04:14 +00:00
mSQL-interface pgindent run over code. 1999-05-25 16:15:34 +00:00
noupdate pgindent run over code. 1999-05-25 16:15:34 +00:00
os2client Another pgindent run. Sorry folks. 1999-05-25 22:43:53 +00:00
soundex Missed a few files that were added with the lib/modules patch... 1998-04-22 04:20:55 +00:00
spi pgindent run over code. 1999-05-25 16:15:34 +00:00
string Apply contrib patch from Massimo 1999-09-27 20:04:14 +00:00
tools Hi, 1999-06-05 19:09:48 +00:00
unixdate Remove some definitions which could not work; conversions from datetime 1998-02-11 04:24:20 +00:00
userlock Apply contrib patch from Massimo 1999-09-27 20:04:14 +00:00
vacuumlo pgindent run over code. 1999-05-25 16:15:34 +00:00
Makefile Apply contrib patch from Massimo 1999-09-27 20:04:14 +00:00
README I finish devel. of Oracle compatible DateTime routines TO_CHAR(), 1999-11-29 23:26:18 +00:00

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>

dateformat -
	Date Formatting to/from character strings
	by Karel Zak - Zakkr <zakkr@zf.jcu.cz>

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>