Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> The MySQL syntax is actually "drop table if exists foo ...".
> Implementing this unfortunately generates a shift/reduce conflict,
What did you try exactly? I don't see any fundamental reason for
a conflict here. You may just need to rearrange the grammar to postpone
the reduction a bit.
> Or we could live with the conflict,
Utterly unacceptable; see previous discussions.
regards, tom lane