pg_net VS pg_hexedit

Compare pg_net vs pg_hexedit and see what are their differences.

pg_net

A PostgreSQL extension that enables asynchronous (non-blocking) HTTP/HTTPS requests with SQL (by supabase)

pg_hexedit

Open PostgreSQL relation files in a hex editor with tags and annotations (by petergeoghegan)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
pg_net pg_hexedit
4 1
170 143
5.9% -
7.2 3.6
about 2 months ago 6 months ago
PLpgSQL C
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pg_net

Posts with mentions or reviews of pg_net. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-06.
  • PostgreSQL Is Enough
    12 projects | news.ycombinator.com | 6 Feb 2024
  • Supabase Wrappers: A Framework for Building Postgres Foreign Data Wrappers
    14 projects | news.ycombinator.com | 15 Dec 2022
    > speaks a particular API over the network

    it's a interesting idea, and one of the things that we were toying with in our pg_net extension (https://github.com/supabase/pg_net). This is a "generic" async network extension, so you can fetch/put/post. It works well for APIs.

    I think the generic approach works for some things where the data is less "fixed" - for example, an OpenAI API endpoint.

    But for "fixed" data (data warehouses), the wrapper usually needs some custom work for security, protocols, and "push down". I'll be interested to get HN's take on this - they might have some suggestions for us for this framework

  • Show HN: Multiplayer Demo Built with Elixir
    11 projects | news.ycombinator.com | 11 Apr 2022
    > finding the building blocks of modern applications (database, auth, functions, presence, realtime subscriptions), making them easy to use, and then sharing the source code.

    Great observation!

    > I’ve learned a ton just from cruising around supabase GitHub.

    Glad to hear it!

    > Can you say which of these new components will be open sourced?

    All of these components are open source and licensed under Apache License v2.0.

    > There are some other features (e.g. function hooks) that are also closed-source at the moment.

    I actually worked on the initial implementation of function hooks. We've actually already open sourced both the client (see: https://github.com/supabase/supabase/tree/88bcef911669595428...) and the pg_net extension it requires (see: https://github.com/supabase/pg_net).

    > Is Supabase heading for an “open core” model?

    I don't think so. We want to continue to open source our projects under either MIT (client libs) and Apache License v2.0 (server libs).

  • Supabase Edge Functions
    4 projects | news.ycombinator.com | 31 Mar 2022
    > The dream would be to have a great DX experience around using insert/update triggers to call Supabase functions to run background tasks

    We have something for this: Function Hooks (soon to be renamed "Async Triggers")[0]. They are still in alpha, but the extension [1] is getting close. It was important to build something which works with PG background workers so that it's non-blocking. We'll make quick progress on this now that we've released Edge Functions.

    > sending notifications or updating related rows

    Tune in for tomorrow's announcement - it's related.

    [0] Function Hooks / Async Triggers: https://supabase.com/blog/2021/07/30/supabase-functions-upda...

    [1] https://github.com/supabase/pg_net

pg_hexedit

Posts with mentions or reviews of pg_hexedit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-26.
  • Tweak: An Efficient Hex Editor
    2 projects | news.ycombinator.com | 26 Feb 2021
    I am the author of a tool that generates wxHexEditor tags and annotations for Postgres relation files -- pg_hexedit:

    https://github.com/petergeoghegan/pg_hexedit

    I've invested quite a lot of effort in it, and it would be nice to have support for multiple hex editors. That was anticipated to some degree:

    https://github.com/petergeoghegan/pg_hexedit#supporting-othe...

    I understand why you favor a declarative template format for describing files with tags -- that probably scales really nicely. What I'm doing is pretty grotty, but works surprisingly well in practice. I procedurally generate a description of each file in a shell script, and then open the file in wxHexEditor. I'm generating huge XML files, which is slow, but there are simple workarounds to get acceptable performance.

    wxHexEditor doesn't support declarative tags. But even if it did I might not want to use them; the on-disk format of PostgreSQL is much more complicated than most file formats, and isn't supposed to be consumed by third party tools. Writing a C program that uses the struct definitions from the server itself makes the complexity quite manageable -- the tool is basically feature complete, even though I haven't spent a huge amount of time on it.

    That said, it would be great if I could adapt pg_hexedit to a hex editor that had some kind of "best of both worlds" support for tags - tags that can be generated lazily and on-demand, when a portion of the file needs to be drawn or redrawn. This would be easy to adapt to -- Postgres relation files always consist of a series of 8KiB blocks/pages. My tool can easily generate tags for any single block without knowing any special context or having any expensive-to-generate state -- I just need a block number (i.e. an 8KiB-aligned byte offset).

What are some alternatives?

When comparing pg_net and pg_hexedit you can also consider the following projects:

pgsentinel - postgresql extension providing Active session history

HexManiacAdvance - A tool for editing tables, text, scripts, images, and other data in Pokemon GBA games

Multicorn - Data Access Library

HexFiend - A fast and clever hex editor for macOS

pgsql-http - HTTP client for PostgreSQL, retrieve a web page from inside the database.

pg_auto_failover - Postgres extension and service for automated failover and high-availability

supabase - The open source Firebase alternative.

hexing - Graphical and minimalistic hex editor.

wal2json - JSON output plugin for changeset extraction

hx - Hex editor for the terminal using plain C99 + POSIX libs.

walrus - Applying RLS to PostgreSQL WAL

TimescaleDB - An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.