Re: update-instance-from-records

Kevin Rosenberg <kevin-HJRc7zDS/[email protected]>
Newsgroups gmane.lisp.clsql.devel
Message-ID <[email protected]>
Igor Plekhov wrote:
> It doesn't work either.  And in the postgres' logs records appear
> like this:
> Aug  9 14:15:40 tcp postgres[26930]: [25-1] LOG:  statement: SELECT aa.name,aa.id FROM aa WHERE aa.id = 1

Though the backtrace does show a NIL database object. I suspect
somewhere the database object isn't being stored or passed between
functions. UPDATE-INSTANCE-FROM-RECORDS is designed to update an
object that was created by an SELECT operation, not an instance
created from MAKE-INSTANCE.

-- 
Kevin Rosenberg
kevin-HJRc7zDS/[email protected]
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.