You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used to have a very nice connection string against postgresql with "options='--search_path=my_path'" next to the normal user, host, etc. Such that I could use different paths from different areas of my application.
I have an "old" fork in which it works and from a diff I realize that there's been a lot of code committed on November 9th to harmonize code for connection strings between different DBs.
I have been reviewing the code briefly but I didn't find a smoking gun.
This issue is to raise awareness of the lack of backwards compatibility, and of course to talk whether this was just a side-effect and I should solve this differently. (I hope not, because in my last commit for postgresql I spent quite some time assuring this would keep working. - But I'll accept if I'm the only one)
The text was updated successfully, but these errors were encountered:
Sorry, this wasn't intentional. I am not sure why exactly did this break, we're still supposed to pass all the options, including the ones SOCI doesn't know about (such as options) to libpq. I'll try to debug this if you don't beat me to it.
My fork has changes from the 22nd of October up until now. It could be anything between now and then... Statistically it should be closer to December, because I've done a lot of work on my project, and I rebuild SOCI often as part of the process. And I didn't realize until a couple of weeks ago. I thought it was a bug on my side - so I parked it until today...
This is surely related to my changes in #1176, the question is why exactly is it broken, e.g. what does build_string_from_options() return for this string in postgresql_session_backend::connect().
I used to have a very nice connection string against postgresql with "options='--search_path=my_path'" next to the normal user, host, etc. Such that I could use different paths from different areas of my application.
I have an "old" fork in which it works and from a diff I realize that there's been a lot of code committed on November 9th to harmonize code for connection strings between different DBs.
I have been reviewing the code briefly but I didn't find a smoking gun.
This issue is to raise awareness of the lack of backwards compatibility, and of course to talk whether this was just a side-effect and I should solve this differently. (I hope not, because in my last commit for postgresql I spent quite some time assuring this would keep working. - But I'll accept if I'm the only one)
The text was updated successfully, but these errors were encountered: