Revision 2916
Added by Aaron Marcuse-Kubitza about 12 years ago
sql_gen.py | ||
---|---|---|
308 | 308 |
Function = Table |
309 | 309 |
as_Function = as_Table |
310 | 310 |
|
311 |
def TempFunction(name, autocommit):
|
|
311 |
def TempFunction(name, debug_temp):
|
|
312 | 312 |
schema = None |
313 |
if not autocommit: schema = 'pg_temp'
|
|
313 |
if not debug_temp: schema = 'pg_temp'
|
|
314 | 314 |
return Function(name, schema) |
315 | 315 |
|
316 | 316 |
class InternalFunction(CustomCode): pass |
Also available in: Unified diff
sql.py: Use new DbConn.debug_temp config option to control whether temporary objects should instead be permanent