TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Pgloader: A High-Speed PostgreSQL Swiss Army Knife, Written in Lisp

133 点作者 kesor超过 3 年前

6 条评论

jabiko超过 3 年前
A few years back I had some experience using this tool to migrate a MySQL database to a PostgreSQL. As far as I remember it was quite pleasant.<p>I had the some trouble with MySQL accepting invalid dates (like 0000-00-00) while Postgres rejects such dates. However, there was an option to convert such dates to NULL which saved the day.<p>Also you have to manually rewrite your views. Since we had a lot and also very complicated views I ended up materializing each MySQL view, manually porting it to Postgres and then comparing the result. That worked quite well.
评论 #28663530 未加载
throwthere超过 3 年前
This is from the same person that wrote The Art of PostgreSQL.
评论 #28683978 未加载
jamal-kumar超过 3 年前
I liked this tool. Just be sure that if you want to do stuff like transformations on the data that you are migrating that if you don&#x27;t already know a dialect of lisp that you&#x27;re going to have to pick that up real fast.<p>Might be viable if you have time to do that but if not strongly consider writing your own migration scripts in python or whatever you already know.
spacemanmatt超过 3 年前
I had a great experience with pg_loader in 2014 but I had to use SBCL to make it work reliably. I&#x27;m curious if someone can inform my experience there -- I&#x27;m not a regular CLisper, I just followed some advice I found on a forum.
recentdarkness超过 3 年前
I wanted to use it as well on windows the other day. Because I wanted to migrate a mssql database to PostgreSQL. However AFAIR there were no builds I could find and from what I read in the issues it is quite discouraging, a pity
评论 #28662814 未加载
评论 #28664034 未加载
评论 #28662697 未加载
评论 #28662974 未加载
sigjuice超过 3 年前
<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8924270" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8924270</a> 7 years ago|23 comments