MySQL specify quotes
Sweetchack - November 10, 2008 - 20:34
| Project: | API |
| Version: | HEAD |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
warning: pg_query(): Query failed: ERROR: syntax error at or near "`" LINE 1: ...function (did, signature, start_line, parameters, `return`)
user warning: query: INSERT INTO api_function (did, signature, start_line, parameters, `return`) VALUES (5, 'example_element_menu($may_cache)', 32, '', '') in /home/sweetchack/.../modules/api/parser.inc on line 429.
This patch solve the problem, but not professional.
| Attachment | Size |
|---|---|
| api_function-return.patch | 2.46 KB |

#1
This is much more cumbersome than renaming the column. #332576: 'return' is reserved word in PostgreSQL