Re: Trouble configuring refDB

Josef Karthauser <[email protected]>
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
On Tue, Jan 23, 2007 at 12:39:40PM -0500, Martin Hicks wrote:
> 
> Should actually return something.  And I can't get getref to work
> either.  Using an example similar to that found in the Query Lanuage
> section of the manual:
> 
> refdbc: getref :AU:~^Tyson
> 

Does 
    refdbc: getref :AU:~'tyson%'

return anything?  I'm not sure about the hang, but certainly SQLite
doesn't support regular expression in query strings, and so you need to
use SQL LIKE syntax, which is basically using '%' instead of '.*'
and '_' instead of '.'.

I'm not sure about the hanging.  I had the same problem myself, until I
started using strings that worked.  For instance 'getref' on its own
hung, and I needed to press 'control C' to return control, but then the
database connection appeared to have broken, and I needed to close
refdbc and reload it again.

Joe
-- 
=== Josef Karthauser ([email protected]) === http://x2obuilder.com/tao ===

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Refdb-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/refdb-users
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iEYEARECAAYFAkW2UQ8ACgkQXVIcjOaxUBZLFACg0WdiwQ8o1Dnkr1HMJk5JEaXS
nD8AmgM8bb+RZD9LZ6La5kPO5mHcUaPM
=3dD1
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.