Re: [sqlalchemy] How to insert ROW%ROWTYPE?

2013-04-18 Thread Mauricio de Abreu Antunes
Nice Job! Do you know The True reason since % is not a escape character? Em quinta-feira, 18 de abril de 2013, Wolfgang Meiners escreveu: > Ok, i got it! > > It is as simple as that: > replace > > tt timetable%ROWTYPE --- <=== new line inserted > with > tt timetabl

[sqlalchemy] How to insert ROW%ROWTYPE?

2013-04-18 Thread Wolfgang Meiners
Hi, i use sqlalchemy to create a postgresql database. Within this database i need a trigger. I found a recipe to declare triggers using DDL: (this is declared inside class Absence) trigger_ddl = DDL(""" CREATE OR REPLACE FUNCTION validate_absence() RETURNS trigger AS $validate