Daniel Ruoso | 6 Apr 20:12 2010

Perl Sedna driver

Hi,

As I mentioned earlier, I was working on a Perl driver for the Sedna
database. I finally published it on CPAN, and is now available to any
Perl developer. The driver implements the C API directly as-is. 

http://search.cpan.org/~druoso/Sedna-0.001/lib/Sedna.pm

Additionally, I've also implemented a adapter model class for the
Catalyst framework, so people can use it integrated with their
application.

http://search.cpan.org/~druoso/Catalyst-Model-Sedna-0.001/lib/Catalyst/Model/Sedna.pm
(this link might take a bit to be available because of CPAN replication
to its mirrors)

daniel

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Ivan Shcheklein | 6 Apr 21:33 2010
Picon

Re: Perl Sedna driver

Hi Daniel,

That's great news! I'll post link to your driver on our site.

However, I don't understand why driver's repo contains libsedna? If you need it just for shared library please check the latest development sedna build. We've migrated to the Cmake (we've updated build instructions yet) and now shared library is created by default.

Ivan Shcheklein,
Sedna Team

On Tue, Apr 6, 2010 at 10:12 PM, Daniel Ruoso <daniel-nYWC+ZdtFwYAvxtiuMwx3w@public.gmane.org> wrote:
Hi,

As I mentioned earlier, I was working on a Perl driver for the Sedna
database. I finally published it on CPAN, and is now available to any
Perl developer. The driver implements the C API directly as-is.

http://search.cpan.org/~druoso/Sedna-0.001/lib/Sedna.pm

Additionally, I've also implemented a adapter model class for the
Catalyst framework, so people can use it integrated with their
application.

http://search.cpan.org/~druoso/Catalyst-Model-Sedna-0.001/lib/Catalyst/Model/Sedna.pm
(this link might take a bit to be available because of CPAN replication
to its mirrors)

daniel


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@...
https://lists.sourceforge.net/lists/listinfo/sedna-discussion
Ivan Shcheklein | 6 Apr 22:28 2010
Picon

Re: Perl Sedna driver

Cmake build system is available only in the current development version: either modis.ispras.ru/FTPContent/sedna/development or use git to download complete source code mirror from the Sedna sourceforge site.

On Wed, Apr 7, 2010 at 12:25 AM, Daniel Ruoso <daniel-nYWC+ZdtFwY@public.gmane.orgm> wrote:
Em Ter, 2010-04-06 às 23:33 +0400, Ivan Shcheklein escreveu:
> Hi Daniel,
> That's great news! I'll post link to your driver on our site.

Cool...

> However, I don't understand why driver's repo contains libsedna? If
> you need it just for shared library please check the latest
> development sedna build. We've migrated to the Cmake (we've updated
> build instructions yet) and now shared library is created by default.

Version 3.2.91 still had only contain the static library. I've just
noticed that 3.3 was released, so yes, I think I should be able to
remove the embedded libsedna..

daniel




------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@...
https://lists.sourceforge.net/lists/listinfo/sedna-discussion
Daniel Ruoso | 6 Apr 22:32 2010

Re: Perl Sedna driver

Em Qua, 2010-04-07 às 00:28 +0400, Ivan Shcheklein escreveu:
> Cmake build system is available only in the current development
> version: either modis.ispras.ru/FTPContent/sedna/development or use
> git to download complete source code mirror from the Sedna sourceforge
> site.

Okay, when the cmake-based version gets out, I'll be able to remove the
embedded libsedna code.

daniel

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion
Daniel Ruoso | 6 Apr 22:25 2010

Re: Perl Sedna driver

Em Ter, 2010-04-06 às 23:33 +0400, Ivan Shcheklein escreveu:
> Hi Daniel,
> That's great news! I'll post link to your driver on our site.

Cool...

> However, I don't understand why driver's repo contains libsedna? If
> you need it just for shared library please check the latest
> development sedna build. We've migrated to the Cmake (we've updated
> build instructions yet) and now shared library is created by default.

Version 3.2.91 still had only contain the static library. I've just
noticed that 3.3 was released, so yes, I think I should be able to
remove the embedded libsedna..

daniel

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion
SourceForge.net | 8 Apr 15:00 2010
Picon
Picon

[ sedna-Bugs-2983860 ] seg fault on module & trigger

Bugs item #2983860, was opened at 2010-04-08 16:00
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2983860&group_id=129076

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: seg fault on module & trigger

