test(c/driver/postgresql): add test for composite type behavior#3196
test(c/driver/postgresql): add test for composite type behavior#3196amoeba wants to merge 5 commits intoapache:mainfrom
Conversation
|
Still working on this, currently this fails with, |
|
Hmm, maybe it isn't actually supported then...Or maybe you have to reconnect after creating the type to reload the type mapping |
763605b to
3e2eb6e
Compare
|
I added what I think was a mid-test reconnect in 3e2eb6e. The new test still fails, |
|
Sorry this is on my backlog to poke |
|
No problem at all. Thanks. |
lidavidm
left a comment
There was a problem hiding this comment.
I gave it a test in Python, creating the type beforehand in psql, and it worked. I think the AdbcDatabase needs to be recreated as that's what caches the type info. I think elsewhere someone requested a way to drop and recreate the type cache and maybe we should consider that
|
|
Very interesting, thanks for figuring it out. I pushed a fixed test which uses a test helper you may or may not like. I thought about making a new fixture but just adding a |
237a0b0 to
ab421cb
Compare
|
Rebased. |
|
Hmm, ASAN is unhappy about something. |
|
I'll take a look later this week. |
|
@amoeba do you think you want to do this for the next release? |
|
Hey @lidavidm, I won't be able to get this in for the release. I'll try for the next one. |
No description provided.