Project

General

Profile

« Previous | Next » 

Revision 2697

sql_gen.py: Added TempFunction

View differences:

sql_gen.py
211 211

  
212 212
class Function(Table): pass
213 213

  
214
def TempFunction(name, autocommit):
215
    schema = None
216
    if not autocommit: schema = 'pg_temp'
217
    return Function(name, schema)
218

  
214 219
class InternalFunction(CustomCode): pass
215 220

  
216 221
class FunctionCall(Code):

Also available in: Unified diff