Trivadis / pgbasenv

pgBasEnv - PostgreSQL Base Environment Tool

Home Page:https://github.com/Trivadis/pgbasenv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pgBasEnv is not automatically sourced at login for EDBAS

rolandstirnimann opened this issue · comments

The pgBasEnv installer creates the corresponding files in $HOME that the tool is automatically source at login. In community PostgreSQL the file $HOME/.pgsql_profile is used. EDBAS uses by default the OS user enterprisedb and it expects a file .enterprisedb_profile.

Therefore the installer need to check if the user is enterprisedb and create then .enterprisedb_profile instead of .pgsql_profile.