import random
import string


def random_schema_name() -> str:
    """Generate a random PostgreSQL schema name for testing."""
    return 'temp_{name}'.format(
        name=''.join(
            (random.choice(string.ascii_lowercase) for _ in range(10)),  # noqa:S311
        ),
    )