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

unsupported jsonb version number 123 #48

Closed
Sorix opened this issue May 6, 2018 · 2 comments · Fixed by vapor/postgres-kit#66
Closed

unsupported jsonb version number 123 #48

Sorix opened this issue May 6, 2018 · 2 comments · Fixed by vapor/postgres-kit#66

Comments

@Sorix
Copy link

Sorix commented May 6, 2018

I have a one class and another one inside as a property. I don't want to create a new table for another simple class, make relationships etc for simple models. I tried that way:

final class Person: PostgreSQLUUIDModel {
  var id: UUID?
  var mails: [Mail]?
}

final class Mail: PostgreSQLJSONType {
  var name: String?
  var address: String?
}

But when I try to create object with that model I receive such error:

[ DEBUG ] Possible causes for PostgreSQLDiagnosticResponse.jsonb_recv: unsupported jsonb version number 123 (Logger+LogError.swift:23)

My PostgreSQL version is 10.3.

@Sorix
Copy link
Author

Sorix commented May 6, 2018

I think #38 is related issue.

@hjuraev
Copy link

hjuraev commented May 13, 2018

⚠️ PostgreSQL Diagnostic: ERROR: unsupported jsonb version number 123

  • id: PostgreSQLDiagnosticResponse.jsonb_recv

Here are some possible causes:

  • unsupported jsonb version number 123

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 a pull request may close this issue.

2 participants