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

Error "invalid input syntax for type bigint" on --min-calls parameter #53

Closed
dmorel opened this issue Apr 18, 2024 · 1 comment
Closed

Comments

@dmorel
Copy link

dmorel commented Apr 18, 2024

❯ exe/dexter -d ********* --pg-stat-statements -h localhost -U ********** -p 2002 --min-calls 10
/opt/homebrew/lib/ruby/gems/3.3.0/gems/pgdexter-0.5.4/lib/dexter/indexer.rb:548:in `exec_params': ERROR:  invalid input syntax for type bigint: "10.0" (PG::InvalidTextRepresentation)
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/pgdexter-0.5.4/lib/dexter/indexer.rb:548:in `block in execute'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/pgdexter-0.5.4/lib/dexter/indexer.rb:544:in `synchronize'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/pgdexter-0.5.4/lib/dexter/indexer.rb:544:in `execute'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/pgdexter-0.5.4/lib/dexter/indexer.rb:685:in `stat_statements'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/pgdexter-0.5.4/lib/dexter/indexer.rb:30:in `process_stat_statements'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/pgdexter-0.5.4/lib/dexter/client.rb:27:in `perform'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/pgdexter-0.5.4/lib/dexter/client.rb:9:in `start'
	from exe/dexter:7:in `<main>'

This is with dexter on main (0.5.4) on Sonoma/M1 and PG 13.13 on RDS

@ankane ankane closed this as completed in 62f1c98 Apr 19, 2024
@ankane
Copy link
Owner

ankane commented Apr 19, 2024

Hi @dmorel, thanks for reporting! Fixed in the commit above.

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

No branches or pull requests

2 participants