"Aasmund Midttun Godal" <postgresql@envisity.com> writes:
> SELECT INTO kid "dir-id" FROM dir WHERE id = kid;
plpgsql has a fairly brain-dead notion of what a double-quoted
identifier can be: in fact, it really has *no* notion of it, but expects
the same set of identifier characters that would be allowed in unquoted
identifiers.
I've had a TODO note to do something about that ... but not yet gotten
to it.
regards, tom lane