Skip Menu |

This queue is for tickets about the Alzabo CPAN distribution.

Maintainer(s)' notes

Not really maintained any more. Interested in taking it over? Email the author.

Report information
The Basics
Id: 17942
Status: resolved
Priority: 0/
Queue: Alzabo

Owner: Nobody in particular

Bug Information
Severity: Normal
Broken in:
  • 0.86
  • 0.87
Fixed in: 0.88

Subject: Postgres driver caches connections even with different credentials
Download (untitled) / with headers
text/plain 696b
The Postgres driver (and possibly the MySQL one, but I didn't look) only requires that an existing connection respond to a ping() call to continue using it, even when connect() is called repeatedly with different arguments. Not only does this appear to run contrary to the "we don't do caching" blurb in Alzabo::Driver(3pm), but it also can result in broken situations when one uses multiple users with different permissions on the same schema. In a persistent environment, this can happen without the developer even realising it's possible. In my case, I thought I was loading the schema fresh each time, but I was getting a cached copy with a connection already associated.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to