[postmodern-devel] getting error create indexes

Simon Cusack scusack at fastmail.com.au
Tue May 22 13:23:51 UTC 2007


Hi,

I am trying to create the following deftable;

(deftable test-me (test-template)
  ((some-other-field :type     string
                     :initarg  :caption
                     :accessor some-other-field))
  (:auto-id    test-me-id)
  (:indices    some-other-field)
  (:class-name test-table))

(create-template 'test-template)

and am getting the following error;

Database error 42601: syntax error at or near "-"
Query: CREATE INDEX test_me_SOME-OTHER-FIELD_index ON test_me
(some_other_field)
   [Condition of type DATABASE-ERROR]

I am using SBCL 1.05 on a pretty vanilla debian box.

- sim














More information about the postmodern-devel mailing list