Versions Compared

Key

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

On TERENA systems, this script is located at /usr/local/share/sysadmin/misc/pgmailcsv.

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.

...

In case it wasn't clear, this script is meant to view data, which implies SELECT. So don't do stupid things like UPDATE or DELETE.

...

.

...

 

CSV files with e-mail addresses

...