Permalink
Browse files

Release version 0.5.5

Added the "-q" command line option.

Updated all instances of email addresses to my personal one so that contacts
don't end up in 3 different places.
  • Loading branch information...
1 parent 83e7d0a commit 32b9746f59f26304264736227c3f56bc873aa49b @kstrauser committed Feb 4, 2011
Showing with 41 additions and 17 deletions.
  1. +2 −2 README
  2. +1 −1 configure.ac
  3. +12 −3 doc/pgdbf.man
  4. +2 −2 freebsd/Makefile
  5. +4 −2 src/pgdbf.c
  6. +1 −1 src/pgdbf.h
  7. +4 −2 web/index.html
  8. +15 −4 web/pgdbf.1.html
View
4 README
@@ -1,7 +1,7 @@
This is the source distribution of PgDBF, a program for converting XBase DBF
files into a format that PostgreSQL can import. It was written by Kirk
-Strauser <kirk@daycos.com>, and generously allowed to be released as Free
-Software by his boss, Brandon Day.
+Strauser <kirk@strauser.com>, and generously allowed to be released as Free
+Software by his employer, Brandon Day.
Please see http://pgdbf.sourceforge.net/ for further details, reporting
bugs, etc.
View
2 configure.ac
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.62)
-AC_INIT([PgDBF], [0.5.4], [kirk@daycos.com])
+AC_INIT([PgDBF], [0.5.5], [kirk@strauser.com])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADERS([config.h])
View
15 doc/pgdbf.man
@@ -1,10 +1,10 @@
-.TH PGDBF 1 "November 16 2010" "Version 0.5.4"
+.TH PGDBF 1 "February 3 2011" "Version 0.5.5"
.SH NAME
pgdbf \- convert XBase / FoxPro tables to PostgreSQL
.SH SYNOPSIS
.B pgdbf
-[\-cCdDeEhtTuU] [-m memofile] filename [indexcolumn ...]
+[\-cCdDeEhqQtTuU] [-m memofile] filename [indexcolumn ...]
.SH DESCRIPTION
PgDBF is a program for converting XBase databases - particularly FoxPro
@@ -108,6 +108,15 @@ Print a help message, then exit.
.B -m memofile
The name of the associated memo file (if necessary).
.TP
+.B -q
+Enclose the name of the table in quotation marks in statements like "CREATE
+TABLE", "DROP TABLE", and so on. This is useful in cases where the table
+name is a PostgreSQL reserved word, and almost certainly harmless in all
+other cases.
+.TP
+.B -Q
+Do not enclose the name of the table in quotation marks. Default.
+.TP
.B -t
Wrap the entire script in a transaction. Default.
.TP
@@ -174,4 +183,4 @@ time), \fIinteger\fP, \fImemo\fP, \fInumeric\fP, \fItimestamp\fP, and
database for testing.
.SH AUTHOR
-Kirk Strauser <kstrauser@users.sourceforge.net>
+Kirk Strauser <kirk@strauser.com>
View
4 freebsd/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= pgdbf
-PORTVERSION= 0.5.4
+PORTVERSION= 0.5.5
CATEGORIES= databases
MASTER_SITES= SF
-MAINTAINER= kirk@daycos.com
+MAINTAINER= kirk@strauser.com
COMMENT= Convert XBase / FoxPro tables to PostgreSQL
LICENSE= GPLv3
View
6 src/pgdbf.c
@@ -1,5 +1,5 @@
/* PgDBF - Quickly convert DBF files to PostgreSQL */
-/* Copyright (C) 2008-2010 Kirk Strauser <kirk@daycos.com> */
+/* Copyright (C) 2008-2011 Kirk Strauser <kirk@strauser.com> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
@@ -179,14 +179,16 @@ int main(int argc, char **argv)
" -E do not use 'IF EXISTS' when dropping tables (PostgreSQL 8.1 and older)\n"
" -h print this message and exit\n"
" -m the name of the associated memo file (if necessary)\n"
+ " -q enclose the table name in quotation marks whenever used in statements\n"
+ " -Q do not enclose the table name in quotation marks (default)\n"
" -t wrap a transaction around the entire series of statements (default)\n"
" -T do not use an enclosing transaction\n"
" -u issue a 'TRUNCATE' command before inserting data\n"
" -U do not issue a 'TRUNCATE' command before inserting data (default)\n"
"\n"
"Using '-u' implies '-C -D'. Using '-c' or '-d' implies '-U'.\n"
"\n"
- "%s is copyright 2008-2010 Daycos.\n"
+ "%s is copyright 2008-2011 kirk@strauser.com.\n"
"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"
"This is free software: you are free to change and redistribute it.\n"
"There is NO WARRANTY, to the extent permitted by law.\n"
View
2 src/pgdbf.h
@@ -1,5 +1,5 @@
/* PgDBF - Quickly convert DBF files to PostgreSQL */
-/* Copyright (C) 2008-2010 Kirk Strauser <kirk@daycos.com> */
+/* Copyright (C) 2008-2011 Kirk Strauser <kirk@strauser.com> */
/* */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
View
6 web/index.html
@@ -27,7 +27,7 @@
<li><a href="http://sourceforge.net/forum/?group_id=257285">Forums</a></li>
<li><a href="http://pgdbf.git.sourceforge.net/git/gitweb.cgi?p=pgdbf">Git web</a></li>
<li><a href="http://sourceforge.net/projects/pgdbf/">SourceForge page</a></li>
- <li><a href="mailto:kstrauser@users.sourceforge.net">Contact</a></li>
+ <li><a href="mailto:kirk@strauser.com">Contact</a></li>
</ul>
</div>
<div id="content">
@@ -56,6 +56,8 @@
<h2>Release Notes</h2>
+ <p>Version 0.5.5 (February 3, 2011) adds the "-q" option to place quotation marks around the name of the table when using it in statements like "CREATE TABLE", "DROP TABLE", etc.</p>
+
<p>Version 0.5.4 (November 16, 2010) does away with the single memofile size check at the beginning of the run and checks for valid memo record offsets every time one is requested.</p>
<p>Version 0.5.3 (November 15, 2010) fixes an unsigned int comparison bug.</p>
@@ -149,7 +151,7 @@
<h2>Contributors</h2>
- <p>PgDBF was written by Kirk Strauser &lt;<a href="mailto:kstrauser@users.sourceforge.net">kstrauser@users.sourceforge.net</a>&gt; and approved for release under the GPLv3 by the owner of his company, Brandon Day.</p>
+ <p>PgDBF was written by Kirk Strauser &lt;<a href="mailto:kirk@strauser.com">kirk@strauser.com</a>&gt; and approved for release under the GPLv3 by the owner of his company, Brandon Day.</p>
<p>Special thanks to the following for suggestions and bug reports:</p>
View
19 web/pgdbf.1.html
@@ -4,7 +4,7 @@
<HTML><HEAD><TITLE>Man page of PGDBF</TITLE>
</HEAD><BODY>
<H1>PGDBF</H1>
-Section: User Commands (1)<BR>Updated: November 16 2010<BR><A HREF="#index">Index</A>
+Section: User Commands (1)<BR>Updated: February 3 2011<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
@@ -17,7 +17,7 @@
<B>pgdbf</B>
-[-cCdDeEhtTuU] [-m memofile] filename [indexcolumn ...]
+[-cCdDeEhqQtTuU] [-m memofile] filename [indexcolumn ...]
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
@@ -154,6 +154,17 @@
<DD>
The name of the associated memo file (if necessary).
+<DT><B>-q</B>
+
+<DD>
+Enclose the name of the table in quotation marks in statements like &quot;CREATE
+TABLE&quot;, &quot;DROP TABLE&quot;, and so on. This is useful in cases where the table
+name is a PostgreSQL reserved word, and almost certainly harmless in all
+other cases.
+<DT><B>-Q</B>
+
+<DD>
+Do not enclose the name of the table in quotation marks. Default.
<DT><B>-t</B>
<DD>
@@ -249,7 +260,7 @@
<A NAME="lbAJ">&nbsp;</A>
<H2>AUTHOR</H2>
-Kirk Strauser &lt;<A HREF="mailto:kstrauser@users.sourceforge.net">kstrauser@users.sourceforge.net</A>&gt;
+Kirk Strauser &lt;<A HREF="mailto:kirk@strauser.com">kirk@strauser.com</A>&gt;
<P>
<HR>
@@ -271,6 +282,6 @@
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
-Time: 15:24:08 GMT, November 16, 2010
+Time: 15:33:19 GMT, February 03, 2011
</BODY>
</HTML>

0 comments on commit 32b9746

Please sign in to comment.