On Thursday 20 Feb 2003 5:52 pm, P G wrote:
> What is the quickest and least intrusive query in the
> database that will always succeed?
>
> select current_user;
>
> -- OR --
>
> select datname from pg_database where datname =
> 'some_database';
>
> Or would it be something else?
Probably something like
SELECT 1;
--
Richard Huxton