public inbox for [email protected]  
help / color / mirror / Atom feed
From: Usman Khan <[email protected]>
To: Luke Campbell <[email protected]>
Cc: [email protected]
Subject: Re: displaying line breaks / increasing row height in pgadmin
Date: Sat, 25 May 2024 11:20:55 +0500
Message-ID: <CANVC+RHvgYMedJQZ_LLoEdvqm=ToojePyQdBqQSWEJPn3s2tZw@mail.gmail.com> (raw)
In-Reply-To: <CAEnhCyZHfV8MQ4iBBYr46HNDGDaHvDoUStA6JCk=nRGG=3+SFA@mail.gmail.com>
References: <CAEnhCyZHfV8MQ4iBBYr46HNDGDaHvDoUStA6JCk=nRGG=3+SFA@mail.gmail.com>

Hi,
There seems no automatic way to achieve this in pgadmin 4 yet.

To cater the situation so that you do not miss any such output and get an
immediate clue that particular column or cell contain carriage return we
can tweak with the query a little like following (which replaces carriage
return with '\n')

SELECT REPLACE(your_column, E'\n', '\n') AS formatted_text
FROM your_table;

Additionally, any questions related to pgadmin 4 can directly be asked at
'pgadmin-hackers' for quick response.

Note: Removing psql-hackers and adding pgadmin-hackers in the mail list.

On Wed, May 22, 2024 at 4:47 PM Luke Campbell <[email protected]>
wrote:

> Hi pgadmin maillist,
>
> Is there a way to make the results grid in pgadmin automatically increase
> rows' height if a string contains a carriage return?
>
> I've updated pgadmin 4 to 8.6 and strings in the results grid now seem to
> display line breaks / carriage returns by default, but this has caused me
> to incorrectly think that was the end of the string. I would like these
> strings to display as paragraphs or otherwise indicate that there's more
> than what's displayed.
>
> Yours,
>


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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: displaying line breaks / increasing row height in pgadmin
  In-Reply-To: <CANVC+RHvgYMedJQZ_LLoEdvqm=ToojePyQdBqQSWEJPn3s2tZw@mail.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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox