Unix Technical Forum

Re: Patch: Query favourites

This is a discussion on Re: Patch: Query favourites within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> > > On this we clearly disagree (on the value of the feature, that is). > > But that's ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 05:57 PM
Magnus Hagander
 
Posts: n/a
Default Re: Patch: Query favourites

> > On this we clearly disagree (on the value of the feature, that is).
> > But that's your choice, of course. I'll keep running with it myself
> > until such a time as an alternative exists.
> > Let's, as they say, agree to disagree on it.

>
> FWIW, I do think this would be a nice feature, and would tie
> in nicely with an idea I've been mulling over of having a
> centralised library site for SQL snippets.
>
> However, I did just download wxxml2 to give it a go and
> instantly ran into problems building it on Windows. I'm sure
> I could get over them with a little effort, but a little
> effort for me to build probably means a lot more effort
> helping others in the future :-(
>
> How much work would it be to use libxml2/msxml - assuming you are
> *definitely* going to be working on some XML import/export
> features that we agree would be accepted in principle?


Reasonably easy, considering we're not really using much of the XML
functionality ATM. We don't even need to do a "proper abstraction", we
could just write code that uses libxml directly. (Or perhaps with simple
wrappers around some parts, but not all).


As for the libxml2/msxml - I think going with *just* libxml2 is the way
to go. The APIs are so completely different that it would be two
completely different implementations. And AFAIK, there are no problems
with libxml on Win32 in general.

So yeah, that can definitly be done without an unreasonable amount of
work. If that means that the feature will "live", I'm fine with looking
at that. But I'd like to know that first. (Implementation details aside
of course, there can still be more of those to fix - the feature in
principle, and the general idea of storing the data in a file in the
users homedir etc)

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 05:57 PM
Andreas Pflug
 
Posts: n/a
Default Re: Patch: Query favourites

Magnus Hagander wrote:

>
>As for the libxml2/msxml - I think going with *just* libxml2 is the way
>to go. The APIs are so completely different that it would be two
>completely different implementations. And AFAIK, there are no problems
>with libxml on Win32 in general.
>
>

except for libxml2 not being there by default.

>So yeah, that can definitly be done without an unreasonable amount of
>work. If that means that the feature will "live", I'm fine with looking
>at that. But I'd like to know that first. (Implementation details aside
>of course, there can still be more of those to fix - the feature in
>principle, and the general idea of storing the data in a file in the
>users homedir etc)
>
>

I don't like storing more stuff in files, and in homedir even less. I
even don't like registry/.pgadmin3 (not completely replacable), and
would like some network (db) based solution to copy server connect
strings from.

Regards,
Andreas


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:41 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com