|
@@ -10,12 +10,12 @@
|
|
|
# Following on from the example in the export scripts, a
|
|
|
# call-graph can be displayed for the pt_example database like this:
|
|
|
#
|
|
|
-# python tools/perf/scripts/python/call-graph-from-sql.py pt_example
|
|
|
+# python tools/perf/scripts/python/exported-sql-viewer.py pt_example
|
|
|
#
|
|
|
# Note that for PostgreSQL, this script supports connecting to remote databases
|
|
|
# by setting hostname, port, username, password, and dbname e.g.
|
|
|
#
|
|
|
-# python tools/perf/scripts/python/call-graph-from-sql.py "hostname=myhost username=myuser password=mypassword dbname=pt_example"
|
|
|
+# python tools/perf/scripts/python/exported-sql-viewer.py "hostname=myhost username=myuser password=mypassword dbname=pt_example"
|
|
|
#
|
|
|
# The result is a GUI window with a tree representing a context-sensitive
|
|
|
# call-graph. Expanding a couple of levels of the tree and adjusting column
|
|
@@ -365,7 +365,7 @@ class DBRef():
|
|
|
|
|
|
def Main():
|
|
|
if (len(sys.argv) < 2):
|
|
|
- print >> sys.stderr, "Usage is: call-graph-from-sql.py <database name>"
|
|
|
+ print >> sys.stderr, "Usage is: exported-sql-viewer.py <database name>"
|
|
|
raise Exception("Too few arguments")
|
|
|
|
|
|
dbname = sys.argv[1]
|