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

Поиск
Список
Период
Сортировка
От Amn Ojee Uw
Тема Re: PSQL = Yes ... JDBC = no ??
Дата
Msg-id 5dc2926b-32d6-dce7-49e6-aee508ce73c3@gmail.com
обсуждение исходный текст
Ответ на Re: PSQL = Yes ... JDBC = no ??  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: PSQL = Yes ... JDBC = no ??  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Список 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@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 по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: PSQL = Yes ... JDBC = no ??
Следующее
От: Erik Wienhold
Дата:
Сообщение: Re: createuser unexpectedly creates superuser with createdb and createrole