mirror of
https://github.com/torvalds/linux.git
synced 2025-11-04 18:49:34 +02:00
Fix SQL query error "invalid input syntax for integer":
Traceback (most recent call last):
File "tools/perf/scripts/python/export-to-postgresql.py", line 465, in <module>
do_query(query, 'CREATE VIEW calls_view AS '
File "tools/perf/scripts/python/export-to-postgresql.py", line 274, in do_query
raise Exception("Query failed: " + q.lastError().text())
Exception: Query failed: ERROR: invalid input syntax for integer: ""
LINE 1: ...ch_count,call_id,return_id,CASE WHEN flags=0 THEN '' WHEN fl...
^
(22P02) QPSQL: Unable to create query
Error running python script tools/perf/scripts/python/export-to-postgresql.py
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Fixes:
|
||
|---|---|---|
| .. | ||
| bin | ||
| Perf-Trace-Util | ||
| check-perf-trace.py | ||
| compaction-times.py | ||
| event_analyzing_sample.py | ||
| export-to-postgresql.py | ||
| export-to-sqlite.py | ||
| exported-sql-viewer.py | ||
| failed-syscalls-by-pid.py | ||
| futex-contention.py | ||
| intel-pt-events.py | ||
| mem-phys-addr.py | ||
| net_dropmonitor.py | ||
| netdev-times.py | ||
| powerpc-hcalls.py | ||
| sched-migration.py | ||
| sctop.py | ||
| stackcollapse.py | ||
| stat-cpi.py | ||
| syscall-counts-by-pid.py | ||
| syscall-counts.py | ||