pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Amn Ojee Uw <amnojeeuw@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: PSQL = Yes ... JDBC = no ??
Date: Sun, 3 Sep 2023 20:19:44 -0400
Message-ID: <5dc2926b-32d6-dce7-49e6-aee508ce73c3@gmail.com> (raw)
In-Reply-To: <CAKFQuwYXZ2f5_t=dKmEyYDG8WvMvbhk5CqmS0GJTi-g6g+usQg@mail.gmail.com>
References: <cbe8bd8f-7d34-29b3-a169-9cefb9f1de83@gmail.com>
<9524571e-96ed-15f0-4f70-89d9bbe273b9@aklaver.com>
<c49fdab5-a81c-63b0-06e8-d34e16800a34@gmail.com>
<CAKFQuwYXZ2f5_t=dKmEyYDG8WvMvbhk5CqmS0GJTi-g6g+usQg@mail.gmail.com>
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@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.
>
view thread (8+ messages) latest in thread
Message-ID: <5dc2926b-32d6-dce7-49e6-aee508ce73c3@gmail.com> Permalink: ../5dc2926b-32d6-dce7-49e6-aee508ce73c3@gmail.com/ Also on: postgresql.org/message-id/5dc2926b-32d6-dce7-49e6-aee508ce73c3@gmail.com ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-general@postgresql.org Cc: amnojeeuw@gmail.com Subject: Re: PSQL = Yes ... JDBC = no ?? In-Reply-To: <5dc2926b-32d6-dce7-49e6-aee508ce73c3@gmail.com> References: <cbe8bd8f-7d34-29b3-a169-9cefb9f1de83@gmail.com> <9524571e-96ed-15f0-4f70-89d9bbe273b9@aklaver.com> <c49fdab5-a81c-63b0-06e8-d34e16800a34@gmail.com> <CAKFQuwYXZ2f5_t=dKmEyYDG8WvMvbhk5CqmS0GJTi-g6g+usQg@mail.gmail.com> <5dc2926b-32d6-dce7-49e6-aee508ce73c3@gmail.com> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox