in current version, server_default is truncated if it is longer than 128. https://bitbucket.org/zzzeek/sqlalchemy/src/a5dc173ea6735c2b0877c771d2cb0693ac8dca82/lib/sqlalchemy/dialects/postgresql/base.py?at=master#cl-1687
while it is a minor problem usually, but it bothers some tool using table's metadata.(ex. alembic) any other dialect doesn't seem have such restriction. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/groups/opt_out.