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

query data via gorm PostgresQL #2795

Closed
yuanbohan opened this issue Nov 23, 2023 · 3 comments
Closed

query data via gorm PostgresQL #2795

yuanbohan opened this issue Nov 23, 2023 · 3 comments
Assignees
Labels
C-bug Category Bugs

Comments

@yuanbohan
Copy link
Contributor

What type of bug is this?

Crash, Data corruption

What subsystems are affected?

Standalone mode

Minimal reproduce step

  1. start greptimedb cargo run -- standalone start
  2. clone repo https://github.com/yuanbohan/gorm-greptimedb, and run go run main.go

What did you expect to see?

behave the same as PostgresQL

What did you see instead?

panic with no data fetched

What operating system did you use?

Mac OS X, Ventuna 13.4.1 (c), Apple M1 Pro

Relevant log output and stack trace

2023/11/23 09:22:15 /Users/yuanbohan/workspace/github.com/gorm-greptimedb/db/pg.go:40 ERROR: Failed to describe statement (SQLSTATE XX000)
[7.457ms] [rows:0] SELECT * FROM "monitors"
panic: ERROR: Failed to describe statement (SQLSTATE XX000)
@yuanbohan yuanbohan added the C-bug Category Bugs label Nov 23, 2023
@yuanbohan yuanbohan self-assigned this Nov 23, 2023
@killme2008
Copy link
Contributor

Any error logs in greptimedb?

@yuanbohan
Copy link
Contributor Author

Any error logs in greptimedb?

no

@sunng87 sunng87 self-assigned this Nov 23, 2023
@yuanbohan
Copy link
Contributor Author

This isn't a bug, and I will re-open this issue if I found another issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category Bugs
Projects
None yet
Development

No branches or pull requests

3 participants