Re: Fastest way to check database's existence

From: Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>
To: Kynn Jones <kynnjo(at)gmail(dot)com>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Fastest way to check database's existence
Date: 2010-10-16 15:39:13
Message-ID: AANLkTi=XZkU8x7LEM1ZWDQBaQNOpeMFGQuVGqQwp=YDD@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Is there an even faster way to check for a database's existence that does
> not require establishing a connection?
> (Maybe this question would be more suitable for the pgsql-performance list?)

No. You have to connect to some database in particular to do anything.
That's why the postgres database exists.

--
Regards,
Peter Geoghegan

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2010-10-16 15:41:43 Re: Fastest way to check database's existence
Previous Message Kynn Jones 2010-10-16 15:13:12 Fastest way to check database's existence