Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
mla committed Feb 17, 2024
2 parents 2015c71 + f574849 commit 97c79a6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ PostgreSQL database named "mydb", a sample database could be constructed with:

```
$ createdb sampledb
$ pg_sample mydb | psql sampledb
$ pg_sample mydb | psql -v ON_ERROR_STOP=1 sampledb
```

The "-v ON_ERROR_STOP=1" option is not required but is recommended to catch any
import errors.


## Requirements

- PostgreSQL 8.1 or later
Expand Down
5 changes: 4 additions & 1 deletion pg_sample
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ can be piped to the psql utility. For example, assuming we have an existing
PostgreSQL database named "mydb", a sample database could be constructed with:
createdb sampledb
pg_sample mydb | psql sampledb
pg_sample mydb | psql -v ON_ERROR_STOP=1 sampledb
The "-v ON_ERROR_STOP=1" option is not required but is recommended to catch any
import errors.
=head2 Requirements
Expand Down

0 comments on commit 97c79a6

Please sign in to comment.