Re: save SQL in PgAdmin4

2019-07-18 Thread Dave Caughey
" It's like when you double-click on a file and it opens in an editor - most will not enable the save button at that point. " I'm not sure about that claim... pretty much every application I use (MS Office suite, Adobe suite, vim, notepad, GIMP, etc.) all give you an enabled Save for any opened d

Re: save SQL in PgAdmin4

2019-07-18 Thread Michael Shapiro
The PgAdmin3 save button handles "save" vs "save as" by suggesting the name of the file and allows the user to change it On Thu, Jul 18, 2019 at 9:44 AM Michel Feinstein wrote: > In that case I would say you need a "Save as..." button, whereas the > "Save" button will track changes and only save

Re: save SQL in PgAdmin4

2019-07-18 Thread Michel Feinstein
In that case I would say you need a "Save as..." button, whereas the "Save" button will track changes and only save if there are any changes. On Thu, Jul 18, 2019, 11:42 Michael Shapiro wrote: > Dave, > > I'd like to make a feature request that PgAdmin4 add a save button (that > is always enable

Re: save SQL in PgAdmin4

2019-07-18 Thread Michael Shapiro
Dave, I'd like to make a feature request that PgAdmin4 add a save button (that is always enabled) to any window that displays SQL. Most editors I have worked with always provide a save (and/or save as) even if the text has not changed. Even PgAdmin3 has a Save button for SQL displayed in the SQL w

Re: save SQL in PgAdmin4

2019-07-18 Thread Dave Page
On Thu, Jul 18, 2019 at 3:09 PM Ray O'Donnell wrote: > On 18/07/2019 14:43, Michael Shapiro wrote: > > Then what? > > > > On Thu, Jul 18, 2019 at 8:31 AM Ray O'Donnell > > wrote: > > > > On 18/07/2019 14:28, Michael Shapiro wrote: > > > After selecting an objec

Re: save SQL in PgAdmin4

2019-07-18 Thread Ray O'Donnell
On 18/07/2019 14:43, Michael Shapiro wrote: Then what? On Thu, Jul 18, 2019 at 8:31 AM Ray O'Donnell > wrote: On 18/07/2019 14:28, Michael Shapiro wrote: > After selecting an object (eg a view) how do I save the SQL that > PgAdmin4 extracts from the serv

Re: save SQL in PgAdmin4

2019-07-18 Thread Ray O'Donnell
On 18/07/2019 14:28, Michael Shapiro wrote: After selecting an object (eg a view) how do I save the SQL that PgAdmin4 extracts from the server? I don't see a "SAVE" button. Hi there, Right-click on it in the object tree (Left of screen), then select Scripts -> (type of script required). R