Re: PSQL = Yes ... JDBC = no ?? - Mailing list pgsql-general

From David G. Johnston
Subject Re: PSQL = Yes ... JDBC = no ??
Date
Msg-id CAKFQuwYXZ2f5_t=dKmEyYDG8WvMvbhk5CqmS0GJTi-g6g+usQg@mail.gmail.com
Whole thread Raw
In response to Re: PSQL = Yes ... JDBC = no ??  (Amn Ojee Uw <amnojeeuw@gmail.com>)
Responses Re: PSQL = Yes ... JDBC = no ??
List pgsql-general
On Sunday, September 3, 2023, Amn Ojee Uw <amnojeeuw@gmail.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.

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: PSQL = Yes ... JDBC = no ??
Next
From: Amn Ojee Uw
Date:
Subject: Re: PSQL = Yes ... JDBC = no ??