Shaun M. Thomas: PG Phriday: Under Observation
Planet PostgreSQL
by
2d ago
Have you ever wanted to use a non-superuser role in a Postgres database to perform actions that are normally restricted? Even something as simple as reading from the pg_stat_activity view requires special permissions to view the query column because it could contain sensitive information ..read more
Visit website
Hubert 'depesz' Lubaczewski: Waiting for …: SQL/JSON is coming back. Hopefully.
Planet PostgreSQL
by
2d ago
This is not the usual Waiting for post, but something should be said. Back in March/April of 2022 Andres Dunstan committed a series of patches that added support for lots of really interesting features from SQL/JSON standard. While I'm not avid user of json in database, I was very, very happy. Wrote couple of blogposts ..read more
Visit website
Deepak Mahto: PL/pgSQL Conversion Gotchas: Cursors and Last Fetch.
Planet PostgreSQL
by
2d ago
Databases Cursors are one of the key components of development. We have been using them for traversing query results for processing based on business logic or functionality. In Code Conversion, Cursor code always needs to be ported either from PL\SQL or TSQL to Pl\pgSQL, and some special considerations need to be incorporated as best practices to avoid surprises or functionality failures. If you are keen to understand cursors in Pl\pgSQL, will advice do checkout PostgreSQL official documents it covers most of the details in depth. In the blog, we will cover scenarios with cursors that differ f ..read more
Visit website
Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 17 – Invent SERIALIZE option for EXPLAIN.
Planet PostgreSQL
by
3d ago
On 3rd of April 2024, Tom Lane committed patch: Invent SERIALIZE option for EXPLAIN.   EXPLAIN (ANALYZE, SERIALIZE) allows collection of statistics about the volume of data emitted by a query, as well as the time taken to convert the data to the on-the-wire format. Previously there was no way to investigate this without actually ..read more
Visit website
Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 17 – Add new COPY option LOG_VERBOSITY.
Planet PostgreSQL
by
3d ago
On 1st of April 2024, Masahiko Sawada committed patch: Add new COPY option LOG_VERBOSITY.   This commit adds a new COPY option LOG_VERBOSITY, which controls the amount of messages emitted during processing. Valid values are 'default' and 'verbose'.   This is currently used in COPY FROM when ON_ERROR option is set to ignore. If 'verbose ..read more
Visit website
Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 17 – Add support for MERGE … WHEN NOT MATCHED BY SOURCE.
Planet PostgreSQL
by
3d ago
On 30th of March 2024, Dean Rasheed committed patch: Add support for MERGE ... WHEN NOT MATCHED BY SOURCE.   This allows MERGE commands to include WHEN NOT MATCHED BY SOURCE actions, which operate on rows that exist in the target relation, but not in the data source. These actions can execute UPDATE, DELETE, or ..read more
Visit website
Sai Srirampur: PeerDB raises $3.6 million seed funding to revolutionize data movement for PostgreSQL
Planet PostgreSQL
by
3d ago
PeerDB offers a fast and cost-effective way to move data from PostgreSQL to data warehouses, such as Snowflake, and to queues like Kafka. This enables businesses to have real-time and reliable access to data, which is of utmost importance in this AI ..read more
Visit website
Peter Eisentraut: PostgreSQL 17 commitfest conclusion
Planet PostgreSQL
by
3d ago
Last October, I wrote: Looking at the numbers in the PG17 cycle so far, even though they are much lower than the 2023-03 commitfest, we can expect that PG17 will have more activity in total than previous development cycles. And now it’s time to count up the score. The final per-commitfest numbers of committed patches were: PG17 2023-07 2023-09 2023-11 2024-01 2024-03 87 68 86 75 134 The 01 and 03 numbers are all-time highs for their respective months. The total numbers of committed patches registered in a commitfest for a development cycle were: PG12 319 PG13 277 PG14 360 PG15 ..read more
Visit website
David Wheeler: Mini Summit Three
Planet PostgreSQL
by
4d ago
Terrific presentation and discussion at last week’s Postgres Extension Ecosystem Mini-Summit. In fact, I later learned that some people couldn’t make it because the Eventbrite event page showed it as sold out! This is a limitation of the free level at Eventbrite, which caps tickets at 25. But this is a fully-remote event and we can host more people than that. We had over 30 last week! So if you’d like to attend one of the remaining three events and Eventbrite shows it as sold out, have a look at the bookmarks for the #extensions channel on the Postgres Slack, or email the username david at th ..read more
Visit website
David Christensen: Building PostgreSQL Extensions: Dropping Extensions and Cleanup
Planet PostgreSQL
by
4d ago
I recently created a Postgres extension which utilizes the pg_cron extension to schedule recurring activities using the cron.schedule(). Everything worked great. The only problem was when I dropped my extension, it left the cron job scheduled, which resulted in regular errors: 2024-04-06 16:00:00.026 EST [1548187] LOG: cron job 2 starting: SELECT bridge_stats.update_stats('55 minutes', false) 2024-04-06 16:00:00.047 EST [1580698] ERROR: schema "bridge_stats" does not exist at character 8 2024-04-06 16:00:00.047 EST [1580698] STATEMENT: SELECT bridge_stats.update_stats('55 minutes', false ..read more
Visit website

Follow Planet PostgreSQL on FeedSpot

Continue with Google
Continue with Apple
OR