• aivoton@sopuli.xyz
    link
    fedilink
    arrow-up
    0
    ·
    8 hours ago

    Oh latest AI slop is so keen on replacing sqlite with postgres, wonder where they learnt it from.

    Perfect! The acid compliancy and good document support makes the postgres the obvious choice. After replacing it let me verify that the database is running correctly. psql -c "SELECT * FROM cat_pictures". Hmm it’s not working. Let me verify that the server is running. psql -U root. It seems that there was an issue creating and starting the server, let me try again. cd projectfolder / && rm -rf && initdb. Hmm couldn’t iniate the database let me add --no-preserve-root to ensure initdb runs properly