From: Erik Wienhold <ewie@ewie.name>
To: Carl Erik Eriksson <carlerikeriksson@mac.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Problem perhaps after upgrading to pgadmin4 7.4
Date: Thu, 13 Jul 2023 19:53:29 +0200 (CEST)
Message-ID: <44885323.17430.1689270809619@office.mailbox.org> (raw)
In-Reply-To: <71E975C3-68C5-4CB7-9666-7C23C73BB98F@mac.com>
References: <71E975C3-68C5-4CB7-9666-7C23C73BB98F@mac.com>
> On 13/07/2023 13:20 CEST Carl Erik Eriksson <carlerikeriksson@mac.com> wrote:
>
> Query tool PGadmin on my mac
>
> If I enter a query like select count(*) from table_1 I get a correct
> response from the server
> If I enter select * from table_1 I get an error message that I do not
> understand:
> Error Message:missing FROM-clause entry for table "rel"
> LINE 8: ...ER JOIN pg_catalog.pg_constraint con ON con.conrelid=rel.oid
>
> PSQL tool (PGadmin on my Mac)
>
> However if I enter the same from the PSQL tool I get the correct output.
>
> But that output goes to my screen and I have found no way of directing it to
> a file on my Mac.
Redirect the output in psql with meta command \out:
\out /path/to/file.txt
select * from table_1;
> Carl E Eriksson
That's a cool name ;)
--
Erik
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: ewie@ewie.name, carlerikeriksson@mac.com
Subject: Re: Problem perhaps after upgrading to pgadmin4 7.4
In-Reply-To: <44885323.17430.1689270809619@office.mailbox.org>
References: <71E975C3-68C5-4CB7-9666-7C23C73BB98F@mac.com> <44885323.17430.1689270809619@office.mailbox.org>
* 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