RE: Psql meta-command conninfo+

From: Maiquel Grassi <grassi(at)hotmail(dot)com(dot)br>
To: "Imseih (AWS), Sami" <simseih(at)amazon(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Nathan Bossart <nathandbossart(at)gmail(dot)com>, Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>, Pavel Luzanov <p(dot)luzanov(at)postgrespro(dot)ru>, Erik Wienhold <ewie(at)ewie(dot)name>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: RE: Psql meta-command conninfo+
Date: 2024-04-04 14:34:20
Message-ID: CP8P284MB24963F20976467761F623F5EEC3C2@CP8P284MB2496.BRAP284.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Building the docs fail for v26. The error is:

ref/psql-ref.sgml:1042: element member: validity error : Element term is not declared in member list of possible children

</member>

^

I am able to build up to v24 before the <para> was replaced with <listitem><member>

I tested building with a modified structure as below; the <listitem> is a <para>

that has a <simplelist> within it. Each field is a simple list member and

the the name of the fields should be <literal>.

<varlistentry id="app-psql-meta-command-conninfo">

<term><literal>\conninfo[+]</literal></term>

<listitem>

<para>

Outputs a string displaying information about the current

database connection. When <literal>+</literal> is appended,

more details about the connection are displayed in table

format:

<simplelist>

<member><literal>Database:</literal>The database name of the connection.</member>

<member><literal>Authenticated User:</literal>The authenticated database user of the connection.</member>

<member><literal>Current User:</literal>The user name of the current execution context;

see the <function>current_user()</function> function in

<xref linkend="functions-info-session-table"/> for more details.</member>

</simplelist>

</para>

</listitem>

</varlistentry>

---//---

Hi Sami!
(v27)
I made the adjustment in the documentation.
Thank you for the time dedicated to this feature.
Regards,
Maiquel Grassi.

Attachment Content-Type Size
v27-0001-psql-meta-command-conninfo-plus.patch application/octet-stream 15.5 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dmitry Dolgov 2024-04-04 14:35:14 Re: pg_stat_statements and "IN" conditions
Previous Message Peter Eisentraut 2024-04-04 14:31:58 Re: Adding comments to help understand psql hidden queries