这是indexloc提供的服务,不要输入任何密码
Skip to content

bug in pg_dump api when there are unicode characters in the dump #2571

@houkk

Description

@houkk

Runing in docker. Migrate init failed(pg_dump failed).

Version

Graphql-engine: v1.0.0-beta.3 (upgrade from 1.0.0-beta.2)
hasura-cli: 1.0.0-beta.3

Command

Excute follow command:

$ hasura migrate create "init" --from-server

And then get pg_dump error:

FATA[0084] cannot fetch schema dump: [unexpected] internal exception while executing pg_dump ($)

Make pg_dump post request

POST url: http://localhost:8081/v1alpha1/pg_dump
Body: {
  "opts": ["-O", "-x", "--schema-only", "--schema", "public"],
  "clean_output": true
}

Response

status: 500
body: {
    "path": "$",
    "error": "internal exception while executing pg_dump",
    "code": "unexpected"
}

Metadata

Metadata

Assignees

Labels

c/serverRelated to serverk/bugSomething isn't workingp/urgentImmediate action required

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions