Daily Shaarli

All links of one day in a single page.

April 21, 2017

CAPISCO: apprendre à comprendre - L'école de Julie
PGCon 2015 - Shebang : Scripting with Postgres - Joe Conway

Scripting with Postgres

Sometimes bash is just the way to go! This talk will cover tips and techniques for effective bash scripting with PostgreSQL.

Sometimes bash is just the way to go! This talk will cover tips and techniques for effective bash scripting with PostgreSQL.

It will include guidance about:

Pros/cons of shell scripts
Function library creation and use
Executing SQL
Set/get PostgreSQL data from/into script variables
Keeping PostgreSQL functions in sync with scripts
Locking
Doing work in parallel
Ensuring cleanup

This is a source-code heavy talk. Moderate experience with both bash scripting and PostgreSQL is needed to get the most out of it.