[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4779: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4781: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4782: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4783: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
Gentoo Taiwan 討論區 • 檢視主題 - [postgresql] 我被 dbf2pg 給騙到了……

[postgresql] 我被 dbf2pg 給騙到了……

Gentoo 管理、通用套件相關問題 (如 iptables、apache、*sql、*ftpd...) 請在此討論。

版主: Forums Team

[postgresql] 我被 dbf2pg 給騙到了……

文章kanna » 週四 1月 13, 2005 10:26 pm

kanna
 
文章: 3
註冊時間: 週四 1月 13, 2005 9:50 pm

文章kanna » 週四 1月 13, 2005 10:34 pm

kanna
 
文章: 3
註冊時間: 週四 1月 13, 2005 9:50 pm

文章kanna » 週六 1月 15, 2005 5:17 am

我加上了把 field name 也轉成 unicode 的功能了
我本來猜不轉 field name 是不是因為 postgresql 本身不支援 unicode 的field name
可是我試過了之後是 ok 的 (createdb -E utf-8 )
所以加上去應該是可以的吧

也把 bool 也仍轉為 bool 而不是 character 了
我不懂他為什麼要轉成 character,是另有原因嗎?

此外這個程式好像還不是很完整
比如說 data type 為 genreral, append, append_binary 也不能轉換
datetime 好像也會錯,這個錯的原因好像在 foxpro 是轉成 dbase 的時候,type 就由 T 變成 D 了,所以應該是在 foxpro 匯出的時候資料就不見了
如果要改成可以 parse foxpro3.0 的 dbf format 不知道會不會很累?
我看了一個 char( 8 ) 的例子,好像只有前面一點點的不同,後面的好像都一樣
不過光想到還要去猜裡面的東西就覺得好累喔~~~

我想請問的問題是說
* 一般來說,我改了 open source 的 program 是要和作者聯絡,看他願不願意加上我的 patch 還是自已做個 patch 放在 portage 裡就好了呢?
雖然說 GPL 的是說可以自行散佈,可是一般 gentoo 上我們的作法為何呢?

* 而會想要從 windows 轉 database 到 postgresql 上的人應該不少吧
尤其是現在在 windows 上也有 native 的 postgresql 了
但是這個程式為什麼看起來沒有很完整呢?
是說大家有別的更好的方法嗎?
我想知道到底這個程式值不值得花功夫去改他

我是什麼都不會的初學者,胡亂說一下我猜測
如果大大覺得我的想法很可笑,要笑就給你笑吧…… :(
比如說經由 odbc (unixodbc) 或是 jdbc 而轉過去那樣如何?
可是這樣的話是不是我的電腦上就一定同時要有這兩個 database server
還是說像 dbf 這樣基本的格式 odbc (unixodbc) 直接就可以開啟了呢?
如果是不用要有另一個開 dbf 的 db server 的話,那 dbf2pg 好像就不是很值得花時間去改了,所以才會到現在還不完整嗎?
kanna
 
文章: 3
註冊時間: 週四 1月 13, 2005 9:50 pm


回到 Gentoo 服務與管理

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 5 位訪客

cron