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

From: Amn Ojee Uw <amnojeeuw(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: PSQL = Yes ... JDBC = no ??
Date: 2023-09-04 00:19:44
Message-ID: 5dc2926b-32d6-dce7-49e6-aee508ce73c3@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I see now, any suggestions as work around in JDBC?

Thanks!!

On 9/3/23 8:12 p.m., David G. Johnston wrote:
> 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 Erik Wienhold 2023-09-04 01:32:16 Re: createuser unexpectedly creates superuser with createdb and createrole
Previous Message David G. Johnston 2023-09-04 00:12:35 Re: PSQL = Yes ... JDBC = no ??