PostgreSQL Extensions in Go

(jespino.github.io)

84 points | by valyala 4 hours ago

9 comments

  • QGQBGdeZREunxLe 1 hour ago
    From the same author: https://jespino.github.io/gokm/ (Linux kernel modules in Go)
  • 3eb7988a1663 2 hours ago
    The Go community sold me on the necessity of programming mascots. The gopher is adorable, and I love seeing the creative tweaks for how people incorporate it into their marketing.

    Ferris the crab also seems like it has been around since the early days, but I do not see nearly as many projects with crab heavy media. Guess it also has to be a mammal.

  • Kinrany 5 minutes ago
    Now that reimplementing old ideas is a commodity, can't we have a new database without carrying the historical baggage and bad decisions of old?
  • Wicher 1 hour ago
  • Icathian 23 minutes ago
    Okay now this is cool. Anything to make postgres extensions nice and easy to write.

    Still gonna go with pgrx though.

  • angrydingo 1 hour ago
    for code snippets on darkmode i can't see bracket
    • jttnr 40 minutes ago
      [flagged]
  • ltbarcly3 1 hour ago
    LLMs make "I need to shoehorn a language I already know well into an environment where it doesn't really belong" an unnecessary extravagance.

    Just have an AI write plpgsql. If what you are doing is too complicated for plpgsql you are doing something stupid.

    • tehlike 1 minute ago
      PLV8 is amazing. plpgsql is overly verbose. It's also now possible to write modules in rust. They are all great.
    • dapperdrake 20 minutes ago
      Then you will love plv8.

      Load an entire Chrome V8 or NodeJS V8 into Postgres to have JS pg modules.

      JS now runs on phones, on web servers, and inside your postgres relational database. Add Mongo and vibe code JS for redis or memcached for bonus internet points.

      If Rust is rewritten in JS, then Bun can finally return to its roots.

      https://github.com/plv8/plv8

      END half satire (plv8 is real, though)

  • collabspherestu 1 hour ago
    [flagged]