summaryrefslogtreecommitdiff
path: root/contrib
AgeCommit message (Collapse)Author
1999-06-05Update from MassimoBruce Momjian
1999-06-05Hi,Bruce Momjian
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
1999-06-01typedef struct LTAGVadim B. Mikheev
{ 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...
1999-05-25Another pgindent run. Sorry folks.Bruce Momjian
1999-05-25Make 0x007f -> (unsigned)0x7f to make pgindent happy.Bruce Momjian
1999-05-25pgindent run over code.Bruce Momjian
1999-05-23Remove more -B parameters not needed.Bruce Momjian
1999-05-17Updates for 6.5.Bruce Momjian
1999-05-16Undo collateral damage from recent patch: Makefile hadTom Lane
lost most of target list and thus 'make clean' didn't clean up very well.
1999-05-12I am sorry, I misinterpreted the still failing trigger regression test.Bruce Momjian
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
1999-05-10I send you a attach of my modified refint.c thatBruce Momjian
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
1999-05-10This patch is to add more commentsBruce Momjian
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
1999-05-10add mention of large object orphaningBruce Momjian
1999-04-10vacuumlo deals with large objects not referenced by any tables and removes them.Peter Mount
1999-03-27Delete unused system table pg_parg.Tom Lane
1999-03-26Update findoidjoins for 6.5: remove workaround for long-dead bug,Tom Lane
use NOT EXISTS() which is a lot faster than NOT IN (), update documentation.
1999-03-16contrib/array_iterator/array_iterator.c won't compile.Bruce Momjian
Included patches should fix the problem. -- Tatsuo Ishii
1999-03-15Hi All,Bruce Momjian
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.
1999-01-21i have made minor changes to array_iterator to make it work withBruce Momjian
pgsql-6.3.2. I think array_iterator is a great thing to have!!! With best regards, Tobias Gabele
1999-01-17Replace direct inclusions of c.h with inclusion of postgres.h,Tom Lane
to ensure that config.h is included as well.
1998-12-14OK, here is a diff for the README file in /usr/src/pgsql/contrib/spi/.Bruce Momjian
For the 6.5 tree. Have a great night. Terry
1998-12-12New moddatetime contrib from Terry Mackintosh.Bruce Momjian
1998-11-27New HeapTuple structure/interface.Vadim B. Mikheev
1998-11-25csh and sh examples were reversed.Thomas G. Lockhart
Update the csh example with new comments and fixes from Thomas' linux box.
1998-10-31Thanks to Vince Vielhaber <vev@michvhf.com>Marc G. Fournier
Here is an os2 psql client, with libpq.a library
1998-10-06> > There is a bug in check_foreign_key of refint.c which is bundled withBruce Momjian
> > 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
1998-10-03Integrate new IP type from Tom Ivar Helbekkmo.Bruce Momjian
1998-09-14Add new make_oidjoin_check utility and template1_check.sql. Fix someBruce Momjian
pg_operator problems.
1998-09-11update pginterfaceBruce Momjian
1998-09-11Update pginterface for 6.4. add manual page.Bruce Momjian
1998-08-30sequence contrib directory removed, as already integrated into the mainMarc G. Fournier
backend...
1998-08-30From: Massimo Dal Zotto <dz@cs.unitn.it>Marc G. Fournier
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.
1998-08-24move plpgsql to src/pl for Jan.Bruce Momjian
1998-08-22fulltext copy script.Bruce Momjian
1998-08-22 As proposed, here is the current version of PL/pgSQL. TheBruce Momjian
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
1998-08-17From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>Marc G. Fournier
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).
1998-08-11Change owner from oid to int4 type.Bruce Momjian
1998-08-11Remove NOBTREE defines, and make findoidlinks handle regproc.Bruce Momjian
1998-08-11New findoidjoins examines oid columns to find join relationships.Bruce Momjian
1998-07-20Add contributor name to fulltextindex, and clean up contrib/README.Bruce Momjian
1998-07-20Update fti README and stopwords.Bruce Momjian
1998-07-20Update list of contrib directories.Bruce Momjian
1998-07-19I finally got the time to put together some stuff for fti forBruce Momjian
inclusion in pgsql. I have included a README which should be enough to start using it, plus a BENCH file that describes some timings I have done. Please have a look at it, and if you think everything is OK, I would like it seen included in the contrib-section of pgsql. I don't think I will do any more work in this, but maybe it inspires somebody else to improve on it. Maarten Boekhold
1998-06-16> Sure send it in, we can put it in contrib. > > > > > I wrote aBruce Momjian
real small function to revoke update on a column. The function > > doesn't do anything > > fancy like checking user ids. > > > > I copied most of it from the refint.c in the contrib directory. > > > > Should I post this somewhere? It really isn't very big. > > Here it is... -- | Email - rick@rpacorp.com Rick Poleshuck | Voice - (908) 653-1070 Fax - (908) 653-0265 | Mail - RPA Corporation | - 308 Elizabeth Avenue, Cranford, New Jersey 07016
1998-06-16Ok, attached is the lo type, which goes some way with Large ObjectBruce Momjian
Orphaning that occurs with JDBC & ODBC. Contents: contrib/lo/Makefile contrib/lo/README contrib/lo/lo.c contrib/lo/lo.sql.in These are just test stuff - not essential contrib/lo/test.sql contrib/lo/drop.sql Peter Mount
1998-06-16try againBruce Momjian
1998-06-16I investigated carefully POSTGRES data base (in idea to use it forBruce Momjian
our internal IP routing data base, and because I have participated in Ingres development here in Russia in RUBIN/DEMOS project - through it was not freeware work - and it was very interesting for me too see such good freeware data base as PostgreSQL), and I modified 'ipaddr' data type library in accordance to our requests and to allow SQL do indexing over ipaddr objects. You can read description at 'http://relcom.EU.net/ipaddr.html' and get sources at 'http://relcom.EU.net/ip_class.tar.gz'. It contains sources, sql scripts for incorporating new data type into postgres (including ipaddr_ops operator class incorporation) and 20,000 records based data test for the indexing. I am not sure if it's proper mail list for this information, and if it's interesting for anyone except me to get full-functional ipaddress class. I am ready to make all modifications, bug fixing and documentation for this data class if it's nessesary for it's contribution to the Postgres data base. Anyway, all my work was based at original 'ip&mac data type' contribution, written by Tom Ivar Helbekkmo. Be free to write me any questions or requests about this work. ============================================================== Aleksei Roudnev, Network Operations Center, Relcom, Moscow (+7 095) 194-19-95 (Network Operations Center Hot Line),(+7 095) 239-10-10, N 13729 (pager) (+7 095) 196-72-12 (Support), (+7 095) 194-33-28 (Fax)
1998-06-16Add FAQ_CVS.Bruce Momjian
1998-06-15Remove un-needed braces around single statements.Bruce Momjian
1998-05-15From: "Aldrin L." <aldrin@americasnet.com>Marc G. Fournier
Subject: [INTERFACES] mSQL Compatibility Library (fwd)