<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>design on Mimus</title><link>https://mimus.pgsty.com/tags/design/</link><description>Recent content in design on Mimus</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sun, 08 Nov 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://mimus.pgsty.com/tags/design/index.xml" rel="self" type="application/rss+xml"/><item><title>One kernel, many protocols</title><link>https://mimus.pgsty.com/blog/one-kernel-many-protocols/</link><pubDate>Sun, 08 Nov 2026 00:00:00 +0800</pubDate><guid>https://mimus.pgsty.com/blog/one-kernel-many-protocols/</guid><description>&lt;p&gt;Several PostgreSQL forks each teach PostgreSQL one foreign language: openHalo speaks MySQL, Babelfish speaks&#10;SQL Server, IvorySQL speaks Oracle. Each is a separate kernel with its own release cycle, its own extension builds&#10;and its own users. Mimus asks a simpler question: can one PostgreSQL kernel carry these languages as loadable&#10;parts, on the same data, without becoming another fork that nothing else runs on?&lt;/p&gt;&#10;&lt;p&gt;In the first week of November 2026 we tried it.&lt;/p&gt;</description></item><item><title>MySQL compatibility as a PostgreSQL 18 extension</title><link>https://mimus.pgsty.com/blog/mysql-as-a-postgresql-18-extension/</link><pubDate>Sat, 07 Nov 2026 00:00:00 +0800</pubDate><guid>https://mimus.pgsty.com/blog/mysql-as-a-postgresql-18-extension/</guid><description>&lt;p&gt;openHalo 1.0 taught PostgreSQL 14 to speak the MySQL wire protocol and SQL dialect by modifying roughly 320 files inside the PostgreSQL kernel. When we brought MySQL compatibility to PostgreSQL 18.6, we took a different route: keep a small, protocol-agnostic hook in the kernel and move every line of MySQL wire handling, grammar, parse-tree rewriting and runtime semantics into a loadable extension (&lt;code&gt;aux_mysql&lt;/code&gt;).&lt;/p&gt;&#10;&lt;p&gt;This note records the design and findings from the 2026-11-07 porting study and the adversarial review of &lt;a href="https://mimus.pgsty.com/docs/mysql/"&gt;OpenHalo 18&lt;/a&gt;&#10; (&lt;code&gt;v18.6&lt;/code&gt;, commit &lt;code&gt;60e7a225&lt;/code&gt;). For the current state of fixes and open issues, see &lt;a href="https://mimus.pgsty.com/docs/mysql/status/"&gt;MySQL status&lt;/a&gt;&#10;.&lt;/p&gt;</description></item><item><title>Merging four PostgreSQL forks into one kernel</title><link>https://mimus.pgsty.com/blog/merging-four-postgresql-forks-into-one-kernel/</link><pubDate>Sat, 07 Nov 2026 00:00:00 +0800</pubDate><guid>https://mimus.pgsty.com/blog/merging-four-postgresql-forks-into-one-kernel/</guid><description>&lt;p&gt;Several PostgreSQL forks add major server capabilities: Percona Server for PostgreSQL adds storage hooks for &lt;code&gt;pg_tde&lt;/code&gt; encryption, OrioleDB adds an index-organized storage engine with undo MVCC, Babelfish adds SQL Server wire and T-SQL support, OpenHalo 18 adds MySQL compatibility, and IvorySQL adds Oracle compatibility. Maintaining a separate kernel binary and extension matrix for each fork multiplies packaging and operational work.&lt;/p&gt;&#10;&lt;p&gt;On 2026-11-07, we tested a direct question on PostgreSQL 18.6 (&lt;code&gt;REL_18_6&lt;/code&gt;, commit &lt;code&gt;724edf9b&lt;/code&gt;, EL9 aarch64, &lt;code&gt;--enable-debug --enable-cassert&lt;/code&gt;): can one PG 18.6 kernel carry all of these patches at once, behave like stock PostgreSQL when nothing is preloaded, and load any combination of extensions on demand?&lt;/p&gt;</description></item></channel></rss>