An unofficial, read-only Hacker News reader. Join the beta →

Minipg: PostgreSQL as a Single Executable (opens external site)

300 points by rguiscard 2 days ago | progrium.github.io | 47 comments on HN

View full thread · View on Hacker News

Comment thread (4)

  1. I just don't understand what's daunting about apt install postgresql
    Replies (1)
    1. I hate people that recite credentials, but suffice to say I'm very familiar with postgres at-scale in production. I can give details if that's not compelling.

      I still don't use postgres for my small projects, because sqlite gets you so far, so fast. You can just apt install postgres, but then you have all the aux questions:

          When do you upgrade?
          How is authentication handled?
          How are we doing backups?
          How do I deploy in production?
          How do I restore from a backup?
      
      With sqlite, these are either not as relevant or they have trivial answers. With postgres, each is another project/process to track.

      But of course, the way you frame your question sides-steps these challenges, and instead focuses on how to install the software, which was never the challenge being tackled.

      Replies (1)
      1. The question was for self hosting though. So not at scale.

        So upgrade when you're working in your stack and upgrading things. Auth using Unix socket as per defaults Backup by backing up your whole server

        Is any of this quite sufficient for at scale? Often not, I agree. But that wasn't the context of the question.

        Replies (1)
        1. I wasn't bringing up any issues that come up at scale. That's an entirely different discussion.