Closed Reiddd closed 1 year ago
This is odd, as all the integration tests for the auto-creation of tables are run with pruneSessionInterval: false
, see https://github.com/voxpelli/node-connect-pg-simple/blob/920583fadbe4e78f3dda4c077837ad0c8ff0ef9a/test/integration/basic.spec.js#L29
Are you sure pruneSessionInterval: false
is the cause? I typically go about fixing a bug like this by creating a test case that reproduces the failure and then fixing the code until that test case passes, but in this case there are already test cases that shows that this should be working
I'm pretty sure, but your test case looks more persuasive x_x Anyway, in my product we have bypassed this issue, so I'm ok if you want to close this. I will keep an eye on this kind of issue in my product to look for the real root cause if there is one
Sorry, didn't see your comment before I added the label 🙈 Closing for now then, open a new one if the issue pops up again
Hi :)
I meet a weird issue in my product with connect-pg-simple 7.0.0. Here is my code
Normally I would expect that the
session
table can be automatically created since I specifiedcreateTableIfMissing=true
, but in fact it's not.Removing
pruneSessionInterval=false
fixes it, but I think these two parameters should not have dependency on each other, so this looks like a bug to me.