Greetings!

I am trying to use alembic to drop and re-create a PL/pgSQL function, and 
the function has embedded percentile (for use in RAISE but also present in 
comments, etc...).

When rendering the upgrade as an 'offline' sql upgrade script, the 
percentiles end up escaped (with percentile):

Thus:

RAISE 'Param foo (%) has some badness to it.', foo;

turns into:

RAISE 'Param foo (%%) has some badness to it.', foo;

I'm creating the function like this:

op.execute( sa.text( sql_function_body ) )

What am I doing wrong?



-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy-alembic" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to