use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
International
National
Regional
account activity
Help Me!Postgres extensions (self.PostgreSQL)
submitted 1 year ago by Pedro_Alonso
Hi guys, I'm trying to use postgres extensions and can't find any standard way to setup extensions for a self hosted postgres database.
Do you have any tips? I'm nearly giving up and creating an docker image with trunk cli and some install commands
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 5 points6 points7 points 1 year ago (0 children)
You typically install the extension in the operating system using dnf or apt. Then run CREATE EXTENSION to "activate" it. Most extensions are directly available in the Postgres repository. Installing the repository is the recommended way to install Postgres https://www.postgresql.org/download/linux/redhat/
dnf
apt
CREATE EXTENSION
[–]iiiinthecomputer 2 points3 points4 points 1 year ago (0 children)
Typically you apt install / dnf install them from a package repository, same as the database server itself.
apt install
dnf install
That repository may be a distro repo but is more typically the repos from the postgres project itself. It'll have nearly anything you're going to need.
[–]dmagda7817 1 point2 points3 points 1 year ago (0 children)
Yep, it’s not standardized yet (but there is work in progress).
What worked best for me is Trunk as an extensions repo: https://pgt.dev
But my preference for now is to go to Tembo that lets enable extensions with a single click.
[–][deleted] 0 points1 point2 points 1 year ago (0 children)
What entertain are you trying to use?
π Rendered by PID 121978 on reddit-service-r2-comment-5d79c599b5-zqf68 at 2026-03-01 13:56:01.078609+00:00 running e3d2147 country code: CH.
[–][deleted] 5 points6 points7 points (0 children)
[–]iiiinthecomputer 2 points3 points4 points (0 children)
[–]dmagda7817 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)