Skip Menu |

This queue is for tickets about the DBIx-DBSchema CPAN distribution.

Report information
The Basics
Id: 95209
Status: open
Priority: 0/
Queue: DBIx-DBSchema

People
Owner: Nobody in particular
Requestors: kop [...] meme.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: DBIx::DBSchema::DBD::Pg hardcodes the "public" schema
Date: Wed, 30 Apr 2014 09:14:43 -0500
To: bug-DBIx-DBSchema [...] rt.cpan.org
From: "Karl O. Pinc" <kop [...] meme.com>
Hello, DBIx::DBSchema::DBD::Pg hardcodes the "public" schema at line 37. Since we have a PG version > 7.3, and neither have nor want a public schema, and if we did would not want to put stuff in it, this breaks the module. Regards, Karl <kop@meme.com> Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein
On Wed Apr 30 10:14:57 2014, kop@meme.com wrote: Show quoted text
> Hello, > > DBIx::DBSchema::DBD::Pg hardcodes the "public" schema > at line 37.
It does. To be fair, it is the default Pg schema, and (most) other database engines don't have this same concept of namespace slices within a database. It is also worth pointing out (for the record, I'm sure you know), that the default "public" name is unnecessarily scary. It is just the default, it isn't more publicly accessible than the database. Show quoted text
> Since we have a PG version > 7.3, and neither have > nor want a public schema, and if we did would not > want to put stuff in it, this breaks the module.
Patches are certainly welcome! Even simply making it accessible as a package global variable would allow you and other folks to override the default.