summaryrefslogtreecommitdiff
path: root/contrib/dbase
AgeCommit message (Collapse)Author
2006-09-05Remove contrib modules that have been migrated to pgfoundry: adddepend,Tom Lane
dbase, dbmirror, fulltextindex, mac, userlock; or abandoned: mSQL-interface, tips.
2006-06-08Add missing 3rd parameter to open().Bruce Momjian
2006-03-11Add CVS tag lines to files that were lacking them.Bruce Momjian
2005-12-08I recently received the Debian bug report below about missing iconvBruce Momjian
support for the dbf2pg contrib module. The submitter created a patch which replaces the silent ignoring of -F (when iconv support is disabled) with a meaningful warning. Martin Pitt
2005-10-15Standard pgindent run for 8.1.Bruce Momjian
2005-10-06Minor dbf2pg fixes from Martin Pitt: check for failure when issuingTom Lane
CREATE TABLE command, and translate dBase's 'M' field type to 'text'.
2005-09-27PGXS should be set with := not =, as specified in the documentation,Tom Lane
to avoid useless multiple executions of pg_config.
2005-09-24Suppress signed-vs-unsigned-char warnings in contrib.Tom Lane
2005-05-27Clean up bogus checking of date and numeric fields in DBF files,Tom Lane
per report from Boris van Schooten.
2005-03-25Have libpgport link before libpq so that PG client applications are moreBruce Momjian
immunte to changes in libpq's usage of pgport between major versions.
2004-10-07Adjust comments previously moved to column 1 by pgident.Bruce Momjian
2004-09-14Fix contrib/dbase to compile under Win32. Laurent BallesterTom Lane
2004-08-29Pgindent run for 8.0.Bruce Momjian
2004-08-20> Please find enclose a submission to fix these problems.Bruce Momjian
> > 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
2003-11-29$Header: -> $PostgreSQL Changes ...PostgreSQL Daemon
2003-09-27Make dbf2pg safe for non-ASCII character sets.Bruce Momjian
M?rcio Dick Smiderle
2003-09-10Clean up printability test in dbase code.Bruce Momjian
2003-08-08Remove simple_prompt from /contrib C files, now that it is in /port.Bruce Momjian
They had the old versions anyway.
2003-08-04pgindent run.Bruce Momjian
2003-07-31 dbf2pg - Insert xBase-style .dbf-files into a PostgreSQL-tableBruce Momjian
There is an option "-s oldname=newname", which changes the old field name of the dbf-file to the newname in PostgeSQL. If the length of the new name is 0, the field is skiped. If you want to skip the first field of the dbf-file, you get the wildest error-messages from the backend. dbf2pg load the dbf-file via "COPY tablename FROM STDIN". If you skip the first field, it is an \t to much in STDIN. A fix could be an counter j=0, which increments only, if a field is imported (IF (strlen(fields[h].db_name)> 0) j++. And only if j > 1 (if an other field is imported) the \t is printed. An other small bug in the README: -s start Specify the first record-number in the xBase-file we will insert. should be -e start Specify the first record-number in the xBase-file we will insert. Thomas Behr
2003-05-14Backend support for autocommit removed, per recent discussions. TheTom Lane
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.
2003-03-10This patch fixes a bunch of spelling mistakes in comments throughout theTom Lane
PostgreSQL source code. Neil Conway
2002-10-31Avoid use of inline functions that are not declared static. Needed toTom Lane
conform to C99's brain-dead notion of how inline functions should work.
2002-10-18Update /contrib for "autocommit TO 'on'".Bruce Momjian
Create objects in public schema. Make spacing/capitalization consistent. Remove transaction block use for object creation. Remove unneeded function GRANTs.
2002-09-05Fix compile warning.Tom Lane
2002-09-04pgindent run.Bruce Momjian
2002-08-15The attached patch changes most of the usages of sprintf() toBruce Momjian
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
2002-01-10The result of getopt() should be compared to -1, not EOF, perTom Lane
pgsql-hackers discussion of this date.
2001-12-31Update dbase for Maarten.Boekhold.Bruce Momjian
2001-12-30Make sure that all <ctype.h> routines are called with unsigned charTom Lane
values; it's not portable to call them with signed chars. I recall doing this for the last release, but a few more uncasted calls have snuck in.
2001-12-21Do not require iconv for dbase conversion.Bruce Momjian
2001-12-21Allow contrib/dbase to compile if HAVE_ICONV_H it not defined. This isBruce Momjian
only a partial solution but a step in the right direction.
2001-12-21Add needed libiconv link to contrib/dbase, per Christopher Kings-LynneBruce Momjian
2001-11-05New pgindent run with fixes suggested by Tom. Patch manually reviewed,Bruce Momjian
initdb/regression tests pass.
2001-10-28Another pgindent run. Fixes enum indenting, and improves #endifBruce Momjian
spacing. Also adds space for one-line comments.
2001-10-25pgindent run on all C files. Java run to follow. initdb/regressionBruce Momjian
tests pass.
2001-10-18Fix several problems with simple_prompt() --- the nastiest being thatTom Lane
the entered password would get echoed on some platforms, eg HPUX. We have enough copies of this code that I'm thinking it ought to be moved into libpq, but that's a task for another day.
2001-10-15Fix some portability problems (get it to compile, at least, on HP's cc)Tom Lane
2001-09-06To fix the perpetually broken makefiles in the contrib tree, I havePeter Eisentraut
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.
2001-06-06Adjust WAL code so that checkpoints truncate the xlog at the previousTom Lane
checkpoint's redo pointer, not its undo pointer, per discussion in pghackers a few days ago. No point in hanging onto undo information until we have the ability to do something with it --- and this solves a rather large problem with log space for long-running transactions. Also, change all calls of write() to detect the case where write returned a count less than requested, but failed to set errno. Presume that this situation indicates ENOSPC, and give the appropriate error message, rather than a random message associated with the previous value of errno.
2001-05-10Add dbase conversion utility to /contrib.Bruce Momjian