Day 8 - Working with PL/Python

Today, I tackled the task of installing plpython3u and creating a Postgres extension using pl/python. It turned out to be quite a challenging endeavour, but I completed the installation process, albeit after encountering a plethora of issues.

The first hurdle I encountered was during the installation of plpython3u, which consumed a significant portion of my time, approximately 1 hour. The root cause of the problem was the incompatibility between the Python version installed on my system and pl/python. To resolve this, I had to install Python 3.9, which was compatible with plpython3u. It was a humbling experience to realize that a seemingly complex issue could be traced back to versioning compatibility.

After successfully installing the appropriate Python version, I proceeded to create the extension using pl/python. However, this task also presented its own set of challenges. I encountered various obstacles and spent considerable time troubleshooting and finding solutions. I made a note of this particular insight in the Python extension repository file. By sharing this information, to help developers who may encounter similar versioning issues and streamline their installation process.

Looking ahead, my goal is to complete the sample extension tutorial by tomorrow.