Skip to content

Commit

Permalink
Bump version 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmartinelli committed Feb 21, 2016
1 parent 74c72da commit 04ccd9a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions README.md
Expand Up @@ -21,7 +21,7 @@ You can download a single binary for Linux, OSX or Windows.
**OSX**

```bash
wget -O pgfutter https://github.com/lukasmartinelli/pgfutter/releases/download/v0.3.2/pgfutter_darwin_amd64
wget -O pgfutter https://github.com/lukasmartinelli/pgfutter/releases/download/v0.4/pgfutter_darwin_amd64
chmod +x pgfutter

./pgfutter --help
Expand All @@ -30,7 +30,7 @@ chmod +x pgfutter
**Linux**

```bash
wget -O pgfutter https://github.com/lukasmartinelli/pgfutter/releases/download/v0.3.2/pgfutter_linux_amd64
wget -O pgfutter https://github.com/lukasmartinelli/pgfutter/releases/download/v0.4/pgfutter_linux_amd64
chmod +x pgfutter

./pgfutter --help
Expand Down Expand Up @@ -229,6 +229,15 @@ This works the same for invalid JSON objects.
pgfutter csv --table violations traffic_violations.csv
```

### Import single JSON object

Instead of using JSON lines you can also [import a single JSON object](https://github.com/lukasmartinelli/pgfutter/issues/9)
into the database. This will load the JSON document into memory first.

```bash
pgfutter jsonobj document.json
```

## Alternatives

For more sophisticated needs you should take a look at [pgloader](http://pgloader.io).
Expand Down
2 changes: 1 addition & 1 deletion pgfutter.go
Expand Up @@ -30,7 +30,7 @@ func parseTableName(c *cli.Context, filename string) string {
func main() {
app := cli.NewApp()
app.Name = "pgfutter"
app.Version = "0.3.2"
app.Version = "0.4"
app.Usage = "Import JSON and CSV into PostgreSQL the easy way"
app.Flags = []cli.Flag{
cli.StringFlag{
Expand Down

0 comments on commit 04ccd9a

Please sign in to comment.