Commit Graph

73 Commits

Author SHA1 Message Date
Bruce Momjian
3abf496b8e > > There is a bug in check_foreign_key of refint.c which is bundled with
> > 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-06 03:12:59 +00:00
Bruce Momjian
2d69fd90b9 Integrate new IP type from Tom Ivar Helbekkmo. 1998-10-03 05:41:01 +00:00
Bruce Momjian
3700981108 Add new make_oidjoin_check utility and template1_check.sql. Fix some
pg_operator problems.
1998-09-14 01:14:49 +00:00
Bruce Momjian
8133867f51 update pginterface 1998-09-11 05:18:12 +00:00
Bruce Momjian
a5d4642578 Update pginterface for 6.4. add manual page. 1998-09-11 05:14:08 +00:00
Marc G. Fournier
7f3630e270 sequence contrib directory removed, as already integrated into the main
backend...
1998-08-30 19:39:01 +00:00
Marc G. Fournier
eec4c7366f From: Massimo Dal Zotto <dz@cs.unitn.it>
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-30 19:37:51 +00:00
Bruce Momjian
0c5e541a9a move plpgsql to src/pl for Jan. 1998-08-24 19:14:51 +00:00
Bruce Momjian
985f4ab98a fulltext copy script. 1998-08-22 12:54:58 +00:00
Bruce Momjian
863a62064c As proposed, here is the current version of PL/pgSQL. The
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-22 12:38:39 +00:00
Marc G. Fournier
3fa676a74c From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
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-17 03:35:05 +00:00
Bruce Momjian
79c8d2e3a0 Change owner from oid to int4 type. 1998-08-11 18:28:49 +00:00
Bruce Momjian
22cc0e1645 Remove NOBTREE defines, and make findoidlinks handle regproc. 1998-08-11 05:32:46 +00:00
Bruce Momjian
85c165cd4c New findoidjoins examines oid columns to find join relationships. 1998-08-11 02:32:00 +00:00
Bruce Momjian
60baf183b3 Add contributor name to fulltextindex, and clean up contrib/README. 1998-07-20 09:30:13 +00:00
Bruce Momjian
0de96f82dc Update fti README and stopwords. 1998-07-20 02:45:03 +00:00
Bruce Momjian
39282daa12 Update list of contrib directories. 1998-07-20 02:31:10 +00:00
Bruce Momjian
8f0ca623ff I finally got the time to put together some stuff for fti for
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-07-19 18:26:41 +00:00
Bruce Momjian
fd262dac8c > Sure send it in, we can put it in contrib. > > > > > I wrote a
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-16 17:53:44 +00:00
Bruce Momjian
7784312f99 Ok, attached is the lo type, which goes some way with Large Object
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-16 07:07:11 +00:00
Bruce Momjian
2925114933 try again 1998-06-16 05:35:12 +00:00
Bruce Momjian
92da1c3a6a I investigated carefully POSTGRES data base (in idea to use it for
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-16 04:34:30 +00:00
Bruce Momjian
5815523b0e Add FAQ_CVS. 1998-06-16 03:55:15 +00:00
Bruce Momjian
6bd323c6b3 Remove un-needed braces around single statements. 1998-06-15 19:30:31 +00:00
Marc G. Fournier
d1c5021c67 From: "Aldrin L." <aldrin@americasnet.com>
Subject: [INTERFACES] mSQL Compatibility Library (fwd)
1998-05-15 20:10:42 +00:00
Bruce Momjian
77bc683869 Make Linux startup support sh and csh. 1998-04-28 03:25:33 +00:00
Marc G. Fournier
2cbcf46102 From: Jun Kuwamura <juk@rccm.co.jp>
I do not know about these contributions well as I only made the binaries
to contribute to a Japanese Linux package.(I did not test them.)  But I
try to make some brief introduction about the contrib directory with my
poor English.  Here is a draft of README about contrib directory:
1998-04-27 16:59:12 +00:00
Bruce Momjian
f34b9bbac8 Improved version from Claudiu 1998-04-27 03:07:18 +00:00
Bruce Momjian
491b76019e pginterface cleanup 1998-04-23 17:25:29 +00:00
Marc G. Fournier
04bd26103e Missed a few files that were added with the lib/modules patch... 1998-04-22 04:20:55 +00:00
Marc G. Fournier
5b4b3d563d From: Jun Kuwamura <juk@rccm.co.jp>
This patch fix the Makefiles in contrib/{pginterface, spi,
miscutil, int8, ip_and_mac, sequence, soundex, string, userlock,
array, datetime} to install their modules in one directory(lib/modules/).
1998-04-22 04:16:46 +00:00
Marc G. Fournier
85fe4cc17d Contribution for logging Apache Web stats to PostgreSQL
From: Terry Mackintosh <terry@terrym.com>
1998-03-22 02:03:00 +00:00
Bruce Momjian
3674ccdf95 Change Postgres95 to PostgreSQL. Update CLUSTER manual page. 1998-03-14 21:58:09 +00:00
Bruce Momjian
a32450a585 pgindent run before 6.3 release, with Thomas' requested changes. 1998-02-26 04:46:47 +00:00
Marc G. Fournier
b59e20db1a From: plh@opim.uconn.edu
Missing = in an update
1998-02-14 18:04:39 +00:00
Marc G. Fournier
a377ad58ea I'm including an update to my user defined IP and MAC address type
implementation that's in contrib/ip_and_mac/.  This one works right
with 6.3, avoids the problems I ran into earlier with LIKE, and
includes a bit of extra functionality.

From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
1998-02-14 17:58:09 +00:00
Thomas G. Lockhart
243a913766 Remove some definitions which could not work; conversions from datetime
to integer unix system time conflict on the input types.
 Leave in the conversions from integer unix system time to datetime.
1998-02-11 04:24:20 +00:00
Marc G. Fournier
674b22a2a4 From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
PostgreSQL type extensions for IP and MAC addresses.

I needed to record IP and MAC level ethernet addresses in a data
base, and I really didn't want to store them as plain strings, with
no enforced error checking, so I put together the accompanying code
as my first experiment with adding a data type to PostgreSQL.  I
then thought that this might be useful to others, both directly and
as a very simple example of how to do this sort of thing, so here
it is, in the hope that it will be useful.
1998-01-25 07:11:07 +00:00
Marc G. Fournier
8169769ee5 From: "Michael J. Maravillo" <mmj@philonline.com>
This patch makes it possible to do a "real" make distclean (back to its
fresh state) on the distribution after compilation, regression testing,
etc.
1998-01-17 23:39:35 +00:00
Bruce Momjian
e6c6146eb8 Allow varchar() to only store needed bytes. Remove PALLOC,PALLOCTYPE,PFREE. Clean up use of VARDATA. 1998-01-07 18:47:07 +00:00
Bruce Momjian
9d00fbbeb0 Change some labels in bootparse to make ctags happy. Clean up outfunc/readfunc code and add missing fields for Query structure and new Union fields. Fix optimizer bug shown in new \do command. Change WARN to ERROR in contrib and regression stuff. 1998-01-06 18:53:02 +00:00
Thomas G. Lockhart
1932d92161 Allow logging of output to syslog or /tmp/postgres.log.
Put all configurable parameters near top of file.
Remove explicit path to postmaster executable.
More comments.
1997-12-06 03:02:34 +00:00
Thomas G. Lockhart
7b06d99571 Backend code redefinitions to allow read/write
of integer Unix system times.
1997-12-04 23:04:08 +00:00
Bruce Momjian
d3cf6f98c7 Remove .orig files. 1997-11-07 20:41:17 +00:00
Bruce Momjian
951986c550 Update of contrib stuff from massimo. 1997-11-05 21:38:25 +00:00
Vadim B. Mikheev
629e895101 Trigger function for inserting user names.
Install compiled functions into $(LIBDIR)/contrib.
(Thanks to Brook Milligan <brook@trillium.NMSU.Edu>)
1997-10-17 09:55:34 +00:00
Vadim B. Mikheev
d75206fdf5 General function for SERIAL/IDENTITY/AUTOINCREMENT feature.
Handle INSERT event in timetravel().
1997-10-02 18:01:57 +00:00
Vadim B. Mikheev
af5c86e2d1 General trigger functions for time-travel 1997-09-24 08:17:14 +00:00
Bruce Momjian
f03b75e4a3 Removed un-needed signal suff from pginterface. 1997-09-16 15:36:09 +00:00
Vadim B. Mikheev
7f97e05b09 char* --> Datum 1997-09-12 04:58:59 +00:00