Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PostgreSQL SSL mode in README.md #309

Merged
merged 3 commits into from
May 23, 2021

Conversation

kakisoft
Copy link
Contributor

In README, there is no statement about PostgreSQL in SSL mode.
So, I would like to suggest to add it.

Refer to:
#300

README.md Outdated
@@ -61,6 +61,12 @@ Using docker image.
$ docker run --rm -v $PWD:/work k1low/tbls doc postgres://dbuser:dbpass@hostname:5432/dbname
```

In SSL mode, add "?sslmode=disable"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to disable ssl mode when the PostgreSQL server does not support SSL connections.

Copy link
Contributor Author

@kakisoft kakisoft May 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I didn't explain enough.
I just would like you to add this statement, not replace.

So, This is what I meant.

Before:

image

After:

image

But, I made a mistake first pull request.
I'm sorry for confusing you.

I tried to add the statement under PostgreSQL connection.
But, first pull request has an error, I added the statement under Quick Start.

So, I fixed it and sent you pull request again.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why In SSL mode, add "?sslmode=disable" ?

SSL mode is a connection method between client and server. It is not a setting that should always be disabled.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, my phrasing was bad.
I will rephrase it.

Before:

In SSL mode, add "?sslmode=disable"

After:

When you want to disable SSL mode, add "?sslmode=disable"

@k1LoW
Copy link
Owner

k1LoW commented May 14, 2021

@kakisoft Thank you!!

@codecov
Copy link

codecov bot commented May 18, 2021

Codecov Report

Merging #309 (d6f2046) into master (b03062e) will increase coverage by 0.32%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #309      +/-   ##
==========================================
+ Coverage   66.39%   66.71%   +0.32%     
==========================================
  Files          25       26       +1     
  Lines        4115     4287     +172     
==========================================
+ Hits         2732     2860     +128     
- Misses       1098     1134      +36     
- Partials      285      293       +8     
Impacted Files Coverage Δ
datasource/datasource.go 40.14% <0.00%> (-2.12%) ⬇️
schema/schema.go 27.22% <0.00%> (-0.98%) ⬇️
drivers/sqlite/sqlite.go 83.21% <0.00%> (-0.96%) ⬇️
drivers/mssql/mssql.go 79.82% <0.00%> (-0.78%) ⬇️
drivers/postgres/postgres.go 70.45% <0.00%> (-0.46%) ⬇️
drivers/mysql/mysql.go 68.23% <0.00%> (-0.46%) ⬇️
output/md/md.go 66.96% <0.00%> (-0.43%) ⬇️
ddl/ddl.go 95.23% <0.00%> (ø)

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 b03062e...d6f2046. Read the comment docs.

@k1LoW
Copy link
Owner

k1LoW commented May 23, 2021

Thank you!

@k1LoW k1LoW merged commit 84b63c7 into k1LoW:master May 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants