[wp-trac] [WordPress Trac] #18315: Add an index to the GUID column in the posts table

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 2 05:09:12 UTC 2011


#18315: Add an index to the GUID column in the posts table
-------------------------+------------------------------
 Reporter:  alexkingorg  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Database     |     Version:  3.2.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by alexkingorg):

 Let's chat about this at WCSF. The index costs very little, and I think
 the use case of using GUIDs to identify posts/pages to be sync'ed between
 WordPress instances is valid. GUID is perfect for this usage because the
 value never changes, it is not tied to the site URL, and it can be set as
 part of wp_insert_post().

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18315#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list