Skip to content

Tags: fphilipe/psql2csv

Tags

v0.12

Toggle v0.12's commit message

Verified

This commit was signed with the committer’s verified signature.
fphilipe Philipe Fatio
Use https URLs

v0.11

Toggle v0.11's commit message

Verified

This commit was signed with the committer’s verified signature.
fphilipe Philipe Fatio
Add section about variables to README

v0.10

Toggle v0.10's commit message

Verified

This commit was signed with the committer’s verified signature.
fphilipe Philipe Fatio
Pass --quiet to psql

This ensures that only the query output is printed and any other output,
such as messages resulting from a .psqlrc file, are suppressed.

v0.9

Toggle v0.9's commit message

Verified

This commit was signed with the committer’s verified signature.
fphilipe Philipe Fatio
Merge pull request #4 from fphilipe/more-options

More options

v0.8

Toggle v0.8's commit message
Ignore empty STDIN

This happens when psql2csv is run in the context of another script that
happens to have STDIN open, e.g.:

    echo "psql2csv 'select 1'" | sh

v0.7

Toggle v0.7's commit message
set -e

v0.6

Toggle v0.6's commit message
Improve semicolon stripping

- only strip at end of file
- repeatedly strip until all trailing semicolons are gone

v0.5

Toggle v0.5's commit message
Add --dry-run flag

v0.4

Toggle v0.4's commit message
Use COPY instead of \copy

\copy is a wrapper around COPY which simply sets the output to STDOUT in
order to create a local file. Since we're outputting to STDOUT anyways,
there's no point in using \copy.

v0.3

Toggle v0.3's commit message
Strip trailing semicolon