skip to Main Content

Postgresql – stateless vs stateful queries

I am working in supabase postgres and wrote multiple postgres functions DROP FUNCTION IF EXISTS setup_auth_user; CREATE OR REPLACE FUNCTION setup_auth_user( email_value TEXT, name_value TEXT, password_value TEXT, wallet_address_value TEXT, private_key_value TEXT ) RETURNS user_info AS $$ DECLARE updated_user_info user_info; BEGIN…

VIEW QUESTION

Postgres Docker image sometimes fail to start

I'm working on a Python project which uses Docker Compose with a Postgres service. compose/postgresql/Dockerfile: FROM postgres:16.1-bullseye COPY init.sql /docker-entrypoint-initdb.d/init.sql compose/postgresql/init.sql: (basic account setup) -- Create database & user CREATE DATABASE ${POSTGRES_DB}; CREATE USER ${POSTGRES_USER} WITH ENCRYPTED PASSWORD ${POSTGRES_PASSWORD}; --…

VIEW QUESTION
Back To Top
Search