<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/postgresql.git/contrib/dbase/README.dbf2pg, branch master</title>
<subtitle>git.postgresql.org: git/postgresql.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/'/>
<entry>
<title>Remove contrib modules that have been migrated to pgfoundry: adddepend,</title>
<updated>2006-09-05T17:20:29+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2006-09-05T17:20:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=af7d257e21aae3d75c46977482309b658b3a29d7'/>
<id>af7d257e21aae3d75c46977482309b658b3a29d7</id>
<content type='text'>
dbase, dbmirror, fulltextindex, mac, userlock; or abandoned: mSQL-interface,
tips.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
dbase, dbmirror, fulltextindex, mac, userlock; or abandoned: mSQL-interface,
tips.
</pre>
</div>
</content>
</entry>
<entry>
<title>  dbf2pg  -  Insert  xBase-style  .dbf-files  into  a PostgreSQL-table</title>
<updated>2003-07-31T02:12:43+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2003-07-31T02:12:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=82bade79dce6ff239cba1491c5843ea8ba2bfcc8'/>
<id>82bade79dce6ff239cba1491c5843ea8ba2bfcc8</id>
<content type='text'>
  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)&gt; 0) j++. And only if j &gt; 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  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)&gt; 0) j++. And only if j &gt; 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
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not require iconv for dbase conversion.</title>
<updated>2001-12-21T05:29:46+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2001-12-21T05:29:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=491545fff4f1a58f669e777d7c5e3ec932963a77'/>
<id>491545fff4f1a58f669e777d7c5e3ec932963a77</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add needed libiconv link to contrib/dbase, per Christopher Kings-Lynne</title>
<updated>2001-12-21T04:13:12+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2001-12-21T04:13:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=eb36cdd5628afad4f4ec5d7f33a10b63096d63ef'/>
<id>eb36cdd5628afad4f4ec5d7f33a10b63096d63ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add dbase conversion utility to /contrib.</title>
<updated>2001-05-10T14:41:23+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2001-05-10T14:41:23+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=c2a062b7fe55a0d29a8b2f7dffd4f6dd1202af31'/>
<id>c2a062b7fe55a0d29a8b2f7dffd4f6dd1202af31</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
