summaryrefslogtreecommitdiff
path: root/contrib/oid2name
Commit message (Collapse)AuthorAgeFilesLines
* pgindent run.Bruce Momjian2003-08-041-2/+2
|
* Updatge to skip composite types.Bruce Momjian2003-07-271-1/+1
|
* Adjust oid2name to skip certain row types, per Tom.Bruce Momjian2003-07-271-1/+1
|
* Here is 4 file in tgz:Bruce Momjian2003-07-271-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | the new timetravel.c, new timetravel.README (cut from spi/README and modified), modified timetravel.sql.in and modified timetravel.example. Features: - optionally 3 parameter for insert/update/delete user name - work with CREATE UNIQUE INDEX ixxx on table xxx (unique_field,time_off); (the original version was work with unique index on 6.5.0-6.5.3, and not work on 7.3.2,7.3.3) (before 6.5.0 and between 6.5.3 and 7.3.2 I dont know) - get_timetravel(tablename) function for check timetravel-status. - timetravel trigger not change oid of the active record. (it is not a good feature, because the old version is automatice prevent the paralel update with "where oid=nnn") B?jthe Zolt?n
* Backend support for autocommit removed, per recent discussions. TheTom Lane2003-05-141-2/+0
| | | | | | 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.
* This patch fixes a bunch of spelling mistakes in comments throughout theTom Lane2003-03-101-1/+1
| | | | | | PostgreSQL source code. Neil Conway
* Update /contrib for "autocommit TO 'on'".Bruce Momjian2002-10-181-0/+4
| | | | | | | | | | Create objects in public schema. Make spacing/capitalization consistent. Remove transaction block use for object creation. Remove unneeded function GRANTs.
* Update README for oid2name.Bruce Momjian2002-10-121-3/+3
|
* The attached patch changes most of the usages of sprintf() toBruce Momjian2002-08-151-5/+5
| | | | | | | | | 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
* Cleanup.Bruce Momjian2002-07-051-1/+1
|
* Add mention of segmented files to oid2name.Bruce Momjian2002-06-211-0/+3
|
* Mention vacuum for relpages.Bruce Momjian2002-06-131-1/+2
|
* Add script to show disk space per db.Bruce Momjian2002-06-131-1/+14
|
* Improve query.Bruce Momjian2002-06-121-1/+1
|
* Add mention of query showing pages used.Bruce Momjian2002-06-121-0/+4
|
* Add -q option to oid2name. Add sample session to README.Bruce Momjian2002-06-122-55/+111
|
* Currently, contrib/oid2name doesn't bother to free() the memory that itBruce Momjian2002-03-051-24/+21
| | | | | | | | | | | | | malloc()'s. This isn't too serious (because oid2name is a short-lived utility, so the memory will soon be returned to the OS on process termination), but I still think it's poor style. This patch changes oid2name so that it allocates memory on the stack where possible and free()s the remaining heap-allocated memory. The patch also fixes a typo a comment and adds 'const' qualifiers to a few 'char *' function parameters. Neil Conway
* Fix typo in usage message, per Oleg.Tom Lane2002-01-251-1/+1
|
* The result of getopt() should be compared to -1, not EOF, perTom Lane2002-01-101-1/+1
| | | | pgsql-hackers discussion of this date.
* Read getopt() into an int, not char.Bruce Momjian2001-11-151-1/+1
|
* Tweak to test HAVE_GETOPT_H before including <getopt.h>, so as toTom Lane2001-10-021-2/+3
| | | | build on systems without.
* To fix the perpetually broken makefiles in the contrib tree, I havePeter Eisentraut2001-09-061-25/+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-0/+1
| | | | | | | | | | | | | | | | | | | | | 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-368/+374
|
* Make sure -L and -I's for our source tree are always before system includePeter Eisentraut2001-02-201-4/+3
| | | | or library directories on the command line.
* Bruce Momjian <pgman@candle.pha.pa.us> writes:Bruce Momjian2001-02-121-3/+2
| | | | | | | | | | | > OK, add #include <stdio.h> to the file. That should fix it. Seems unlikely, since libpq-fe.h already includes <stdio.h>. The real problem here is that the code is wrong: it's passing NULL to an int parameter. regards, tom lane
* Add stdio to file.Bruce Momjian2001-02-121-0/+1
|
* Add #include <unistd.h>Bruce Momjian2001-02-121-0/+1
|
* Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group.Bruce Momjian2001-01-241-4/+0
|
* Oops, got binary in there too.Bruce Momjian2001-01-241-0/+0
|
* Oops, had .o file in there.Bruce Momjian2001-01-241-0/+0
|
* UpdateBruce Momjian2001-01-242-5/+5
|
* Add oid2name. Add streaming option later.Bruce Momjian2001-01-245-0/+555