Revision 2330
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
526 | 526 |
assert returning != None |
527 | 527 |
|
528 | 528 |
# Create function |
529 |
function_name = '_'.join(map(clean_name, ['insert', table.name] + cols))
|
|
529 |
function_name = '_'.join(['insert', table.name] + cols)
|
|
530 | 530 |
return_type = 'SETOF '+returning.to_str(db)+'%TYPE' |
531 | 531 |
while True: |
532 | 532 |
try: |
Also available in: Unified diff
sql.py: mk_insert_select(): embeddable: Removed clean_name() because the function name is now escaped where it's used