diff --git a/src/pgsql/pgsql-ddl.lisp b/src/pgsql/pgsql-ddl.lisp index 662bc95..008fe7d 100644 --- a/src/pgsql/pgsql-ddl.lisp +++ b/src/pgsql/pgsql-ddl.lisp @@ -266,7 +266,9 @@ :collect (column-type-name (find idx-col tbl-cols :test #'string-equal - :key #'column-name)))) + :key (lambda (col) + (ensure-unquoted + (column-name col))))))) (nobtree (catalog-types-without-btree (schema-catalog (table-schema (index-table index)))))) (let* ((idx-type (first idx-types))