Connect without specifying a database?

From: "lists(at)mgreg(dot)com" <lists(at)mgreg(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Connect without specifying a database?
Date: 2009-04-11 15:30:00
Message-ID: DFD86EC1-E1C4-4A00-9618-D416894A7C96@mgreg.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi All,

Quick question: Does PGSQL provide a mechanism by which to connect to
the server without specifying a database? I saw a thread back in 2005
that said "no" (http://archives.postgresql.org//pgsql-interfaces/2005-02/msg00031.php
), but I was curious as to whether that's changed. Basically I need
to be able to dynamically determine what databases exist etc before
performing certain actions in my application.

Thanks,
Michael

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pedro Doria Meunier 2009-04-11 15:33:45 Re: Internationalization
Previous Message Sam Mason 2009-04-11 14:58:59 Re: Internationalization