Skip to content

Conversation

ikalnytskyi
Copy link
Owner

@ikalnytskyi ikalnytskyi commented Jan 6, 2024

Unfortunately, the Windows runner has some PostgreSQL environment
variables set, which are neither set for Linux or macOS runners. This is
may be especially confusing since variables such as PGUSER or PGPASSWORD
may point to a user that doesn't exist.

Since one of the design decisions made previously is to restrain this
action from pointing to any user by default, we better unset these
environment variables to avoid confusion.

In addition to that change, let's also mention in the README file that
it's up to users to set connection parameters whatever way they prefer.

Reported-by: @bkoelman
Fixes: #17

@ikalnytskyi ikalnytskyi force-pushed the bug/unset-pg-env branch 17 times, most recently from 4180d48 to 2e0e2b6 Compare January 9, 2024 22:46
@ikalnytskyi ikalnytskyi marked this pull request as ready for review January 9, 2024 22:49
Unfortunately, the Windows runner has some PostgreSQL environment
variables set, which are neither set for Linux or macOS runners. This is
may be especially confusing since variables such as PGUSER or PGPASSWORD
may point to a user that doesn't exist.

Since one of the design decisions made previously is to restrain this
action from pointing to any user by default, we better unset these
environment variables to avoid confusion.

In addition to that change, let's also mention in the README file that
it's up to users to set connection parameters whatever way they prefer.

Reported-by: bkoelman
Fixes: #17
@ikalnytskyi ikalnytskyi merged commit e8f195e into master Jan 9, 2024
@ikalnytskyi ikalnytskyi deleted the bug/unset-pg-env branch January 9, 2024 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Conflicting PGPASSWORD env var on Windows
1 participant