On Apr 11, 2009, at 12:56 PM, Tom Lane wrote:
I think our first issue is semantics and our second is paradigm. Hopefully I'm simply misunderstanding what you're saying, but what sense does it make to have to connect to an unrelated DB in order to query about others? Basically, I have some applications that will simply use PG as a backend. That application needs to ask the engine manager (whatever that means in in postgres speak) and see if relevant databases already exist. If they don't then it needs to create them. So, how does needing to connect to a database before querying about existing databases make any sense? MySQL aside, it seems an extra constraint/step for naught. Perhaps I asked the wrong question in the beginning -- I do apologize. Maybe I should have asked for an external application that has the ability to talk to the PG engine. I believe John R. Pierce provided me with what I need in his last post -- that of listing DBs via a "psql -l". Thanks, Michael |