Re: SQL query editor

From: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
To: 'Tim Finch' <pgsql(at)timfinch(dot)cix(dot)co(dot)uk>
Cc: pgadmin-support(at)postgresql(dot)org, "G(dot) A(dot) Reina" <reina(at)nsi(dot)edu>
Subject: Re: SQL query editor
Date: 2002-04-03 15:56:07
Message-ID: FED2B709E3270E4B903EB0175A49BCB1293341@dogbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

> -----Original Message-----
> From: Tim Finch [mailto:pgsql(at)timfinch(dot)cix(dot)co(dot)uk]
> Sent: 03 April 2002 09:48
> To: Dave Page
> Cc: pgadmin-support(at)postgresql(dot)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.

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2002-04-03 16:14:15 Re: Question about functions
Previous Message Samuele Brignoli 2002-04-03 13:33:34 R: timestamp parse error --- *** Migration PLU