pgAdmin4 v8.11 candidate builds

2024-08-19 Thread Akshay Joshi
Hi All,

pgAdmin4 v8.11 candidate builds and source code is available at
https://developer.pgadmin.org/builds/2024-08-19-1/

Yogesh, could you please verify this for Thursday's release?


Akshay Joshi

Principle Software Architect

enterprisedb.com

*  Blog*: https://www.enterprisedb.com/akshay-joshi
*  GitHub*: https://github.com/akshay-joshi
*  LinkedIn*: https://www.linkedin.com/in/akshay-joshi-086497216


Re: pgAdmin4 v8.11 candidate builds

2024-08-19 Thread Usman Khan
Hi,
I will verify on ubuntu 24.04 and windows 11. Once it's finished I will
update here.


On Mon, Aug 19, 2024 at 5:48 PM Akshay Joshi 
wrote:

> Hi All,
>
> pgAdmin4 v8.11 candidate builds and source code is available at
> https://developer.pgadmin.org/builds/2024-08-19-1/
>
> Yogesh, could you please verify this for Thursday's release?
>
>
> Akshay Joshi
>
> Principle Software Architect
>
> enterprisedb.com
>
> *  Blog*: https://www.enterprisedb.com/akshay-joshi
> *  GitHub*: https://github.com/akshay-joshi
> *  LinkedIn*: https://www.linkedin.com/in/akshay-joshi-086497216
>


Re: Regarding feature #3319

2024-08-19 Thread Anil Sahoo
Hi Aditya,

As we are already storing the query history in the pgAdmin 4's database
file.
I am planning to store the information the same way. That can be an
internal database file like SQLite or external database.

Let me know if you all have any suggestions on this.

Thanks
Anil
--



*Anil Sahoo*

Software Engineer

www.enterprisedb.com

Power to Postgres







On Mon, Aug 19, 2024 at 11:40 AM Aditya Toshniwal <
aditya.toshni...@enterprisedb.com> wrote:

> Hi Anil,
>
> On Mon, Aug 12, 2024 at 3:02 PM Anil Sahoo 
> wrote:
>
>> Hi,
>>
>> Yes, We will store the details that are needed to re-establish the
>> connection.
>>
>
> How/Where are you planning to store the information? Query text could be
> large.
>
>>
>> Regards
>> Anil
>> --
>>
>> 
>>
>> *Anil Sahoo*
>>
>> Software Engineer
>>
>> www.enterprisedb.com
>>
>> Power to Postgres
>>
>> 
>> 
>> 
>> 
>>
>>
>> On Mon, Aug 12, 2024 at 2:08 PM Dave Page  wrote:
>>
>>> Hi
>>>
>>> On Mon, 12 Aug 2024 at 06:50, Anil Sahoo 
>>> wrote:
>>>
 Hi Hackers,


 This feature #3319
 , demands the
 Workspace and the Query tool panel to be saved before exiting the
 application and on restart it will show earlier opened panels.


 We are already saving the Browser layout, Query tool layout and the
 Object explorer tree state but to save the contents of panels we will
 initially start with the Query tool. The below implementation will be done,

1. Store the query tool panels and the list of connections present
in each query tool panel and the active connection
2. Store the query that is written in the editor
3. Store the contents of scratch pad

 The main reason that this has never been worked on is that there is no
>>> way to restore the state of a connection to what it was and be sure we've
>>> got it right. How do you propose to handle that? I assume in a similar way
>>> to the warnings we give if a connection has to be re-established?
>>>



 We will use debouncing to store the workspace data and all other data
 related to panels in the pgAdmin 4's configured database file. Through
 debouncing we will be able to call the API at certain intervals of user
 interaction, and it will update the stored data related to workspace and
 all other panels.

>>>
>>> OK.
>>>
>>> --
>>> Dave Page
>>> pgAdmin: https://www.pgadmin.org
>>> PostgreSQL: https://www.postgresql.org
>>> EDB: https://www.enterprisedb.com
>>>
>>> PGDay UK 2024, 11th September, London: https://2024.pgday.uk/
>>>
>>>
>
> --
> Thanks,
> Aditya Toshniwal
> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
> 
> "Don't Complain about Heat, Plant a TREE"
>


Re: Regarding feature #3319

2024-08-19 Thread Aditya Toshniwal
Hi Anil,

There can be multiple query tools open with large files. Not entirely sure
if storing in SQLite DB is a good idea.
External databases won't come in the picture as 99.99% users will not use
external DB for desktop app. We're only doing this for desktop app.
And also consider the case where a SQL file is opened with some unsaved
changes.

On Tue, Aug 20, 2024 at 9:11 AM Anil Sahoo 
wrote:

> Hi Aditya,
>
> As we are already storing the query history in the pgAdmin 4's database
> file.
> I am planning to store the information the same way. That can be an
> internal database file like SQLite or external database.
>
> Let me know if you all have any suggestions on this.
>
> Thanks
> Anil
> --
>
> 
>
> *Anil Sahoo*
>
> Software Engineer
>
> www.enterprisedb.com
>
> Power to Postgres
>
> 
> 
> 
> 
>
>
> On Mon, Aug 19, 2024 at 11:40 AM Aditya Toshniwal <
> aditya.toshni...@enterprisedb.com> wrote:
>
>> Hi Anil,
>>
>> On Mon, Aug 12, 2024 at 3:02 PM Anil Sahoo 
>> wrote:
>>
>>> Hi,
>>>
>>> Yes, We will store the details that are needed to re-establish the
>>> connection.
>>>
>>
>> How/Where are you planning to store the information? Query text could be
>> large.
>>
>>>
>>> Regards
>>> Anil
>>> --
>>>
>>> 
>>>
>>> *Anil Sahoo*
>>>
>>> Software Engineer
>>>
>>> www.enterprisedb.com
>>>
>>> Power to Postgres
>>>
>>> 
>>> 
>>> 
>>> 
>>>
>>>
>>> On Mon, Aug 12, 2024 at 2:08 PM Dave Page  wrote:
>>>
 Hi

 On Mon, 12 Aug 2024 at 06:50, Anil Sahoo 
 wrote:

> Hi Hackers,
>
>
> This feature #3319
> , demands the
> Workspace and the Query tool panel to be saved before exiting the
> application and on restart it will show earlier opened panels.
>
>
> We are already saving the Browser layout, Query tool layout and the
> Object explorer tree state but to save the contents of panels we will
> initially start with the Query tool. The below implementation will be 
> done,
>
>1. Store the query tool panels and the list of connections present
>in each query tool panel and the active connection
>2. Store the query that is written in the editor
>3. Store the contents of scratch pad
>
> The main reason that this has never been worked on is that there is no
 way to restore the state of a connection to what it was and be sure we've
 got it right. How do you propose to handle that? I assume in a similar way
 to the warnings we give if a connection has to be re-established?

>
>
>
> We will use debouncing to store the workspace data and all other data
> related to panels in the pgAdmin 4's configured database file. Through
> debouncing we will be able to call the API at certain intervals of user
> interaction, and it will update the stored data related to workspace and
> all other panels.
>

 OK.

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

 PGDay UK 2024, 11th September, London: https://2024.pgday.uk/


>>
>> --
>> Thanks,
>> Aditya Toshniwal
>> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
>> 
>> "Don't Complain about Heat, Plant a TREE"
>>
>

-- 
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*

"Don't Complain about Heat, Plant a TREE"