Functional Delta: 004-postgres-database-replacement
Parent state: 003-containerized-compose-runtime
Addedβ
- PostgreSQL runtime initialization pack (
postgres-init/initialSchema.sql) for deterministic baseline schema and seed data. - Postgres-specific smoke checks (readiness + baseline data presence).
Changedβ
- Runtime database engine changes from H2 server process to PostgreSQL container.
- Service datasource wiring for:
account-serviceposition-servicetrade-processor
- Account sequence ID generation query changes to PostgreSQL sequence syntax.
Removedβ
- H2 web-console behavior from the runtime path (
/databaseingress route is no longer a supported interactive console flow in this state).
Flow Impactβ
F1load accounts on UI load: unchanged behavior, now backed by PostgreSQL reads.F2bootstrap blotters: unchanged behavior, now backed by PostgreSQL reads.F3account administration: unchanged behavior, account creation uses PostgreSQL sequence.F4realtime blotter updates: unchanged behavior, writes/reads occur against PostgreSQL.