embulk-output-postgresql 0.7.6 → 0.7.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e74449b70f9fc24eec605866862cc78481f7611a
4
- data.tar.gz: de435f69ad681357f45989ec561cee13ef83ccb8
3
+ metadata.gz: 64b339824659ec91437358be9ab73c6973ca614a
4
+ data.tar.gz: 44d9a9b72e2d8877aefdfefdda1ced95627f2b2b
5
5
  SHA512:
6
- metadata.gz: 4dd820526690f4ff0dc6b6910a50b2bcb1651917d68de1346f263a793513f4ec4d238a37d70fcfbf7129e34dcbf9d5f6c4a0d35790bfbb0bec5df404adff3135
7
- data.tar.gz: 283427ee83d96c2b89cf031f7d2ec8d7928227fe52966d72032f5394cec0177c8d519dc9c0a4fd0187accf6cfde0096d31d3587ea5f9692ad334817f83863c7b
6
+ metadata.gz: 4cbb6451af5df7c6ad1b7e8f006d93c8a188caac9fe79e71aa2c63a3e6fff7904e4c24bc7dd6abab0d9152128b9a748e8e1de3c44518e5f8a554a79e1f50e6e9
7
+ data.tar.gz: 9585d90e9f7ed82ee60f5e7c62886b1f6c538f7b31ed4d2b7d51e1cf57e6741ade03093fac144fc1d66bb880fd01034e4474eeb3e1b4e5fabb60c7e3124a819c
data/README.md CHANGED
@@ -32,6 +32,7 @@ PostgreSQL output plugin for Embulk loads records to PostgreSQL.
32
32
  - **value_type**: This plugin converts input column type (embulk type) into a database type to build a INSERT statement. This value_type option controls the type of the value in a INSERT statement. (string, default: depends on the sql type of the column. Available values options are: `byte`, `short`, `int`, `long`, `double`, `float`, `boolean`, `string`, `nstring`, `date`, `time`, `timestamp`, `decimal`, `json`, `null`, `pass`)
33
33
  - **timestamp_format**: If input column type (embulk type) is timestamp and value_type is `string` or `nstring`, this plugin needs to format the timestamp value into a string. This timestamp_format option is used to control the format of the timestamp. (string, default: `%Y-%m-%d %H:%M:%S.%6N`)
34
34
  - **timezone**: If input column type (embulk type) is timestamp, this plugin needs to format the timestamp value into a SQL string. In this cases, this timezone option is used to control the timezone. (string, value of default_timezone option is used by default)
35
+ - **before_load**: if set, this SQL will be executed before loading all records. In truncate_insert mode, the SQL will be executed after truncating. replace mode doesn't support this option.
35
36
  - **after_load**: if set, this SQL will be executed after loading all records.
36
37
 
37
38
  ### Modes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-postgresql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-23 00:00:00.000000000 Z
11
+ date: 2017-04-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Inserts or updates records to a table.
14
14
  email:
@@ -19,8 +19,8 @@ extra_rdoc_files: []
19
19
  files:
20
20
  - README.md
21
21
  - build.gradle
22
- - classpath/embulk-output-jdbc-0.7.6.jar
23
- - classpath/embulk-output-postgresql-0.7.6.jar
22
+ - classpath/embulk-output-jdbc-0.7.7.jar
23
+ - classpath/embulk-output-postgresql-0.7.7.jar
24
24
  - classpath/postgresql-9.4-1205-jdbc41.jar
25
25
  - lib/embulk/output/postgresql.rb
26
26
  - src/main/java/org/embulk/output/PostgreSQLOutputPlugin.java