-
Notifications
You must be signed in to change notification settings - Fork 65
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
How to set a custom name to prepared statements, in different connections #118
Comments
I don't think that's possible. It's a bit obvious, but please describe why do you need it - it'll help to discuss potential solutions. We can consider implementing EXECUTE IMMEDIATE to avoid one additional roundtrip, and you'll be able to see the query text in logs. |
@NachoNievaG try setting |
I'm trying to name queries differently to avoid the generic
EXECUTE _trino_go USING 4
and get some context (at least in names).
EXECUTE total_customers_transactions USING 4
Is there a way to achieve this using the lib via ExecContext() o QueryRowContext()?
I feel like I'm missing something.
Thank you in advanced!
The text was updated successfully, but these errors were encountered: