Hi David,Thank you for the swift response.However, could you please confirm if the below scenario is expected.- included the alias in the file.- And passed the file with psql and it worked.-bash-4.2$ cat test:testing-bash-4.2$ /opt/PostgreSQL/9.6/bin/psql -f testid----1
Yes. It’s only -c that is constrained. (There may be some interplay with whether psqlrc is consulted in various situations as well...)
David J.