John Sutton <johnericsutton(at)gmail(dot)com> writes:
> Hi there
> Having spent about 2 hours trying to solve a simple problem, I think it might be worthwhile to record my efforts. Perhaps someone can point out how extremely silly I have been or is the documentation lacking?
> My original question was: where is the system-wide psqlrc file located?
The easy way to find that out is "pg_config --sysconfdir". I agree that
the psql man page ought to mention that, and fails to. Will see about
fixing that...
regards, tom lane