summaryrefslogtreecommitdiff
path: root/contrib/lo
Commit message (Collapse)AuthorAgeFilesLines
* Rename the uninstall scripts for contrib/lo and contrib/tsearch2 toTom Lane2006-09-112-2/+2
| | | | | | | match the convention that foo's uninstall script is uninstall_foo.sql. Also, stop installing lo_test.sql, which really ought to be made into a regression test anyway (though it's unclear how to avoid a dependency on the current OID counter...)
* Alphabetically order reference to include files, "G" - "M".Bruce Momjian2006-07-111-5/+5
|
* Magic blocks don't do us any good unless we use 'em ... so install oneTom Lane2006-05-301-1/+2
| | | | in every shared library.
* PGXS should be set with := not =, as specified in the documentation,Tom Lane2005-09-271-2/+2
| | | | to avoid useless multiple executions of pg_config.
* Cleanup the contrib/lo module: there is no need anymore to implementTom Lane2005-06-235-202/+86
| | | | | | | | a physically separate type. Defining 'lo' as a domain over OID works just fine and is more efficient. Improve documentation and fix up the test script. (Would like to turn test script into a proper regression test, but right now its output is not constant because of numeric OIDs; plus it makes Unix-specific assumptions about files it can import.)
* Make sure contrib C functions are marked strict where needed.Tom Lane2005-01-291-7/+7
| | | | Kris Jurka
* > Please find enclose a submission to fix these problems.Bruce Momjian2004-08-201-5/+9
| | | | | | | | | | | | | | | | | | | | | | > > The patch adds missing the "libpgport.a" file to the installation under > "install-all-headers". It is needed by some contribs. I install the > library in "pkglibdir", but I was wondering whether it should be "libdir"? > I was wondering also whether it would make sense to have a "libpgport.so"? > > It fixes various macros which are used by contrib makefiles, especially > libpq_*dir and LDFLAGS when used under PGXS. It seems to me that they are > needed to > > It adds the ability to test and use PGXS with contribs, with "make > USE_PGXS=1". Without the macro, this is exactly as before, there should be > no difference, esp. wrt the vpath feature that seemed broken by previous > submission. So it should not harm anybody, and it is useful at least to me. > > It fixes some inconsistencies in various contrib makefiles > (useless override, ":=" instead of "="). Fabien COELHO
* make sure the $Id tags are converted to $PostgreSQL as well ...PostgreSQL Daemon2003-11-291-1/+1
|
* $Header: -> $PostgreSQL Changes ...PostgreSQL Daemon2003-11-292-2/+2
|
* Error message editing in contrib (mostly by Joe Conway --- thanks Joe!)Tom Lane2003-07-241-5/+11
|
* Backend support for autocommit removed, per recent discussions. TheTom Lane2003-05-142-5/+1
| | | | | | only remnant of this failed experiment is that the server will take SET AUTOCOMMIT TO ON. Still TODO: provide some client-side autocommit logic in libpq.
* Add casts between lo and oid.Hiroshi Inoue2002-12-311-6/+8
|
* Update /contrib for "autocommit TO 'on'".Bruce Momjian2002-10-183-55/+78
| | | | | | | | | | Create objects in public schema. Make spacing/capitalization consistent. Remove transaction block use for object creation. Remove unneeded function GRANTs.
* Add a bunch of pseudo-types to replace the behavior formerly associatedTom Lane2002-08-222-15/+9
| | | | | | with OPAQUE, as per recent pghackers discussion. I still want to do some more work on the 'cstring' pseudo-type, but I'm going to commit the bulk of the changes now before the tree starts shifting under me ...
* The attached patch changes most of the usages of sprintf() toBruce Momjian2002-08-151-2/+2
| | | | | | | | | snprintf() in contrib/. I didn't touch the places where pointer arithmatic was being used, or other areas where the fix wasn't trivial. I would think that few, if any, of the usages of sprintf() were actually exploitable, but it's probably better to be paranoid... Neil Conway
* Fix a lo_manage()'s bug.Hiroshi Inoue2001-12-071-2/+2
|
* Another pgindent run. Fixes enum indenting, and improves #endifBruce Momjian2001-10-281-4/+4
| | | | spacing. Also adds space for one-line comments.
* pgindent run on all C files. Java run to follow. initdb/regressionBruce Momjian2001-10-251-5/+4
| | | | tests pass.
* To fix the perpetually broken makefiles in the contrib tree, I havePeter Eisentraut2001-09-061-44/+6
| | | | | | written a generic framework of rules that the contrib makefiles can use instead of writing their own each time. You only need to set a few variables and off you go.
* The attached patch enables the contrib subtree to build cleanly underBruce Momjian2001-06-181-1/+2
| | | | | | | | | | | | | | | | | | | | | Cygwin with the possible exception of mSQL-interface. Since I don't have mSQL installed, I skipped this tool. Except for dealing with a missing getopt.h (oid2name) and HUGE (seg), the bulk of the patch uses the standard PostgreSQL approach to deal with Windows DLL issues. I tested the build aspect of this patch under Cygwin and Linux without any ill affects. Note that I did not actually attempt to test the code for functionality. The procedure to apply the patch is as follows: $ # save the attachment as /tmp/contrib.patch $ # change directory to the top of the PostgreSQL source tree $ patch -p0 </tmp/contrib.patch Jason
* pgindent run. Make it all clean.Bruce Momjian2001-03-221-3/+3
|
* Make sure -L and -I's for our source tree are always before system includePeter Eisentraut2001-02-201-2/+2
| | | | or library directories on the command line.
* Restructure the key include files per recent pghackers discussion: thereTom Lane2001-02-101-5/+1
| | | | | | | | | | | are now separate files "postgres.h" and "postgres_fe.h", which are meant to be the primary include files for backend .c files and frontend .c files respectively. By default, only include files meant for frontend use are installed into the installation include directory. There is a new make target 'make install-all-headers' that adds the whole content of the src/include tree to the installed fileset, for use by people who want to develop server-side code without keeping the complete source tree on hand. Cleaned up a whole lot of crufty and inconsistent header inclusions.
* Make the world safe for unsigned OIDs.Tom Lane2000-11-212-35/+28
|
* Revise handling of oldstyle/newstyle functions per recent discussionsTom Lane2000-11-202-3/+5
| | | | | | | | | in pghackers list. Support for oldstyle internal functions is gone (no longer needed, since conversion is complete) and pg_language entry 'internal' now implies newstyle call convention. pg_language entry 'newC' is gone; both old and newstyle dynamically loaded C functions are now called language 'C'. A newstyle function must be identified by an associated info routine. See src/backend/utils/fmgr/README.
* Add support for VPATH builds, that is, building somewhere else than in thePeter Eisentraut2000-10-201-4/+5
| | | | | | | | | source directory. This involves mostly makefiles using $(srcdir) when they might have used ".". (Regression tests don't work with this, yet.) Sort out usage of CPPFLAGS, CFLAGS (and CXXFLAGS). Add "override" keyword in most places, to preserve necessary flags even when the user overrode the flags.
* Another round of those unportable config/build changes :-/Peter Eisentraut2000-07-091-34/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add option to build with OpenSSL out of the box. Fix thusly exposed bit rot. Although it compiles now, getting this to do something useful is left as an exercise. * Fix Kerberos options to defer checking for required libraries until all the other libraries are checked for. * Change default odbcinst.ini and krb5.srvtab path to PREFIX/etc. * Install work around for Autoconf's install-sh relative path anomaly. Get rid of old INSTL_*_OPTS variables, now that we don't need them anymore. * Use `gunzip -c' instead of g?zcat. Reportedly broke on AIX. * Look for only one of readline.h or readline/readline.h, not both. * Make check for PS_STRINGS cacheable. Don't test for the header files separately. * Disable fcntl(F_SETLK) test on Linux. * Substitute the standard GCC warnings set into CFLAGS in configure, don't add it on in Makefile.global. * Sweep through contrib tree to teach makefiles standard semantics. ... and in completely unrelated news: * Make postmaster.opts arbitrary options-aware. I still think we need to save the environment as well.
* Makefile cleanup from Karel.Bruce Momjian2000-07-041-2/+2
|
* Very small changes in the contrib's pg_dumplo in the attache.Bruce Momjian2000-07-031-0/+0
| | | | | | | | | | | | | | | | | And: Note, Bruce I found in the contrib tree any files that we forget remove during contrib cleaning. Please remove these files: contrib/lo/test.sql contrib/pg_dumplo/Makefile.out contrib/pgbench/pgbench_jis.doc contrib/spi/new_example.example contrib/spi/README.MAX Thanks. Karel
* Remove old README files.Bruce Momjian2000-06-191-0/+0
|
* Add missing /contrib filesBruce Momjian2000-06-191-0/+69
|
* Update to /contrib from Karel.Bruce Momjian2000-06-194-74/+5
|
* Cleanup README Makefile installs.Bruce Momjian2000-06-161-3/+3
|
* Add missing /contrib files to CVS.Bruce Momjian2000-06-152-0/+78
|
* /contrib patch from Karel.Bruce Momjian2000-06-155-111/+49
|
* Another round of updates for new fmgr, mostly in the datetime code.Tom Lane2000-06-091-4/+7
|
* Generated header files parse.h and fmgroids.h are now copied intoTom Lane2000-05-291-2/+2
| | | | | the src/include tree, so that -I backend is no longer necessary anywhere. Also, clean up some bit rot in contrib tree.
* Second round of fmgr changes: triggers are now invoked in new style,Tom Lane2000-05-292-19/+17
| | | | CurrentTriggerData is history.
* pgindent run over code.Bruce Momjian1999-05-251-120/+125
|
* Ok, attached is the lo type, which goes some way with Large ObjectBruce Momjian1998-06-166-0/+460
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