Skip to content

Instantly share code, notes, and snippets.

@jimathyp
Created August 3, 2021 11:05
Show Gist options
  • Select an option

  • Save jimathyp/1972aa7a198b7ed38415deac5d4363ce to your computer and use it in GitHub Desktop.

Select an option

Save jimathyp/1972aa7a198b7ed38415deac5d4363ce to your computer and use it in GitHub Desktop.

when running psql

PGPASSWORD=$PGPASSWORD /usr/bin/psql -h $HOST -U $USERNAME $DATABASE -c "$SQL"

(CREATE UNLOGGED TABLE ....)

could not identify current directory: Numerical result out of range
could not identify current directory: Numerical result out of range
psql: fatal: could not find own program executable

Possible culprit: was using pushd pushd then only one pop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment