31edbadf4a
from the other string-category types; this eliminates a lot of surprising interpretations that the parser could formerly make when there was no directly applicable operator. Create a general mechanism that supports casts to and from the standard string types (text,varchar,bpchar) for *every* datatype, by invoking the datatype's I/O functions. These new casts are assignment-only in the to-string direction, explicit-only in the other, and therefore should create no surprising behavior. Remove a bunch of thereby-obsoleted datatype-specific casting functions. The "general mechanism" is a new expression node type CoerceViaIO that can actually convert between *any* two datatypes if their external text representations are compatible. This is more general than needed for the immediate feature, but might be useful in plpgsql or other places in future. This commit does nothing about the issue that applying the concatenation operator || to non-text types will now fail, often with strange error messages due to misinterpreting the operator as array concatenation. Since it often (not always) worked before, we should either make it succeed or at least give a more user-friendly error; but details are still under debate. Peter Eisentraut and Tom Lane |
||
---|---|---|
.. | ||
adminpack | ||
btree_gist | ||
chkpass | ||
cube | ||
dblink | ||
earthdistance | ||
fuzzystrmatch | ||
hstore | ||
intagg | ||
intarray | ||
isn | ||
lo | ||
ltree | ||
oid2name | ||
pageinspect | ||
pg_buffercache | ||
pg_freespacemap | ||
pg_standby | ||
pg_trgm | ||
pgbench | ||
pgcrypto | ||
pgrowlocks | ||
pgstattuple | ||
seg | ||
spi | ||
sslinfo | ||
start-scripts | ||
tablefunc | ||
tsearch2 | ||
uuid-ossp | ||
vacuumlo | ||
xml2 | ||
contrib-global.mk | ||
Makefile | ||
README |
The PostgreSQL contrib tree --------------------------- This subtree contains porting tools, analysis utilities, and plug-in features that are not part of the core PostgreSQL system, mainly because they address a limited audience or are too experimental to be part of the main source tree. This does not preclude their usefulness. Each subdirectory contains a README file with information about the module. Most items can be built with `gmake all' and installed with `gmake install' in the usual fashion, after you have run the `configure' script in the top-level directory. Some directories supply new user-defined functions, operators, or types. In these cases, after you have installed the files you need to register the new entities in the database system by running the commands in the supplied .sql file. For example, $ psql -d dbname -f module.sql See the PostgreSQL documentation for more information about this procedure. Index: ------ adminpack - File and log manipulation routines, used by pgAdmin by Dave Page <dpage@vale-housing.co.uk> btree_gist - Support for emulating BTREE indexing in GiST by Oleg Bartunov <oleg@sai.msu.su> and Teodor Sigaev <teodor@sigaev.ru> chkpass - An auto-encrypted password datatype by D'Arcy J.M. Cain <darcy@druid.net> cube - Multidimensional-cube datatype (GiST indexing example) by Gene Selkov, Jr. <selkovjr@mcs.anl.gov> dblink - Allows remote query execution by Joe Conway <mail@joeconway.com> earthdistance - Operator for computing earth distance for two points by Hal Snyder <hal@vailsys.com> fuzzystrmatch - Levenshtein, metaphone, and soundex fuzzy string matching by Joe Conway <mail@joeconway.com>, Joel Burton <jburton@scw.org> hstore - Hstore - module for storing (key,value) pairs by Oleg Bartunov <oleg@sai.msu.su> and Teodor Sigaev <teodor@sigaev.ru> intagg - Integer aggregator by mlw <markw@mohawksoft.com> intarray - Index support for arrays of int4, using GiST by Teodor Sigaev <teodor@sigaev.ru> and Oleg Bartunov <oleg@sai.msu.su> isn - PostgreSQL type extensions for ISBN, ISSN, ISMN, EAN13 product numbers by Germ<72>n M<>ndez Bravo (Kronuz) <kronuz@hotmail.com> lo - Large Object maintenance by Peter Mount <peter@retep.org.uk> ltree - Tree-like data structures by Teodor Sigaev <teodor@sigaev.ru> and Oleg Bartunov <oleg@sai.msu.su> oid2name - Maps numeric files to table names by B Palmer <bpalmer@crimelabs.net> pageinspect - Allows inspection of database pages Heikki Linnakangas <heikki@enterprisedb.com> pg_buffercache - Real time queries on the shared buffer cache by Mark Kirkwood <markir@paradise.net.nz> pg_freespacemap - Displays the contents of the free space map (FSM) by Mark Kirkwood <markir@paradise.net.nz> pg_trgm - Functions for determining the similarity of text based on trigram matching. by Oleg Bartunov <oleg@sai.msu.su> and Teodor Sigaev <teodor@sigaev.ru> pgbench - TPC-B like benchmarking tool by Tatsuo Ishii <ishii@sraoss.co.jp> pgcrypto - Cryptographic functions by Marko Kreen <marko@l-t.ee> pgrowlocks - A function to return row locking information by Tatsuo Ishii <ishii@sraoss.co.jp> pgstattuple - A function to return statistics about "dead" tuples and free space within a table by Tatsuo Ishii <ishii@sraoss.co.jp> seg - Confidence-interval datatype (GiST indexing example) by Gene Selkov, Jr. <selkovjr@mcs.anl.gov> spi - Various trigger functions, examples for using SPI. sslinfo - Functions to get information about SSL certificates by Victor Wagner <vitus@cryptocom.ru> start-scripts - Scripts for starting the server at boot time. tablefunc - Examples of functions returning tables by Joe Conway <mail@joeconway.com> tsearch2 - Full-text-index support using GiST by Teodor Sigaev <teodor@sigaev.ru> and Oleg Bartunov <oleg@sai.msu.su>. uuid-ossp - UUID generation functions by Peter Eisentraut <peter_e@gmx.net> vacuumlo - Remove orphaned large objects by Peter T Mount <peter@retep.org.uk> xml2 - Storing XML in PostgreSQL by John Gray <jgray@azuli.co.uk>