PgAdmin4 and tabs

Michael Shapiro <[email protected]> Fri, 20 Sep 2019 10:10:53 -0500
Newsgroups gmane.comp.db.postgresql.pgadmin
Message-ID <CAGCvxea=vEwfAmhQFYmK-+Akh5kFVL3=M+eLxpkppUFjO-dqVw@mail.gmail.com>
It looks as if the display of function code in PgAdmin4 is not handling
indentation properly, possibly due to TABS in the SQL.

Code that looks like

if .....
then
<TAB> if ....
<TAB> then
<TAB><TAB> ...
<TAB>end if;
end if;

gets displayed as

if ...
then
  if ...
  then
  ...                       <<-- this line is not indented properly
  end if;
end if;

Is there a setting/preference for how to render TABS in the SQL display?