Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the .psqlrc file on Windows?

Tags:

postgresql

I tried following the advice on https://mladenuzelac.blogspot.com/2016/01/psqlrc-in-windows.html to find it, but there is no postgresql folder under C:\Users\My_Username\AppData\Roaming. Thank you in advance.

like image 209
raincloud Avatar asked Oct 19 '25 15:10

raincloud


1 Answers

Following Laurenz advice, I simply created the folder %APPDATA%\postgresql and added a psqlrc.conf file, and it worked like a charm.

like image 163
Matthew Moisen Avatar answered Oct 22 '25 04:10

Matthew Moisen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!