Since we're adding an index anyway, we might also piggy-back the wildcard (global, any feed, any entry) on it; this should be useful for autocomplete ("give me all entry tags starting with xyz").
On further thought, this is needed only if we merge the 3 tag tables (global, feed, entry) into a single one.
We need to either disallow % from the prefix (* too, just in case), or escape it with expr LIKE 'a\%b%' ESCAPE '\'.
Getting only specific tags with get_tags() is useful when implementing a "class" of objects on top of tags.
Possible use cases:
.plugin.myplugin.*
)Open questions: