Another oddity I noticed is that I expected that the .psqlrc
file would not be read at all when using the --command feature,
but instead I would see messaging that indicated the commands
in there were being executed
New behavior in 9.6 - you shouldn't be seeing this in your 9.4 test setup unless you are using the 9.6 psql to connect to the 9.4 server (its a client-specific behavior).
David J.