Hi!

Since you're all getting worked up on new changes, I would like to
make an feature request.

About an year and a half ago, Brit Butler made some changes to the
postmodern store, located here -
https://bitbucket.org/redline6561/weblocks-dev/overview

These changes allowed concurrent access to the postgress database, and
I have been happily using those since then, but I haven't made an
issue of merging it to the main weblocks tree. So, I'm doing it now.

I think that Brit made an great job, and it would be a shame not to
include his improvements. There is only one modification that needs to
be made, in the postmodern/postmodern.lisp. Method class-id-slot-name
returns an list of id-slot names, because postmodern and postgress
support more than one key. Modification is simple:

(defmethod class-id-slot-name ((class dao-class))
   ;; Returns a list of the column names which compose the primary key.
   (car (dao-keys class)))

And then class-id-slot-name will return an slot name instead of list. That's it.

So, like I have said, it would be great if this change is included,
because with this postmodern has better support than is current state
in the weblocks-dev tree. It probably needs further testing, but like
I have said, for me it worked great.

-- 
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en.

Reply via email to