unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Kangas <stefan@marxist.se>
Cc: Michael Mauger <mmauger@protonmail.com>,
	47358@debbugs.gnu.org, Jean Louis <bugs@gnu.support>
Subject: bug#47358: 28.0.50; sql-list-tables: quotes are cumbersome, no need for it; include history
Date: Sun, 26 Jun 2022 20:38:32 +0200	[thread overview]
Message-ID: <87sfnr9snr.fsf@gnus.org> (raw)
In-Reply-To: <CADwFkm=1VOwTEiRDMA3Rvt4e6562Juq=MeQMxPGSn_vJa-qN2g@mail.gmail.com> (Stefan Kangas's message of "Thu, 21 Oct 2021 14:03:05 -0700")

Stefan Kangas <stefan@marxist.se> writes:

> Jean Louis <bugs@gnu.support> writes:
>
>> When executing C-c C-l t in sql-interactive-mode then tables are
>> completed with quotes like "activities" instead of just activities.
>>
>> It would be good not to use quotes, it is more usable that
>> way. Internally the table could require quotes to be called, but for
>> user to complete a string or name of table should not be necessary.
>>
>> Additionally I propose to include history for the function
>> sql-list-tables as calling tables' definitions may be frequent with some
>> users, and other mini buffer entries are not relevant to it.
>
> I'm copying in the sql.el maintainer here.  Michael, could you please take a
> look at the above feature request?

I'm not very familiar with sql.el, but if I read the code correctly,
`C-c C-l t' just outputs the data the SQL server spits back at us?  So
if you're using PostgreSQL, I guess that means that that's how
PostgreSQL formats the CREATE TABLE statement.

But I may be mistaken -- perhaps Michael has some comments here.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-06-26 18:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-24  8:01 bug#47358: 28.0.50; sql-list-tables: quotes are cumbersome, no need for it; include history Jean Louis
2021-10-21 21:03 ` Stefan Kangas
2022-06-26 18:38   ` Lars Ingebrigtsen [this message]
2022-07-05  1:17     ` Michael Mauger via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sfnr9snr.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=47358@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    --cc=mmauger@protonmail.com \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).