summaryrefslogtreecommitdiff
path: root/contrib/findoidjoins/findoidjoins.c
Commit message (Collapse)AuthorAgeFilesLines
* Update /contrib for "autocommit TO 'on'".Bruce Momjian2002-10-181-1/+3
| | | | | | | | | | Create objects in public schema. Make spacing/capitalization consistent. Remove transaction block use for object creation. Remove unneeded function GRANTs.
* findoidjoins is updated for schemas, does not use libpgeasy.Tom Lane2002-09-051-88/+124
| | | | From Joe Conway.
* pgindent run.Bruce Momjian2002-09-041-1/+1
|
* 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
* Implement types regprocedure, regoper, regoperator, regclass, regtypeTom Lane2002-04-251-2/+4
| | | | | | | per pghackers discussion. Add some more typsanity tests, and clean up some problems exposed thereby (broken or missing array types for some built-in types). Also, clean up loose ends from unknownin/out patch.
* Restructure pg_opclass, pg_amop, and pg_amproc per previous discussions inTom Lane2001-08-211-5/+7
| | | | | | | | | | | | | | | | | | | | pgsql-hackers. pg_opclass now has a row for each opclass supported by each index AM, not a row for each opclass name. This allows pg_opclass to show directly whether an AM supports an opclass, and furthermore makes it possible to store additional information about an opclass that might be AM-dependent. pg_opclass and pg_amop now store "lossy" and "haskeytype" information that we previously expected the user to remember to provide in CREATE INDEX commands. Lossiness is no longer an index-level property, but is associated with the use of a particular operator in a particular index opclass. Along the way, IndexSupportInitialize now uses the syscaches to retrieve pg_amop and pg_amproc entries. I find this reduces backend launch time by about ten percent, at the cost of a couple more special cases in catcache.c's IndexScanOK. Initial work by Oleg Bartunov and Teodor Sigaev, further hacking by Tom Lane. initdb forced.
* Make OIDs optional, per discussions in pghackers. WITH OIDS is still theTom Lane2001-08-101-7/+5
| | | | | | | | | | | | default, but OIDS are removed from many system catalogs that don't need them. Some interesting side effects: TOAST pointers are 20 bytes not 32 now; pg_description has a three-column key instead of one. Bugs fixed in passing: BINARY cursors work again; pg_class.relhaspkey has some usefulness; pg_dump dumps comments on indexes, rules, and triggers in a valid order. initdb forced.
* pgindent run. Make it all clean.Bruce Momjian2001-03-221-1/+1
|
* Compile a little more cleanly.Tom Lane2001-02-101-4/+2
|
* Fix WARN->NOTICE in docs. Change libpgeasy connection parameters to useBruce Momjian2000-05-181-1/+4
| | | | PQconnectdb() style connections.
* Update pgeasy examplesBruce Momjian2000-04-281-1/+1
|
* More libpgeasy update of connectdb() parameter orderingBruce Momjian2000-04-281-1/+1
|
* findoidjoins was suffering from bit rot (pginterface noTom Lane2000-01-221-7/+8
| | | | longer in expected location).
* pgindent run over code.Bruce Momjian1999-05-251-11/+12
|
* Update findoidjoins for 6.5: remove workaround for long-dead bug,Tom Lane1999-03-261-2/+1
| | | | | use NOT EXISTS() which is a lot faster than NOT IN (), update documentation.
* Add new make_oidjoin_check utility and template1_check.sql. Fix someBruce Momjian1998-09-141-0/+2
| | | | pg_operator problems.
* Change owner from oid to int4 type.Bruce Momjian1998-08-111-1/+1
|
* Remove NOBTREE defines, and make findoidlinks handle regproc.Bruce Momjian1998-08-111-9/+19
|
* New findoidjoins examines oid columns to find join relationships.Bruce Momjian1998-08-111-0/+93