summaryrefslogtreecommitdiff
path: root/contrib/dbase
Commit message (Collapse)AuthorAgeFilesLines
* Clean up bogus checking of date and numeric fields in DBF files,Tom Lane2005-05-271-38/+15
| | | | per report from Boris van Schooten.
* Have libpgport link before libpq so that PG client applications are moreBruce Momjian2005-03-251-2/+2
| | | | immunte to changes in libpq's usage of pgport between major versions.
* Adjust comments previously moved to column 1 by pgident.Bruce Momjian2004-10-071-1/+1
|
* Fix contrib/dbase to compile under Win32. Laurent BallesterTom Lane2004-09-142-3/+6
|
* Pgindent run for 8.0.Bruce Momjian2004-08-291-2/+2
|
* > Please find enclose a submission to fix these problems.Bruce Momjian2004-08-201-5/+10
| | | | | | | | | | | | | | | | | | | | | | > > 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
* $Header: -> $PostgreSQL Changes ...PostgreSQL Daemon2003-11-291-1/+1
|
* Make dbf2pg safe for non-ASCII character sets.Bruce Momjian2003-09-271-0/+2
| | | | M?rcio Dick Smiderle
* Clean up printability test in dbase code.Bruce Momjian2003-09-101-2/+2
|
* Remove simple_prompt from /contrib C files, now that it is in /port.Bruce Momjian2003-08-081-109/+0
| | | | They had the old versions anyway.
* pgindent run.Bruce Momjian2003-08-041-6/+4
|
* dbf2pg - Insert xBase-style .dbf-files into a PostgreSQL-tableBruce Momjian2003-07-313-11/+23
| | | | | | | | | | | | | | | | | | | | | | | | 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
* 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
* Avoid use of inline functions that are not declared static. Needed toTom Lane2002-10-311-4/+5
| | | | conform to C99's brain-dead notion of how inline functions should work.
* 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.
* Fix compile warning.Tom Lane2002-09-051-5/+3
|
* pgindent run.Bruce Momjian2002-09-041-3/+3
|
* The attached patch changes most of the usages of sprintf() toBruce Momjian2002-08-152-7/+7
| | | | | | | | | 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
* The result of getopt() should be compared to -1, not EOF, perTom Lane2002-01-101-1/+4
| | | | pgsql-hackers discussion of this date.
* Update dbase for Maarten.Boekhold.Bruce Momjian2001-12-313-3/+3
|
* Make sure that all <ctype.h> routines are called with unsigned charTom Lane2001-12-301-3/+3
| | | | | 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.
* Do not require iconv for dbase conversion.Bruce Momjian2001-12-213-7/+14
|
* Allow contrib/dbase to compile if HAVE_ICONV_H it not defined. This isBruce Momjian2001-12-211-0/+14
| | | | only a partial solution but a step in the right direction.
* Add needed libiconv link to contrib/dbase, per Christopher Kings-LynneBruce Momjian2001-12-212-3/+3
|
* New pgindent run with fixes suggested by Tom. Patch manually reviewed,Bruce Momjian2001-11-051-6/+6
| | | | initdb/regression tests pass.
* Another pgindent run. Fixes enum indenting, and improves #endifBruce Momjian2001-10-281-1/+2
| | | | spacing. Also adds space for one-line comments.
* pgindent run on all C files. Java run to follow. initdb/regressionBruce Momjian2001-10-254-628/+789
| | | | tests pass.
* Fix several problems with simple_prompt() --- the nastiest being thatTom Lane2001-10-181-26/+55
| | | | | | 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.
* Fix some portability problems (get it to compile, at least, on HP's cc)Tom Lane2001-10-151-12/+10
|
* To fix the perpetually broken makefiles in the contrib tree, I havePeter Eisentraut2001-09-061-28/+7
| | | | | | 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.
* Adjust WAL code so that checkpoints truncate the xlog at the previousTom Lane2001-06-061-10/+5
| | | | | | | | | | | | 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.
* Add dbase conversion utility to /contrib.Bruce Momjian2001-05-107-0/+1747