Re: PSQL = Yes ... JDBC = no ??

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Amn Ojee Uw <amnojeeuw(at)gmail(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: PSQL = Yes ... JDBC = no ??
Date: 2023-09-04 00:12:35
Message-ID: CAKFQuwYXZ2f5_t=dKmEyYDG8WvMvbhk5CqmS0GJTi-g6g+usQg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sunday, September 3, 2023, Amn Ojee Uw <amnojeeuw(at)gmail(dot)com> wrote:
>
> Are you saying that JDBC cannot handle or process \gexec, since it is
> PG-15 exclusive?
>

psql is a client application present in all versions of PostgreSQL. It has
a bunch of features related to executing SQL queries. The stuff that it is
documented to do are only doable by it in many cases, and in all cases are
done locally, not by the server. You cannot send those meta-commands to
the server, it has no clue what to do with them. And since you are using
JDBC you by definition aren’t using psql.

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Amn Ojee Uw 2023-09-04 00:19:44 Re: PSQL = Yes ... JDBC = no ??
Previous Message Adrian Klaver 2023-09-03 23:46:53 Re: PSQL = Yes ... JDBC = no ??