CVS update: gnucash/src/backend/postgres

Derek Atkins warlord at linas.org
Mon Jul 28 00:00:42 CDT 2003


Date:	Sunday July 27, 2003 @ 23:00
Author:	warlord

Update of /home/cvs/cvsroot/gnucash/src/backend/postgres
In directory www.linas.org:/tmp/cvs-serv5147/src/backend/postgres

Modified Files:
      Tag: gnucash-1-8-branch
	PostgresBackend.c PostgresBackend.h book.c book.h escape.c 
	price.c 
Log Message:
    * src/backend/postgres/PostgresBackend.c: Added pgendGetBook(),
      to retrieve the GNCBook from the session, instead of storing the
      book in the backend object.
    - Where be->book was used, use pgendGetBook() instead.
    - Enhanced debug messages.
    * src/backend/postgres/PostgresBackend.h: Added the gncbook.h
      include, and the pgendGetBook() prototype
    * src/backend/postgres/book.c: Changed pgendGetBook to
      pgendBookRestore() to reflect its functionality of restoring
      the book's data to the engine.
    * src/backend/postgres/price.c: In pgendPriceFind(), couched the
      currenct portion of the SQL statement in an "if" statement,
      because gnc_pricedb_lookup_latest_any_currency() can pass in
      a NULL currency, and stpcpy() doesn't like NULLs.
    * src/backend/postgres/escape.c: enhanced debug messages.
    Fixes bug #116546




More information about the gnucash-patches mailing list