#db
2 posts tagged db. Clear filter
-
How to Find Postgres Log File and Postgres Data Directory from PSQL
If you want to find the location of your log file in Postgres, you'll need to hop into a Psql session.. psql dbname Then it's as simple as running.. show data\directory ; Which will output the data...
-
Repost
This post is inspired by http://pupeno.com/blog/really-resetting-the-database/comment-1179. But as my blog mostly serves as a reference for my future self, I'd like to reprint this little snippet...