help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: octave-database - data entry into database table


From: richard
Subject: Re: octave-database - data entry into database table
Date: Mon, 18 Feb 2013 21:25:24 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, Feb 18, 2013 at 09:56:58PM +0100, Olaf Till wrote:
> On Mon, Feb 18, 2013 at 09:28:14PM +0100, Olaf Till wrote:
> > On Mon, Feb 18, 2013 at 09:01:54PM +0100, Olaf Till wrote:
> > > But I still have no idea why the std::string representation in frame
> > > #0 below can't be constructed (since I can't reproduce it here). Maybe
> > > something occurs to me, but probably this has to wait until tomorrow.
> > 
> > I suppose it has something to do with the order of initializations, I
> > didn't consider that this is undefined. Probably at your system
> > conv_ptrs in converters.cc is initialized before pq_basetype_prefix in
> > pq_connection.cc, which should be the cause of the segfault.
> > 
> > Thanks for the report. I'll make up a patch.
> 
> It is commited to SVN.
> 
> Could you check it by (from shell):
> 
> umask 022
> svn checkout 
> svn://svn.code.sf.net/p/octave/code/trunk/octave-forge/main/database/ 
> database-2.0.1
> cd database-2.0.1/src
> ./autogen.sh
> rm -r autom4te.cache
> cd ../..
> tar -czf database-2.0.1.tar.gz database-2.0.1
> 
All done - I was uncertain that the first install completed correctly,
hence I ran the command again and this time octave returned a prompt> 
as per below: 
################################################
octave:1> pkg install ./database-2.0.1.tar.gz
For information about changes from previous versions of the database package, 
run 'news ("database")'.
octave:2> 
octave:2> pkg list
Package Name  | Version | Installation directory
--------------+---------+-----------------------
    database  |   2.0.1 | /usr/share/octave/packages/database-2.0.1
   financial *|   0.4.0 | /usr/share/octave/packages/financial-0.4.0
     general *|   1.3.1 | /usr/share/octave/packages/general-1.3.1
          io *|  1.0.19 | /usr/share/octave/packages/io-1.0.19
        java *|   1.2.8 | /usr/share/octave/packages/java-1.2.8
octave:3> pkg install ./database-2.0.1.tar.gz
For information about changes from previous versions of the database package, 
run 'news ("database")'.
octave:4> pkg list
Package Name  | Version | Installation directory
--------------+---------+-----------------------
    database  |   2.0.1 | /usr/share/octave/packages/database-2.0.1
   financial *|   0.4.0 | /usr/share/octave/packages/financial-0.4.0
     general *|   1.3.1 | /usr/share/octave/packages/general-1.3.1
          io *|  1.0.19 | /usr/share/octave/packages/io-1.0.19
        java *|   1.2.8 | /usr/share/octave/packages/java-1.2.8
octave:5> pkg load database
octave:6> pkg list
Package Name  | Version | Installation directory
--------------+---------+-----------------------
    database *|   2.0.1 | /usr/share/octave/packages/database-2.0.1
   financial *|   0.4.0 | /usr/share/octave/packages/financial-0.4.0
     general *|   1.3.1 | /usr/share/octave/packages/general-1.3.1
          io *|  1.0.19 | /usr/share/octave/packages/io-1.0.19
        java *|   1.2.8 | /usr/share/octave/packages/java-1.2.8
##########################################

I will run some tests to see if pq_connect performs 

Richard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]