summaryrefslogtreecommitdiffstats
path: root/openwrt/package/postgresql/patches/101-debian-27dbf2pg-textfield
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/postgresql/patches/101-debian-27dbf2pg-textfield')
-rw-r--r--openwrt/package/postgresql/patches/101-debian-27dbf2pg-textfield14
1 files changed, 14 insertions, 0 deletions
diff --git a/openwrt/package/postgresql/patches/101-debian-27dbf2pg-textfield b/openwrt/package/postgresql/patches/101-debian-27dbf2pg-textfield
new file mode 100644
index 000000000..a4507710f
--- /dev/null
+++ b/openwrt/package/postgresql/patches/101-debian-27dbf2pg-textfield
@@ -0,0 +1,14 @@
+diff -ruN postgresql-7.4.7-old/contrib/dbase/dbf2pg.c postgresql-7.4.7/contrib/dbase/dbf2pg.c
+--- postgresql-7.4.7-old/contrib/dbase/dbf2pg.c 2004-10-31 20:09:10.923855000 +0100
++++ postgresql-7.4.7/contrib/dbase/dbf2pg.c 2004-10-31 20:11:24.676521696 +0100
+@@ -324,6 +324,10 @@
+ case 'L':
+ strcat(query, " char");
+ break;
++
++ case 'M':
++ strcat(query, " text");
++ break;
+ }
+ }
+