apple / ccs-calendarserver

The Calendar and Contacts Server.
https://www.calendarserver.org
Apache License 2.0
485 stars 136 forks source link

NOTICE while importing schema #394

Closed macosforgebot closed 10 years ago

macosforgebot commented 10 years ago

rahul@… originally submitted this as ticket:841


While running "sudo -u caldavd psql -f /usr/share/pyshared/txdav/common/datastore/sql_schema/current.sql caldav", I see the below messages:

psql:/usr/share/pyshared/txdav/common/datastore/sql_schema/current.sql:550: NOTICE: identifier "addressbook_object_revisions_home_resource_id_owner_addressbook_home_resource_id" will be truncated to "addressbook_object_revisions_home_resource_id_owner_addressbook" CREATE INDEX psql:/usr/share/pyshared/txdav/common/datastore/sql_schema/current.sql:553: NOTICE: identifier "addressbook_object_revisions_owner_home_resource_id_resource_name" will be truncated to "addressbook_object_revisions_owner_home_resource_id_resource_na"

Not sure if this will break something. Anyway, it is better to use shorter indexes to avoid these warnings.

macosforgebot commented 10 years ago

@wsanchez originally submitted this as comment:1:⁠ticket:841


Yup, this is known, and is a non-issue as long as we’re aware of the limitations imposed by it. No plan to fix it, since it’s not actually breaking anything.