Backend customisation and be->price_lookup

David Hampton hampton-gnucash at
Thu Sep 22 14:54:53 EDT 2005

On Thu, 2005-09-22 at 13:07 +0100, Neil Williams wrote:

> be->price_lookup is only currently available within the GnuCash tree and will 
> be unusable once QOF is spun out as an external library, hence the new 
> mechanism.
> Alternatively, can price_lookup be dropped and a generic (QofQuery) query used 
> already?

I think thats a different discussion.  The be->price_lookup hook is only
used by the SQL and RPC backends, and is used to populate the in memory
PriceDB prior to a lookup attempt.  The hook isn't needed on the file
backend as the PriceDB is already fully populated.  If you can replace
both of these functions (db population and db lookup) with a single
QofQuery that would be welcome.

> Are there any implications for Finance::Quote?

Not that I can think of.  It only uses (or should only use) the
functions in gnc-pricedb.c.


More information about the gnucash-devel mailing list