Re: postgresql ID - Mailing list pgsql-jdbc

From Rene Pijlman
Subject Re: postgresql ID
Date
Msg-id v7dqnt42l2iuvh1bgabsr14s3ceb5kp919@4ax.com
Whole thread Raw
In response to postgresql ID  (Luís Henriques <lhenriques@criticalsoftware.com>)
List pgsql-jdbc
On Fri, 17 Aug 2001 11:13:12 +0100, you wrote:
>Is there a way to be sure that the database that the application
>is using in a specific moment is really a postgres database?

DatabaseMetaData.getDatabaseProductName() returns "PostgreSQL".

I can't guarantee that other products won't do the same though
:-)

Regards,
René Pijlman

pgsql-jdbc by date:

Previous
From: Luís Henriques
Date:
Subject: postgresql ID
Next
From: Peter Rogers
Date:
Subject: Unable to connect to database