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

Fixes Postgres Restore Bug #177

Merged
merged 3 commits into from
Jun 9, 2016
Merged

Fixes Postgres Restore Bug #177

merged 3 commits into from
Jun 9, 2016

Conversation

thomasmitchell
Copy link
Contributor

  • Fixes a bug where a Postgres dump file with a line longer than 64K could not be read by the scanner in the Postgres restore plugin.
  • The plugin now returns non-0 codes on errors related to reading the file in.
  • Fixed an off-by-one error in the debug logs when it says how many lines were in the dump file that was restored.

tmitchell@starkandwayne.com added 2 commits June 8, 2016 11:22
@@ -271,7 +295,8 @@ func pgConnectionInfo(endpoint ShieldEndpoint) (*PostgresConnectionInfo, error)
database, err := endpoint.StringValueDefault("pg_database", "")
DEBUG("PGDATABASE: '%s'", database)

bin := "/var/vcap/packages/postgres-9.4/bin"
//bin := "/var/vcap/packages/postgres-9.4/bin"
bin := "/var/vcap/packages/postgresql_9.3/bin"
Copy link
Contributor

Choose a reason for hiding this comment

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

Was this intended?

@thomasmitchell
Copy link
Contributor Author

Carry on

@geofffranks geofffranks merged commit a58e265 into master Jun 9, 2016
@thomasmitchell thomasmitchell deleted the linesizefix branch June 9, 2016 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants