Re: Query favourite comment

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>, "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>
Cc: "pgadmin-hackers" <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Query favourite comment
Date: 2006-02-13 14:00:52
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE6C7FED@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

> > After quite a while, I finally found the time to package a win32
> > snapshot. Some comments:
> >
> > 1) apparently, we need two iconv dlls now: iconv.dll for xml2 and
> > libiconv-2.dll for libpq. Hm...
>
> I suspect we can get down to one by compiling libxml2
> ourselves, however that would probably make building pgAdmin
> far more difficult. Lesser of two evils 'n' all that...

Can we link iconv statically? (That's what I did for my tests, that's
probably why I didn't notice it)

> > 2) When adding a favourite, the whole buffer is taken, not just the
> > marked area. This differs from the usual pgadmin behaviour (except
> > "save as").
>
> Yes, that seems a sensible change to make.

Hmm. Yeah.

> > 3) I would have expected more than just a "multiple clipboard"
> > function.
> > Why isn't the query executed immediately? Why does it replace the
> > buffer completely? Why not just executing it, or insert at current
> > selection?
>
> I don't think executing immediately is ever likely to be the
> best idea.

Definitly agreed. I use it to paste queries with placeholders quite
often.

> As for the replace vs. insert issue, when I tested it it
> asked me if I wanted to replace the query and gave me
> yes/no/cancel options, with No doing an insert.

That's what it's supposed to do. If it doesn't, then something is weird.

//Magnus

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Andreas Pflug 2006-02-13 14:06:56 Re: Query favourite comment
Previous Message Dave Page 2006-02-13 13:59:21 Re: Query favourite comment