Initial Comment:
import module namespace ps = "www.packetscale.com/test1";
CREATE TRIGGER "t1" BEFORE INSERT ON doc("someDoc")/* FOR EACH NODE DO {  ps:error(); } &

This statement is accepted by the engine, but  the static context holding module functions is lost after its
end, leaving behind PPFunCall object holding fn_id to destroyed static context. When executing an
UPDATE triggering the 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2983860&group_id=129076

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
SourceForge.net | 8 Apr 15:06 2010
Picon
Picon

[ sedna-Bugs-2983860 ] seg fault on module & trigger

Bugs item #2983860, was opened at 2010-04-08 16:00
Message generated for change (Comment added) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2983860&group_id=129076

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: seg fault on module & trigger

Initial Comment:
import module namespace ps = "www.packetscale.com/test1";
CREATE TRIGGER "t1" BEFORE INSERT ON doc("someDoc")/* FOR EACH NODE DO {  ps:error(); } &

This statement is accepted by the engine, but  the static context holding module functions is lost after its
end, leaving behind PPFunCall object holding fn_id to destroyed static context. When executing an
UPDATE triggering the 

----------------------------------------------------------------------

>Comment By: https://www.google.com/accounts ()
Date: 2010-04-08 16:06

Message:
pressed some buttons too early :) ...

When executing an UPDATE causing the trigger to fire, fn_id is looked up
in current context which hodls undefined function at this fn_id.
Same problem must exist for other static context members -> vars,
namespaces, etc.

Workaround: There's an ugly workaround for this -> use always the same
prolog for every query.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2983860&group_id=129076

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
SourceForge.net | 8 Apr 16:14 2010
Picon
Picon

[ sedna-Bugs-2983860 ] seg fault on module & trigger

Bugs item #2983860, was opened at 2010-04-08 17:00
Message generated for change (Comment added) made by shcheklein
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2983860&group_id=129076

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Query Execution
>Group: Sedna (development)
Status: Open
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Yanko Yankulov (core-dumped)
>Assigned to: Ivan Shcheklein (shcheklein)
Summary: seg fault on module & trigger

Initial Comment:
import module namespace ps = "www.packetscale.com/test1";
CREATE TRIGGER "t1" BEFORE INSERT ON doc("someDoc")/* FOR EACH NODE DO {  ps:error(); } &

This statement is accepted by the engine, but  the static context holding module functions is lost after its
end, leaving behind PPFunCall object holding fn_id to destroyed static context. When executing an
UPDATE triggering the 

----------------------------------------------------------------------

>Comment By: Ivan Shcheklein (shcheklein)
Date: 2010-04-08 18:14

Message:
Yanko, thank you for bug report! This is a known issue with Sedna:
http://thread.gmane.org/gmane.text.xml.sedna/1454 . It requires full
refactoring of dynamic and static contexts. 

----------------------------------------------------------------------

Comment By: Yanko Yankulov (core-dumped)
Date: 2010-04-08 17:06

Message:
pressed some buttons too early :) ...

When executing an UPDATE causing the trigger to fire, fn_id is looked up
in current context which hodls undefined function at this fn_id.
Same problem must exist for other static context members -> vars,
namespaces, etc.

Workaround: There's an ugly workaround for this -> use always the same
prolog for every query.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2983860&group_id=129076

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
SourceForge.net | 8 Apr 16:48 2010
Picon
Picon

[ sedna-Bugs-2983860 ] seg fault on module & trigger

Bugs item #2983860, was opened at 2010-04-08 16:00
Message generated for change (Comment added) made by core-dumped
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2983860&group_id=129076

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Query Execution
Group: Sedna (development)
Status: Open
Resolution: Accepted
Priority: 5
Private: No
Submitted By: Yanko Yankulov (core-dumped)
Assigned to: Ivan Shcheklein (shcheklein)
Summary: seg fault on module & trigger

Initial Comment:
import module namespace ps = "www.packetscale.com/test1";
CREATE TRIGGER "t1" BEFORE INSERT ON doc("someDoc")/* FOR EACH NODE DO {  ps:error(); } &

This statement is accepted by the engine, but  the static context holding module functions is lost after its
end, leaving behind PPFunCall object holding fn_id to destroyed static context. When executing an
UPDATE triggering the 

----------------------------------------------------------------------

>Comment By: Yanko Yankulov (core-dumped)
Date: 2010-04-08 17:48

Message:
Thanks for the fast reply  Ivan.
I suspected that a full refactoring of the contexts will be necessary to
properly handle this issue. Do you have any idea about the expected
timeline for this to happen ?

As an alternative/partial/temporary solution I was thinking to implement a
default prolog witch will be added to all queries for a given database.
What do you/the community think about this. We at packetScale are
definitely interested in using user functions in triggers, and we might be
able to dedicate some man hours in doing this. Any
comments/objections/comments about this idea?

----------------------------------------------------------------------

Comment By: Ivan Shcheklein (shcheklein)
Date: 2010-04-08 17:14

Message:
Yanko, thank you for bug report! This is a known issue with Sedna:
http://thread.gmane.org/gmane.text.xml.sedna/1454 . It requires full
refactoring of dynamic and static contexts. 

----------------------------------------------------------------------

Comment By: Yanko Yankulov (core-dumped)
Date: 2010-04-08 16:06

Message:
pressed some buttons too early :) ...

When executing an UPDATE causing the trigger to fire, fn_id is looked up
in current context which hodls undefined function at this fn_id.
Same problem must exist for other static context members -> vars,
namespaces, etc.

Workaround: There's an ugly workaround for this -> use always the same
prolog for every query.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2983860&group_id=129076

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Divka Divka | 19 Apr 21:15 2010
Picon

(no subject)

http://docs.google.com/View?id=ddmxjmkx_4f2xwcsf4

      Lebih Bersih, Lebih Baik, Lebih Cepat - Rasakan Yahoo! Mail baru yang Lebih Cepat hari ini! http://id.mail.yahoo.com

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

Gmane