Re: Trouble configuring refDB

"Markus Hoenicka" <[email protected]>
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Martin Hicks writes:
 > All of the manpages talk about regexps, as does the manual.  Which
 > backends support this?  Both MySQL and pgsql?
 > 

Yes, both MySQL and PostgreSQL support full-fledged Unix
regexps. SQLite is the only supported database engine that
doesn't. However, as Josef pointed out already, you may get by with
SQL regular expressions.

 > Ditto...If I do "getref" with no arguments no further valid getref
 > queries work.
 > 

RefDB is a unixish app, therefore many commands can read from
stdin. In fact, they automatically attempt to read from stdin if there
is no argument providing or pointing to the data. E.g. if you don't
specify a file with addref, refdbc will try to read the data from
stdin. Same with getref. If there is no query string, refdbc waits for
one on stdin. While refdbc appears to hang here, you can type in a
query string and terminate it with Ctrl-d Ctrl-d (there is still a bug
in the implementation as this appears to work only once per
session). This is in fact a feature, as you can store live queries in
text files and pipe them into refdbc to your heart's content.

regards,
Markus

-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


-------------------------------------------------------------------------
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
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.