Re: Regarding feature #6841

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Thom Brown <thom(at)linux(dot)com>
Cc: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>, Anil Sahoo <anil(dot)sahoo(at)enterprisedb(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Regarding feature #6841
Date: 2024-04-23 12:50:37
Message-ID: CA+OCxoxN3D+tojy+67LNc702oP2JrK9035HtSROYeJErb6EXqw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Tue, 23 Apr 2024 at 12:03, Thom Brown <thom(at)linux(dot)com> wrote:

>
>> You've been able to do the "Select and run" thing for years. If you
>> select text in the editor and hit the execute button, only the selected
>> text is sent to the server. If nothing is selected, the entire string is
>> sent. This feature will complement that for convenience, but for safety
>> will have a separate button/shortcut.
>>
>
> Oh, I clearly don't use PgAdmin enough to know this already.
>

Boo!

>
> I still find the proposal somewhat unintuitive, but the foot-gun
> safeguards that have been suggested sound like any pedal injuries will
> solely be the fault of the user.
>
> I would want to see it tested in a diverse range of scenarios though,
> which will require some imagination given what users will no doubt try to
> use it on.
>

Yes, I have made that very clear to the team. Suggestions for test
scenarios are welcome of course - a good way to experiment might be to see
how the current version of pgAdmin (which uses the new CodeMirror code)
manages to mess up syntax highlighting of anything weird.

--
Dave Page
pgAdmin: https://www.pgadmin.org
PostgreSQL: https://www.postgresql.org
EDB: https://www.enterprisedb.com

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Anthony DeBarros 2024-04-23 12:57:57 Re: Regarding feature #6841
Previous Message Thom Brown 2024-04-23 11:03:01 Re: Regarding feature #6841