---
title: "The Babelfish / Postgres integration question"
publication: "Postgres Weekly"
issue: 393
published_at: "2021-02-17"
canonical_url: "https://postgresweekly.com/issues/393"
---

Plus a raft of Postgres tool updates. |        

#393 — February 17, 2021 

[Web Version](https://postgresweekly.com/issues/393)   

Postgres Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/v1613561722/cn8nnsbneolsbkeekwyf.jpg)](https://postgresql.fund/blog/babelfish-the-elephant-in-the-room/)  

[Babelfish: The Elephant in The Room?](https://postgresql.fund/blog/babelfish-the-elephant-in-the-room/) — Last year, AWS announced [Babelfish](https://aws.amazon.com/blogs/opensource/want-more-postgresql-you-just-might-like-babelfish/), a project to provide a SQL Server compatible endpoint for PostgreSQL and that will be open sourced this year. Will an open source version easily integrate with Postgres though? Not exactly, and that’s the problem examined here. 

Álvaro Hernández   

[PostgreSQL 13.2, 12.6, 11.11, 10.16, 9.6.21, and 9.5.25 Released](https://www.postgresql.org/about/news/postgresql-132-126-1111-1016-9621-and-9525-released-2165/) — A suite of updates to Postgres to fix two security vulnerabilities. This is also expected to be the final 9.5 branch release _ever,_ so upgrading if you’re on 9.5 now becomes even more important. 

PostgreSQL Global Development Group   [![\](https://copm.s3.amazonaws.com/5ac8826e.png)](https://info.enterprisedb.com/white-paper_5-Ways-to-Get-More-From-PostgreSQL.html?utm_source=Cooperpress&utm_medium=ad) 

[5 Ways to Get More from PostgreSQL](https://info.enterprisedb.com/white-paper_5-Ways-to-Get-More-From-PostgreSQL.html?utm_source=Cooperpress&utm_medium=ad) — PostgreSQL is a top open source database management system (DBMS) choice for business today. This eBook explores 5 important tactics to help IT Managers and DBAs better manage PostgreSQL deployments and ultimately get the most out of Postgres. 

EDB sponsor   

[Implementing a Generic `REDUCE` Aggregate Function with SQL](https://blog.jooq.org/2021/02/08/implementing-a-generic-reduce-aggregate-function-with-sql/) — A fun bit of SQL spelunking here for arbitrarily reducing a collection of data. If you want to learn something about SQL today, this is the article for you. 

Lukas Eder   

[Reconnecting Your Application After a Postgres Failover](https://www.citusdata.com/blog/2021/02/12/reconnecting-your-app-after-a-postgres-failover/) — A deep dive into client-side HA to learn what happens when a Postgres failover occurs. 

Dimitri Fontaine   

[On `ANALYZE` and Optimizer Statistics](https://www.cybertec-postgresql.com/en/postgresql-analyze-and-optimizer-statistics/) — A (very) quick, practical look at how Postgres handles queries, tries to find the best execution plan for them, and the statistics that help the optimizer do this. 

Hans-Jürgen Schönig   

[Where Are The Postgres Config Files?](https://www.depesz.com/2021/02/12/starting-with-pg-where-is-the-config/) — Rather than poking around your filesystem, you can just ask Postgres itself to tell you where various config files are. 

Hubert depesz Lubaczewski   

[A Few SQL Command Changes Coming in Postgres 14](https://www.highgo.ca/2021/02/12/exploring-sql-command-changes-in-pg-14/) — `CREATE TRIGGER` gets an `OR REPLACE` option to create a trigger even if one exists with the same name already. You’ll also be able to specify column aliases without `AS` in many situations. 

Ahsan Hadi   

[Speed Up a Search Query from Seconds to Milliseconds](https://pganalyze.com/ebooks/efficient-search-in-rails-with-postgres?utm_source=PostgresWeeklySecondary02172021) — Download our free eBook and learn when and how to best use exact matches, trigrams, ILIKE, and full-text search. 

pganalyze sponsor   

[Querying JSON Data in Postgres](https://aaronbos.dev/posts/query-postgresql-json) — I’ve been working directly with querying JSON directly in Postgres a lot lately and it’s been.. rather pleasant! Nothing mindblowing in this post but it covers the basics if you haven’t dipped a toe into the JSONB column world yet. 

Aaron Bos   

[How To Set Up Continuous Archiving and Perform Point-In-Time-Recovery with Postgres 12 on Ubuntu 20.04](https://www.digitalocean.com/community/tutorials/how-to-set-up-continuous-archiving-and-perform-point-in-time-recovery-with-postgresql-12-on-ubuntu-20-04) — Another straightforward ‘what it says in the title’ tutorial published by DigitalOcean. 

Nathan McCulloch    

🔧**Tools and Code**  

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/v1613561391/xxcvr5au0bmzd60zibeo.png)](https://github.com/lesovsky/pgcenter)  

[pgCenter: Command Line Tool for Observing and Troubleshooting Postgres](https://github.com/lesovsky/pgcenter) — Imagine something like `top` but for Postgres. You can keep your eye on vital statistics and running queries in real time. **Linux only** and [binaries](https://github.com/lesovsky/pgcenter/releases/tag/v0.7.0) are amd64 only. 

Lesovsky Alexey   

[pgFormatter 5.0: A Postgres SQL Syntax Beautifier](https://github.com/darold/pgFormatter) — We linked this last year, but version 5 has just dropped with [a variety of fixes and improvements.](https://www.postgresql.org/about/news/pgformatter-v50-released-2166/) There’s an [online demo here](http://sqlformat.darold.net/) and it can work with SQL generally, not just Postgres's dialect. 

Gilles Darold   

[pg_probackup: Backup and Recovery Manager for Postgres](https://github.com/postgrespro/pg_probackup) — A tool to manage backup and recovery (including _incremental_ backup and restore) of Postgres clusters across Postgres 9.5 through 13. [v2.4.10](https://github.com/postgrespro/pg_probackup/releases/tag/2.4.10) was just released. 

Postgres Professional   

[PostgreSQL-OCaml 5.0: OCaml Bindings for Postgres](https://github.com/mmottl/postgresql-ocaml) — v5 adds support for parameter types when preparing or executing queries. [OCaml](https://ocaml.org/learn/taste.html) is quite a neat language if you’ve never played with it, by the way. 

Markus Mottl   

[Adminer: Database Management in a Single PHP File](https://www.adminer.org/) — A mature project that’s an alternative to phpMyAdmin for managing Postgres, MySQL, SQL Server, and other databases via a Web interface. The main selling point is it’s distributed as a _single_ PHP file. [v4.8.0](https://github.com/vrana/adminer/releases/tag/v4.8.0) just dropped. [GitHub repo](https://github.com/vrana/adminer). 

Jakub Vrána   

[How to Install pgBadger on a Remote Server](http://blog.roshka.com/2021/02/install-pgbadger-on-remote-server.html) — [pgBadger](https://github.com/darold/pgbadger) is a Postgres log analysis reporting tool (i.e. it takes Postgres logs and generates HTML reports - complete with graphs - of server behavior, numbers of queries, vacuuming, etc.) 

Pablo en Roshka    

**Got a new email?** You can [change your address here](https://postgresweekly.com/edit_subscription/*|UID|*). 

--- 

**Bored of us?** [Click here to stop getting Postgres Weekly](https://postgresweekly.com/leave/*|UID|*). 

--- 

**Got a link for us?** Reply and tell us. We can't include everything but we'll look at anything you send. Thanks! 

--- 

**Want more?** You might like [DB Weekly](https://dbweekly.com/?utm_source=pg&utm_medium=email&utm_campaign=footer-promo), our more general database newsletter covering data storage trends, new database types, and more. 

--- 

Published by Cooper Press Ltd.
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

[Stop getting this newsletter.](https://postgresweekly.com/leave/*|UID|*)
