pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thibaud W. <thibaud.walkowiak@dalibo.com>
To: pgsql-hackers@lists.postgresql.org
Subject: Proposal: adding a better description in psql command about large objects
Date: Thu, 2 Jun 2022 11:12:46 +0200
Message-ID: <43f0439c-df3e-a045-ac99-af33523cc2d4@dalibo.com> (raw)

Hello,

Attached is a small patch to add a description to the meta commands 
regarding
large objects.


the actual description when using psql --help=commands is :

Large Objects
    \lo_export LOBOID FILE
    \lo_import FILE [COMMENT]
    \lo_list
    \lo_unlink LOBOID      large object operations

the proposed description is :

Large Objects
    \lo_export LOBOID FILE  export large object to a file
    \lo_import FILE [COMMENT]    import large object from a file
    \lo_list               list large objects
    \lo_unlink LOBOID      delete a large object


I tried to make an alignment on the description of other meta-commands.

Thanks.
Regards.
--
Thibaud W.

Attachments:

psql_large_objects_help_description.patch (text/x-patch, 951B) download diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index 49eb116f33..5af7abca9e 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -321,10 +321,10 @@ slashUsage(unsigned short int pager) fprintf(output, "\n"); fprintf(output, _("Large Objects\n")); - fprintf(output, _(" \\lo_export LOBOID FILE\n" - " \\lo_import FILE [COMMENT]\n" - " \\lo_list[+]\n" - " \\lo_unlink LOBOID large object operations\n")); + fprintf(output, _(" \\lo_export LOBOID FILE export large object to a file\n")); + fprintf(output, _(" \\lo_import FILE [COMMENT] import large object from a file\n")); + fprintf(output, _(" \\lo_list[+] list large objects\n")); + fprintf(output, _(" \\lo_unlink LOBOID delete a large object\n")); ClosePager(output); }

view thread (10+ messages)  latest in thread

Message-ID: <43f0439c-df3e-a045-ac99-af33523cc2d4@dalibo.com>
Permalink:  ../43f0439c-df3e-a045-ac99-af33523cc2d4@dalibo.com/
Also on:    postgresql.org/message-id/43f0439c-df3e-a045-ac99-af33523cc2d4@dalibo.com

 ·  · 

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: pgsql-hackers@postgresql.org
  Cc: thibaud.walkowiak@dalibo.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Proposal: adding a better description in psql command about large objects
  In-Reply-To: <43f0439c-df3e-a045-ac99-af33523cc2d4@dalibo.com>

* 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