Searched refs:sql (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | export-to-postgresql.py | 22 # libqt4-sql-psql for Qt postgresql support. 48 # $ sudo apt-get install python-pyside.qtsql libqt4-sql-psql 52 # $ sudo apt-get install python3-pyside.qtsql libqt4-sql-psql 77 # exported-sql-viewer.py. Refer to that script for details. 747 sql = "COPY " + table_name + " FROM '" + file.name + "' (FORMAT 'binary')" 748 do_query(query, sql) 757 sql = "COPY " + table_name + " FROM STDIN (FORMAT 'binary')" 758 res = PQexec(conn, toclientstr(sql))
|
H A D | exported-sql-viewer.py | 3 # exported-sql-viewer.py: view data from sql database 13 # python tools/perf/scripts/python/exported-sql-viewer.py pt_example 18 # python tools/perf/scripts/python/exported-sql-viewer.py "hostname=myhost username=myuser password=mypassword dbname=pt_example" 2537 def __init__(self, dbref, sql, buffer, head, tail, fetch_count, fetching_done, process_target, wait_event, fetched_event, prep): 2541 self.sql = sql 2552 self.query_limit = 0 if "$$last_id$$" in sql else 2 2564 stmt = self.sql.replace("$$last_id$$", str(self.last_id)) 2655 def __init__(self, glb, sql, pre [all...] |
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | export-to-postgresql.py | 22 # libqt4-sql-psql for Qt postgresql support. 48 # $ sudo apt-get install python-pyside.qtsql libqt4-sql-psql 52 # $ sudo apt-get install python3-pyside.qtsql libqt4-sql-psql 77 # exported-sql-viewer.py. Refer to that script for details. 750 sql = "COPY " + table_name + " FROM '" + file.name + "' (FORMAT 'binary')" 751 do_query(query, sql) 760 sql = "COPY " + table_name + " FROM STDIN (FORMAT 'binary')" 761 res = PQexec(conn, toclientstr(sql))
|
H A D | exported-sql-viewer.py | 3 # exported-sql-viewer.py: view data from sql database 13 # python tools/perf/scripts/python/exported-sql-viewer.py pt_example 18 # python tools/perf/scripts/python/exported-sql-viewer.py "hostname=myhost username=myuser password=mypassword dbname=pt_example" 2538 def __init__(self, dbref, sql, buffer, head, tail, fetch_count, fetching_done, process_target, wait_event, fetched_event, prep): 2542 self.sql = sql 2553 self.query_limit = 0 if "$$last_id$$" in sql else 2 2565 stmt = self.sql.replace("$$last_id$$", str(self.last_id)) 2656 def __init__(self, glb, sql, pre [all...] |
Completed in 11 milliseconds