mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

739
active users

#postgresql

42 posts35 participants7 posts today

Is there any easy and friendly #PostgreSQL thing that allows restoring a database schema at a certain state (defined by a transaction, timestamp, whatever)?

I had aimed for pgMemento but its restore functions are totally not sufficient for me (losing indexes, grants, triggers, etc).

Today I learned about the Year 2038 problem, basically Y2K's lesser-known cousin 🤦‍♂️👾

On 19 January 2038, some computers will run out of space to count time (because they store time as a 32-bit integer)⏳💾
Result: clocks roll over into negative numbers, and software may think it's 1901 🕰️➡️🙃
Plenty of time to fix… right? 🛠️🐛

🔗 en.m.wikipedia.org/wiki/Year_2

Thanks @mmeent_pg for dropping that gem on the #PostgreSQL slack! 🙌 :postgresql:

#TIL #TimeTravelBug #2038Oops 🚀🌀

en.m.wikipedia.orgYear 2038 problem - Wikipedia

🎤 Happy to share I'll be speaking at #FOSS4G Belgium on 25 September in Brussels! 🇧🇪

My talk on PostgreSQL Upgrade Strategies will cover a challenge many of us know well: upgrading #PostgreSQL (especially with #PostGIS in the mix).

It often feels like opening Pandora's box, so many delay it. But upgrades are inevitable, and when done right they don't have to be painful.

🗓️ Schedule: foss4g.be/en/schedule
🔗 linkedin.com/company/osgeo-be

🐘 See you in Brussels! 🖤 💛 ❤️

Quelqu'un parmi les techs d'ici aurait un script vaultwarden avec postgresql utilisant traefik comme revers proxy sous docker...
Je bute et entrave pas grand chose à traefik...

Je suis sur un qnap et le reverse proxy est merdeux...

Voilà.

Le re toot rend le poils du dev sys soyeux et brillant...

Docker-compose adapté sous portainer

mariushosting.com/synology-ins

#Docker #portainer #vaultwarden #postgresql #traefik

Merqui les techs

Marius HostingSynology: Install Vaultwarden With PortainerTrustworthy expert guide to your Synology NAS.

Invincible #Postgres Saga, episode 3...

(At least this didn't happen on production :blobCat_giggle:)

Earlier this week I tried to do some tests on my "wonderful" misconfigured testing environment. I had some errors here and there and they had to reveal themselves during my experiment...
To make everthing up-to-date I had to refresh data in my app, which uses #Patroni #Postgresql database. Of course it crashed when I tried to do it. It didn't turn down whole cluster, only that one server, and in theory it still had normal API access. I expected it to come back quickly after I fixed things breaking my servers. But for some reason it couldn't. It didn't even try, at least in any visible way.
Seriuosly it was the most disturbing thing there :blobcatsweat: It should try to do something, right?!?
I tried to restart services in panic, without any result. It was late and I finished work for that day. Tired and worried I had to leave it stuck in "cannot reach consistent state" stage.

Next day I thought about doing force reinit or something to move it. But when I log into that server... Everything just worked :neofox_scream_stare_256:
I checked logs... Almost nothing special, just like database was stuck and after ~14 hours suddenly started working. Only one line telling backup was restored.
Damn, what backup?!? Why I don't understand what it did?!? And why it needed so much time?!?

At least I had working environment and didn't had to wonder what to do. Maybe my first chaotic attempts to force it to work did more harm than good and I should just leave it...

Someone should write in docs, which API status means "just leave me alone, trying to fix things" :neofox_think_derp: It would be easier.