Today I Learned

hashrocket A Hashrocket project

Shell out from psql

Want to run a terminal command from psql, the REPL for Postgres? Here's how you do it:

tilex_test=# \! head -n 1 README.md
# Tilex - Today I Learned in Elixir
See More #sql TILs
Looking for help? Hashrocket developers believe that data quality is as important as code quality. We enjoy all the challenges of relational databases, from finding the fastest index, to structuring data to fit the needs of an application. We're eager to share our experiences; check out PG Casts, our series of free PostgreSQL screencasts.