sqlc icon indicating copy to clipboard operation
sqlc copied to clipboard

Configure search_path

Open prog8 opened this issue 1 year ago • 0 comments

What do you want to change?

Today catalog.Catalog has a field called SearchPath. The only place it is configured is hardcoded and is part of catalog initialization here.

It's a common use case to have search_path per connection and then one expects not to use full name like schema.table but just call table explicitly. It'd be good to have ability to configure search_path when sqlc generate is triggered.

What database engines need to be changed?

No response

What programming language backends need to be changed?

No response

prog8 avatar Oct 20 '24 06:10 prog8