Thread: SQL query editor
Does the SQL query editor on pgAdmin II come as a separate program? I'd like to have a way on MS Windows for my non-administrative users to perform SQL queries easily. I'm currently using Interactive PgSQL, but it doesn't seem to be supported any more and there are some bugs with executing queries.
Thanks.
-Tony
No, it doesn't I'm afraid. It's possible that it could be modularised and seperated though, and it's a pretty good idea,so if I get a chance I'll look into it. Regards, Dave. _____________Original message ____________ Subject: [pgadmin-support] SQL query editor Sender: "G. A. Reina" <reina@nsi.edu> Date: Sat, 30 Mar 2002 07:17:48 +0000 Does the SQL query editor on pgAdmin II come as a separate program? I'd like to have a way on MS Windows for my non-administrative users to perform SQL queries easily. I'm currently using Interactive PgSQL, but it doesn't seem to be supported any more and there are some bugs with executing queries. Thanks. -Tony reina@nsi.edu <mailto:reina@nsi.edu>
At 07:21 30/03/2002 +0000, Dave Page wrote: >No, it doesn't I'm afraid. It's possible that it could be modularised and >seperated though, and it's a pretty good idea, so if I get a chance I'll >look into it. > >Regards, Dave. Is it worth us thinking sbout this in terms of the graphical editor we are working on, Dave? There is some sense possibly in the designer being both an addin and a standalone EXE, that in standalone mode produces SQL strings on the clipboard perhaps. If Tony is after an ability to 'restrict' whatusers can do in the pgAdminII, then surely a better approach is to have security in pgAdminII that states what operators of pgAdminII can do (you can create Dbs, edit them, create SQL etc. etc.)...? Tim. >_____________Original message ____________ >Subject: [pgadmin-support] SQL query editor >Sender: "G. A. Reina" <reina@nsi.edu> >Date: Sat, 30 Mar 2002 07:17:48 +0000 > >Does the SQL query editor on pgAdmin II come as a separate program? I'd >like to have a way on MS Windows for my non-administrative users to >perform SQL queries easily. I'm currently using Interactive PgSQL, but >it doesn't seem to be supported any more and there are some bugs with >executing queries. > >Thanks. >-Tony >reina@nsi.edu <mailto:reina@nsi.edu> > > > > > >---------------------------(end of broadcast)--------------------------- >TIP 5: Have you checked our extensive FAQ? > >http://www.postgresql.org/users-lounge/docs/faq.html
> -----Original Message----- > From: Tim Finch [mailto:pgsql@timfinch.cix.co.uk] > Sent: 03 April 2002 09:48 > To: Dave Page > Cc: pgadmin-support@postgresql.org; G. A. Reina > Subject: Re: [pgadmin-support] SQL query editor > > > At 07:21 30/03/2002 +0000, Dave Page wrote: > >No, it doesn't I'm afraid. It's possible that it could be > modularised > >and > >seperated though, and it's a pretty good idea, so if I get a > chance I'll > >look into it. > > > >Regards, Dave. > > Is it worth us thinking sbout this in terms of the graphical > editor we are > working on, Dave? > There is some sense possibly in the designer being both an > addin and a > standalone EXE, that in standalone mode produces SQL strings on the > clipboard perhaps. If Tony is after an ability to 'restrict' > whatusers can > do in the pgAdminII, then surely a better approach is to have > security in > pgAdminII that states what operators of pgAdminII can do (you > can create > Dbs, edit them, create SQL etc. etc.)...? > Tim. Not a good idea. Security is the job of the DBMS - anything we can do with pgAdmin could be overidden by a registry savvy user anyway, or by deleting files/reinstalling if we used other methods. Admittedly in NT based OS's you've got a little more control over what the user can/can't do. I think the best answer would be to put the SQL code, SQL Wizard and Query Designer in a .dll, which can be called by pgAdmin as required, which could just pass the connection object and database name to use. For users such as Tony's, we build a small host program which logs the user on to the specified datasource (I probably would use DSNs for that like pgAdmin I), and then calls the dll in the same way. The sysadmin could then install either the full product or just the query tool on his users boxes. 'Course, the downside is that I just committed code to the datagrid that ties it into pgSchema for the first time!! (Use Primary Keys for updating/deleting rows in the data editor where possible.) Never mind.... Regards, Dave.
This makes sense. I guess for now, however, we just continue the development of the Graphical Editor in the standard way and worry about dll-ing it later on. Tim >Not a good idea. Security is the job of the DBMS - anything we can do with >pgAdmin could be overidden by a registry savvy user anyway, or by deleting >files/reinstalling if we used other methods. Admittedly in NT based OS's >you've got a little more control over what the user can/can't do. > >I think the best answer would be to put the SQL code, SQL Wizard and Query >Designer in a .dll, which can be called by pgAdmin as required, which could >just pass the connection object and database name to use. For users such as >Tony's, we build a small host program which logs the user on to the >specified datasource (I probably would use DSNs for that like pgAdmin I), >and then calls the dll in the same way. The sysadmin could then install >either the full product or just the query tool on his users boxes. > >'Course, the downside is that I just committed code to the datagrid that >ties it into pgSchema for the first time!! (Use Primary Keys for >updating/deleting rows in the data editor where possible.) > >Never mind....
Hi all, I'm trying to migrate a very large db with the migration plug-in. It all goes well since one of the last table. It' s an out of memory error, I don't know if it's a server problem or an application problem. The log was : An error occured at: 4/4/2002 11:18:45 AM: -2147467259: Error while executing the query; ERROR: LockAcquire: holder table out of memory Rolling back... Done. Can someone help me ? Bye, Samuele.