summaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
...
* Add pgench: a TPC-B like benchmarking toolTatsuo Ishii2000-01-155-0/+1079
|
* I finish devel. of Oracle compatible DateTime routines TO_CHAR(),Bruce Momjian1999-11-2910-0/+1878
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/
* Attached are the C-routines that implement a BIT and BIT VARYING type.Bruce Momjian1999-11-296-0/+1213
| | | | Adriaan Joubert
* Add pginterface into main tree, called pgeasy.Bruce Momjian1999-10-1112-811/+1
|
* Update contrib/README.Bruce Momjian1999-10-091-4/+0
|
* Remove contrib/int8.Bruce Momjian1999-10-095-858/+0
|
* Apply contrib patch from MassimoBruce Momjian1999-09-2716-8/+81
|
* Mega-commit to make heap_open/heap_openr/heap_close take anTom Lane1999-09-181-8/+2
| | | | | | | | | | | | | | | | | additional argument specifying the kind of lock to acquire/release (or 'NoLock' to do no lock processing). Ensure that all relations are locked with some appropriate lock level before being examined --- this ensures that relevant shared-inval messages have been processed and should prevent problems caused by concurrent VACUUM. Fix several bugs having to do with mismatched increment/decrement of relation ref count and mismatched heap_open/close (which amounts to the same thing). A bogus ref count on a relation doesn't matter much *unless* a SI Inval message happens to arrive at the wrong time, which is probably why we got away with this sloppiness for so long. Repair missing grab of AccessExclusiveLock in DROP TABLE, ALTER/RENAME TABLE, etc, as noted by Hiroshi. Recommend 'make clean all' after pulling this update; I modified the Relation struct layout slightly. Will post further discussion to pghackers list shortly.
* Update from MassimoBruce Momjian1999-06-051-0/+4
|
* Hi,Bruce Momjian1999-06-0525-151/+536
| | | | | | | | | | | | | | | | I have updated my contrib code for version 6.5. In the attachment you will find the directories array, datetime, miscutil, string, tools and userlocks which replace the corresponding directories under contrib. In contrib/tools you will find some developement scripts which I use while hacking the sources. I hope they will be useful for some other people. I have also added a contrib/Makefile which tries to compile and install all the contribs. Unfortunately many of them don't have a Makefile or don't compile cleanly. -- Massimo Dal Zotto
* typedef struct LTAGVadim B. Mikheev1999-06-011-16/+13
| | | | | | | | | | | | | | | | | | | | | | | { Oid relId; Oid dbId; union { BlockNumber blkno; TransactionId xid; } objId; > > Added: > /* > * offnum should be part of objId.tupleId above, but would increase > * sizeof(LOCKTAG) and so moved here; currently used by userlocks only. > */ > OffsetNumber offnum; uint16 lockmethod; /* needed by userlocks */ } LOCKTAG; gmake clean required... User locks are ready for 6.5 release...
* Another pgindent run. Sorry folks.Bruce Momjian1999-05-252-47/+48
|
* Make 0x007f -> (unsigned)0x7f to make pgindent happy.Bruce Momjian1999-05-251-1/+1
|
* pgindent run over code.Bruce Momjian1999-05-2525-851/+1027
|
* Remove more -B parameters not needed.Bruce Momjian1999-05-232-6/+6
|
* Updates for 6.5.Bruce Momjian1999-05-171-0/+109
|
* Undo collateral damage from recent patch: Makefile hadTom Lane1999-05-161-3/+7
| | | | lost most of target list and thus 'make clean' didn't clean up very well.
* I am sorry, I misinterpreted the still failing trigger regression test.Bruce Momjian1999-05-121-2/+0
| | | | | | | | | | | | | | | | | The offending code has been removed, the action is now always dependent :-) I suggest the following patch, to finally make trigger regression happy again: <<refint1.patch>> After that you can remove the following from TODO: Remove ERROR: check_primary_key: even number of arguments should be specified Trigger regression test fails Andreas
* I send you a attach of my modified refint.c thatBruce Momjian1999-05-109-156/+424
| | | | | | | | | | | | works with a new policy in cascade mode . Please Read README.MAX . I do not know if you are the author of refint.c , but if not please tell me who is . Thank you ( excuse me for my bad english) . Massimo Lambertini massimo.lambertini@everex.it
* This patch is to add more commentsBruce Momjian1999-05-101-47/+134
| | | | | | | | | | | | | | | | | | to postgres.init.sh , clairify the options available, and to add easy support for installation of postgres into the runlevel system. "sh postgres.init.sh install" Will now install "postgres" in the /etc/rc.d/init.d directory and execute /sbin/chkconfig to hook up the symbolic links. An uninstall option is also added. Enclosed is the patch and the patched file Clark
* add mention of large object orphaningBruce Momjian1999-05-101-2/+3
|
* vacuumlo deals with large objects not referenced by any tables and removes them.Peter Mount1999-04-103-0/+263
|
* Delete unused system table pg_parg.Tom Lane1999-03-271-14/+15
|
* Update findoidjoins for 6.5: remove workaround for long-dead bug,Tom Lane1999-03-264-31/+50
| | | | | use NOT EXISTS() which is a lot faster than NOT IN (), update documentation.
* contrib/array_iterator/array_iterator.c won't compile.Bruce Momjian1999-03-161-2/+4
| | | | | | Included patches should fix the problem. -- Tatsuo Ishii
* Hi All,Bruce Momjian1999-03-151-7/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I've changed the check_primary_key() function code to allow for either the "automatic insert key rule" or "dependent insert key rule". Previously it restricted the addtion of a child entry if the corresponding parent entry was not there. Now if the option is "automatic" it will add an entry in the parent too ( it will be successful if there are no no-null fields in the parent apart from the primary key). The way to use it now is: :/* * check_primary_key () -- check that key in tuple being inserted/updated * references existing tuple in "primary" table. * Though it's called without args You have to specify referenced * table/keys while creating trigger: key field names in triggered table, * referenced table name, referenced key field names,type of action [automatic|dependent]: * EXECUTE PROCEDURE * check_primary_key ('Fkey1', 'Fkey2', 'Ptable', 'Pkey1', 'Pkey2', '[automatic|dependent]'). */ I am attaching the new ../contrib/spi/refint.c file which will do this. I will be glad to help in case of any problems. - Anand.
* i have made minor changes to array_iterator to make it work withBruce Momjian1999-01-213-34/+163
| | | | | | | | | pgsql-6.3.2. I think array_iterator is a great thing to have!!! With best regards, Tobias Gabele
* Replace direct inclusions of c.h with inclusion of postgres.h,Tom Lane1999-01-171-1/+1
| | | | to ensure that config.h is included as well.
* OK, here is a diff for the README file in /usr/src/pgsql/contrib/spi/.Bruce Momjian1998-12-141-0/+12
| | | | | | | For the 6.5 tree. Have a great night. Terry
* New moddatetime contrib from Terry Mackintosh.Bruce Momjian1998-12-124-1/+140
|
* New HeapTuple structure/interface.Vadim B. Mikheev1998-11-271-1/+1
|
* csh and sh examples were reversed.Thomas G. Lockhart1998-11-252-10/+26
| | | | Update the csh example with new comments and fixes from Thomas' linux box.
* Thanks to Vince Vielhaber <vev@michvhf.com>Marc G. Fournier1998-10-317-0/+998
| | | | Here is an os2 psql client, with libpq.a library
* > > There is a bug in check_foreign_key of refint.c which is bundled withBruce Momjian1998-10-061-0/+2
| | | | | | | | | | | | | > > the standard distribution. It occurs when a trigger calling this > > function recursively fires another trigger which calls the same > > function. The calling check_foreign_key loses its plan informantion and > > when it tries to use it the backend closes its channel. You can check it > > with the sql script I am attaching below. > > The solution to this is to do a find_plan again before executing it at > > line 483 of refint.c. > > Therefore two more lines should be added before line 483: Anand Surelia
* Integrate new IP type from Tom Ivar Helbekkmo.Bruce Momjian1998-10-0317-3302/+0
|
* Add new make_oidjoin_check utility and template1_check.sql. Fix someBruce Momjian1998-09-144-2/+39
| | | | pg_operator problems.
* update pginterfaceBruce Momjian1998-09-111-24/+0
|
* Update pginterface for 6.4. add manual page.Bruce Momjian1998-09-113-23/+119
|
* sequence contrib directory removed, as already integrated into the mainMarc G. Fournier1998-08-304-145/+0
| | | | backend...
* From: Massimo Dal Zotto <dz@cs.unitn.it>Marc G. Fournier1998-08-3025-424/+435
| | | | | | | | | | Here is a tar file the new directories, which substitute the old ones in contrib. Please remove the old directories array, datetime, miscutil, string and userlock before unpacking the tar file in contrib. Note that as the modules are now installed in lib/modules I install all my sql code in lib/sql. In my opinion also the other contributors should follow these rules.
* move plpgsql to src/pl for Jan.Bruce Momjian1998-08-2421-9895/+0
|
* fulltext copy script.Bruce Momjian1998-08-221-0/+204
|
* As proposed, here is the current version of PL/pgSQL. TheBruce Momjian1998-08-2222-0/+9899
| | | | | | | | | | | | | | | | test isn't that complete up to now, but I think it shows enough of the capabilities of the module. The Makefile assumes it is located in a directory under pgsql/src/pl. Since it includes Makefile.global and Makefile.port and doesn't use any own compiler/linker calls, it should build on most of our supported platforms (I only tested under Linux up to now). It requires flex and bison I think. Maybe we should ship prepared gram.c etc. like for the main parser too? Jan
* From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>Marc G. Fournier1998-08-177-0/+646
| | | | | | Here is some more contrib-fodder, based on TIH's IP address type, for ISBN and ISSN identifiers (which I just happened to need to keep track of the things in my library).
* Change owner from oid to int4 type.Bruce Momjian1998-08-112-30/+23
|
* Remove NOBTREE defines, and make findoidlinks handle regproc.Bruce Momjian1998-08-112-24/+57
|
* New findoidjoins examines oid columns to find join relationships.Bruce Momjian1998-08-117-1/+266
|
* Add contributor name to fulltextindex, and clean up contrib/README.Bruce Momjian1998-07-202-61/+77
|
* Update fti README and stopwords.Bruce Momjian1998-07-202-0/+8
|
* Update list of contrib directories.Bruce Momjian1998-07-201-2/+16
|