[object Object]

← back to Dw Five Field Step0

Fix drain PATH: add Homebrew postgresql@14/bin so psql resolves (drain was silently no-op'ing on FileNotFoundError)

f4affd21255df1c40af227b3c506bd96f3cd32f8 · 2026-06-21 19:48:16 -0700 · Steve Abrams

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Files touched

Diff

commit f4affd21255df1c40af227b3c506bd96f3cd32f8
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Sun Jun 21 19:48:16 2026 -0700

    Fix drain PATH: add Homebrew postgresql@14/bin so psql resolves (drain was silently no-op'ing on FileNotFoundError)
    
    Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---
 drain.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drain.sh b/drain.sh
index 1d20302..3771022 100644
--- a/drain.sh
+++ b/drain.sh
@@ -4,7 +4,7 @@
 # idempotent + resumable (skips anything already in the result JSON), DELETE-nothing.
 # Self-disables when the worklist is fully drained. Singleton-guarded.
 set -u
-export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
+export PATH="/opt/homebrew/opt/postgresql@14/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
 SK="$HOME/Projects/dw-five-field-step0"
 LOG="$SK/drain.log"
 LOCKDIR="$SK/.drain.lock"

← ae22724 PR<->Pointe/JD cost-load dry-run: match script + diff (371 S  ·  back to Dw Five Field Step0  ·  JD combined cost dry-run: Pointe-xref + JD own-line, 1,934/2 d906de5 →