bugzino
pg_tle
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.
bugzino
-
The Database Package Manager for PostgreSQL Trusted Language Extensions
At KotlinConf today I gave a talk on designing apps with two-tier architecture, where you implement your entire app without the web stack appearing anywhere at all. Instead you publish desktop and mobile apps that connect directly to an RDBMS like PostgreSQL via its native protocol, and use server extensions for any logic that is inconvenient to do with SQL.
This approach might seem horrifyingly outside-the-box but has a lot of advantages, and some of the reasons we didn't do things this way historically have been solved in recent years.
Because it was KotlinConf the demo uses PL/Java, which is pretty nice because there's such a healthy ecosystem of stuff based around JDBC and because deploying JVM stuff doesn't require any sort of cross-compilation. PL/Java also supports (for now) trusted extensions using sandboxing, although of course the sandbox can just get in the way and normally you trust your own server anyway so this is a double edged sword.
The demo code can be found here (it's a prototype and nobody reviewed it yet so be gentle)
https://github.com/hydraulic-software/bugzino
I'll write up a blog post version of the talk, but for now I had to mention that DBaaS providers don't actually enable this sort of design because they like to wall off the full power of the RDBMS behind custom APIs. But in two-tier design you really lean into the database and use all of its features. So, it'd be nice if:
a. database.dev were to support PL/Java extensions.
b. Supabase were to allow direct connections, as the native DB protocol supports a lot of features that otherwise have to be sort of hacked on top of HTTP. Ultimately, HTTP is designed to fetch hypertext whereas the PG native protocol is designed to work with data, and that difference shines through in a bunch of ways.
pg_tle
-
Pgcopydb: Copy a Postgres database to a target Postgres server
Have you tried this in databases with [TLE](https://github.com/aws/pg_tle)s?
-
Making PostgreSQL tick: New features in pg_cron
I dunno about other hosted Postgres providers, but not on AWS RDS no, as the Python extension is untrusted. Looks like you can use plv8 via pg_tle (Trusted Language Extensions) [1] though.
[1] https://github.com/aws/pg_tle
-
The Database Package Manager for PostgreSQL Trusted Language Extensions
Partially correct, this doesn't work with RDS as you can't install pgsql-http (a requirement for automatic install). However all the extensions listed are "Trusted Language Extensions for PostgreSQL" which was developed by AWS to enable installing extensions written in "Safe" languages. So I believe the all the extensions listed could bee installed manually.
https://github.com/aws/pg_tle
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Postg...
-
Choosing a Postgres Primary Key
>pg_idkit to their list of supported extensions
For some of these simpler extensions, we're looking at using AWS's TLE (https://github.com/aws/pg_tle), which would allow user-contributed extensions. If we can pull that off, we'll probably look again at the current set of extensions we offer and then see which ones can be ported to a TLE instead
-
postgres extension managers
This is a new thing from AWS: https://github.com/aws/pg_tle. It lets you build extensions that people can use on RDS.
-
SQL Macros in YugabyteDB
I'm taking those functions from the examples in pg_tle, an extension that helps packaging those functions. The functions calculate the Manhattan and Euclidian distance:
- Trusted Language Extensions for PostgreSQL (Pg_tle)
- GitHub - aws/pg_tle: Framework for building trusted language extensions for PostgreSQL
- AWS releases open source Trusted Language Extensions for PostgreSQL
What are some alternatives?
supavisor - A cloud-native, multi-tenant Postgres connection pooler.
pgress - Native PostgreSQL JavaScript client library for web browsers
omnigres - Postgres as a Platform
set_user - PostgreSQL extension allowing privilege escalation with enhanced logging and control
sequential-uuids - generator of sequential UUIDs
vasco - vasco: MIC & MINE statistics for Postgres
sql-examples - Curated list of SQL to help you find useful script easily 🚀
hydra - Hydra: Column-oriented Postgres. Add scalable analytics to your project in minutes.
windmill - Open-source developer platform to turn scripts into workflows and UIs. Fastest workflow engine (5x vs Airflow). Open-source alternative to Airplane and Retool.
pgbouncer - lightweight connection pooler for PostgreSQL