Fix exporting values into Postgres #1186

Merged
gzsombor merged 1 commits from postgres-import into master 2019-01-09 08:18:51 +00:00
gzsombor commented 2019-01-09 07:58:29 +00:00 (Migrated from github.com)

Fixing go-gitea/gitea#5651

  • UUID and BOOL type shouldn't have a length field
  • Incorrect quoting cause that the column names are selected instead of the column values
Fixing go-gitea/gitea#5651 * UUID and BOOL type shouldn't have a length field * Incorrect quoting cause that the column names are selected instead of the column values
codecov-io commented 2019-01-09 08:15:19 +00:00 (Migrated from github.com)

Codecov Report

Merging #1186 into master will increase coverage by <.01%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1186      +/-   ##
==========================================
+ Coverage   54.69%   54.69%   +<.01%     
==========================================
  Files          42       42              
  Lines        7646     7649       +3     
==========================================
+ Hits         4182     4184       +2     
- Misses       2935     2936       +1     
  Partials      529      529
Impacted Files Coverage Δ
engine.go 61.52% <0%> (-0.07%) ⬇️
dialect_postgres.go 75.72% <100%> (+0.15%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a8f0a71...b255dcb. Read the comment docs.

# [Codecov](https://codecov.io/gh/go-xorm/xorm/pull/1186?src=pr&el=h1) Report > Merging [#1186](https://codecov.io/gh/go-xorm/xorm/pull/1186?src=pr&el=desc) into [master](https://codecov.io/gh/go-xorm/xorm/commit/a8f0a7110a8049c79069836b420538f1964e6339?src=pr&el=desc) will **increase** coverage by `<.01%`. > The diff coverage is `50%`. [![Impacted file tree graph](https://codecov.io/gh/go-xorm/xorm/pull/1186/graphs/tree.svg?width=650&token=yB5nO1krEe&height=150&src=pr)](https://codecov.io/gh/go-xorm/xorm/pull/1186?src=pr&el=tree) ```diff @@ Coverage Diff @@ ## master #1186 +/- ## ========================================== + Coverage 54.69% 54.69% +<.01% ========================================== Files 42 42 Lines 7646 7649 +3 ========================================== + Hits 4182 4184 +2 - Misses 2935 2936 +1 Partials 529 529 ``` | [Impacted Files](https://codecov.io/gh/go-xorm/xorm/pull/1186?src=pr&el=tree) | Coverage Δ | | |---|---|---| | [engine.go](https://codecov.io/gh/go-xorm/xorm/pull/1186/diff?src=pr&el=tree#diff-ZW5naW5lLmdv) | `61.52% <0%> (-0.07%)` | :arrow_down: | | [dialect\_postgres.go](https://codecov.io/gh/go-xorm/xorm/pull/1186/diff?src=pr&el=tree#diff-ZGlhbGVjdF9wb3N0Z3Jlcy5nbw==) | `75.72% <100%> (+0.15%)` | :arrow_up: | ------ [Continue to review full report at Codecov](https://codecov.io/gh/go-xorm/xorm/pull/1186?src=pr&el=continue). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta) > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/go-xorm/xorm/pull/1186?src=pr&el=footer). Last update [a8f0a71...b255dcb](https://codecov.io/gh/go-xorm/xorm/pull/1186?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
codecov-io commented 2019-01-09 08:15:19 +00:00 (Migrated from github.com)

Codecov Report

Merging #1186 into master will increase coverage by <.01%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1186      +/-   ##
==========================================
+ Coverage   54.69%   54.69%   +<.01%     
==========================================
  Files          42       42              
  Lines        7646     7649       +3     
==========================================
+ Hits         4182     4184       +2     
- Misses       2935     2936       +1     
  Partials      529      529
Impacted Files Coverage Δ
engine.go 61.52% <0%> (-0.07%) ⬇️
dialect_postgres.go 75.72% <100%> (+0.15%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a8f0a71...b255dcb. Read the comment docs.

# [Codecov](https://codecov.io/gh/go-xorm/xorm/pull/1186?src=pr&el=h1) Report > Merging [#1186](https://codecov.io/gh/go-xorm/xorm/pull/1186?src=pr&el=desc) into [master](https://codecov.io/gh/go-xorm/xorm/commit/a8f0a7110a8049c79069836b420538f1964e6339?src=pr&el=desc) will **increase** coverage by `<.01%`. > The diff coverage is `50%`. [![Impacted file tree graph](https://codecov.io/gh/go-xorm/xorm/pull/1186/graphs/tree.svg?width=650&token=yB5nO1krEe&height=150&src=pr)](https://codecov.io/gh/go-xorm/xorm/pull/1186?src=pr&el=tree) ```diff @@ Coverage Diff @@ ## master #1186 +/- ## ========================================== + Coverage 54.69% 54.69% +<.01% ========================================== Files 42 42 Lines 7646 7649 +3 ========================================== + Hits 4182 4184 +2 - Misses 2935 2936 +1 Partials 529 529 ``` | [Impacted Files](https://codecov.io/gh/go-xorm/xorm/pull/1186?src=pr&el=tree) | Coverage Δ | | |---|---|---| | [engine.go](https://codecov.io/gh/go-xorm/xorm/pull/1186/diff?src=pr&el=tree#diff-ZW5naW5lLmdv) | `61.52% <0%> (-0.07%)` | :arrow_down: | | [dialect\_postgres.go](https://codecov.io/gh/go-xorm/xorm/pull/1186/diff?src=pr&el=tree#diff-ZGlhbGVjdF9wb3N0Z3Jlcy5nbw==) | `75.72% <100%> (+0.15%)` | :arrow_up: | ------ [Continue to review full report at Codecov](https://codecov.io/gh/go-xorm/xorm/pull/1186?src=pr&el=continue). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta) > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/go-xorm/xorm/pull/1186?src=pr&el=footer). Last update [a8f0a71...b255dcb](https://codecov.io/gh/go-xorm/xorm/pull/1186?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
Sign in to join this conversation.
No description provided.