[wp-hackers] post_status and post_type
Ryan Boren
ryan at boren.nu
Thu Feb 9 22:31:27 GMT 2006
Owen Winkler wrote:
> Ryan Boren wrote:
>
>> Behold the changeset of destruction.
>>
>> http://trac.wordpress.org/changeset/3510
>>
>
> Curious on this one point:
>
> Why is post_type a varchar(100) and not an enum('post','page',
> 'attachment')? Wouldn't that be faster?
The varchar is used for portability and flexibility. We might change
all occurences of enums to varchars. Those porting WordPress to other
DBs curse our use of enums.
Ryan
More information about the wp-hackers
mailing list