I don't know how `castPointer0` is used. But my experience tells me it should never have been used in the first place. You can only take the address of the first element of a string when the string is not empty.
Create an issue in the issue tracker. [https://github.com/cheatfate/asyncpg/issues](https://github.com/cheatfate/asyncpg/issues)