Recently, on irc, there were couple of cases where someone wanted to use uuid as datatype for their primary key.
I opposed, and tried to explain, but IRC doesn't really allow for longer texts, so figured I'll write a blogpost.
Specifically – if explain was done using JSON/XML/YAML formats, and node type was Aggregate, the site didn't extract full info.
Some time ago I wrote blogpost which showed how to list tables that should be autovacuumed or autoanalyzed.
Query in there had one important problem – it didn't take into account per-table settings.
On 12nd of February 2020, Michael Paquier committed patch:
Add %x to default PROMPT1 and PROMPT2 in psql %d can be used to track if the current connection is in a transaction block or not, and adding it by default to the prompt has the advantage to not need a modification of .psqlrc, something not possible depending on the environment. This discussion has happened across various sources, and there was a strong consensus in favor of this change. Author: Vik Fearing Reviewed-by: Fabien Coelho Discussion: https://email@example.com
On 6th of February 2020, Michael Paquier committed patch:
Add leader_pid to pg_stat_activity This new field tracks the PID of the group leader used with parallel query. For parallel workers and the leader, the value is set to the PID of the group leader. So, for the group leader, the value is the same as its own PID. Note that this reflects what PGPROC stores in shared memory, so as leader_pid is NULL if a backend has never been involved in parallel query. If the backend is using parallel query or has used it at least once, the value is set until the backend exits. Author: Julien Rouhaud Reviewed-by: Sergei Kornilov, Guillaume Lelarge, Michael Paquier, Tomas Vondra Discussion: https://postgr.es/m/CAOBaU_Yy5bt0vTPZ2_LUM6cUcGeqmYNoJ8-Rgto+c2+w3defYA@mail.gmail.com
Some time ago I ordered some hot sauces from Heatonist – Purveyors of fine hot sauces.
Bottles arrived packaged by 3 in a small cardboard box, with some fill in material (bubble wrap I think, I might be wrong, it was ~ 6 months ago).
Some time passed, I ordered more sauces. And today the package arrived. Inside some new boxes with aesthetically pleasing design:
There was no plastic padding, fillers or anything like this. Box has holes that keep the bottles without touching each other, and safe from (almost?) all kind of damage:
Great! I'm really happy that they managed to send those with as few plastic parts as possible (there is still small wrapper on top of each bottle, and the box itself was taped using plastic tape, not paper ones, but still – it's great to see someone doing something to reduce plastic waste.