TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

133 pointsby kesorover 3 years ago

6 comments

jabikoover 3 years ago
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 未加载
throwthereover 3 years ago
This is from the same person that wrote The Art of PostgreSQL.
评论 #28683978 未加载
jamal-kumarover 3 years ago
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.
spacemanmattover 3 years ago
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.
recentdarknessover 3 years ago
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 未加载
sigjuiceover 3 years ago
<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