Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

We often end up creating CSV files from the results of some specific PostgreSQL query, and mailing that around. This usually involves starting up a GUI database tool (we use EMS PostgreSQL manager), clicking through some windows, then saving a CSV file, then mailing it.

WouldnOr manually doing everything from a shell. But wouldn't it be nice if this could all be done in one go? The following shell script takes care of that:

...