1 # YASQL configuration options
2 # This can be placed in either /etc/yasql.conf or ~/.yasqlrc. The latter
3 # will be read before the former.
5 # The format is <config_var> = <option>
8 # Timeout for connection attempts
9 connection_timeout = 20
11 # The amount of times to attempt the connection if the username/password are
13 max_connection_attempts = 3
15 # Where to save the history file. Shell metachars will be globbed (expanded)
16 history_file = ~/.yasql_history
18 # Your favorite pager for extended output. (right now only the help command)
21 # Autocommit any updates/inserts etc
24 # Commit any pending transactions on exit. Errors or crashes will still cause
25 # the current transaction to rollback. But with this on a commit will occur
26 # when you explicitly exit.
29 # Long truncation OK. If set to 1 then when a row contains a field that is
30 # set to a LONG time, such as BLOB, CLOB, etc will be truncated to LongReadLen
31 # length. If 0, then the row will be skipped and not outputted.
34 # Long Read Length. This is the length of characters to truncate to if
38 # Whether or not to put the query edited from the 'edit' command into the
42 # Generate an auto-completion list on connection
45 # extended tab list will cause the possible matches list to be filled by basicly
46 # any and all objects. With it off the tab list will be restricted to only
47 # tables, columns, and objects owned by the current user.
48 extended_complete_list = 0
50 # The following three options control exactly what to complete. These are only
51 # effective if auto_complete is set to 1.
53 # Complete table names?
56 # Complete column names?
59 # Complete all other objects? (Hint... depending on your schema this will
60 # include tables and columns also, so you could turn the other 2 off)
63 # Use extended benchmarks
64 extended_benchmarks = 0
66 # A string to include in the prompt. The prompt will always be suffixed by
67 # a '> ' string. Interpolated variables:
68 # %H = connected host. will be prefixed with a '@'
72 # Column wildcards is an extremely experimental feature that is still being
73 # hashed out due to the complex nature of it. This should affect only select
74 # statements and expands any wildcards (*) in the column list. such as
75 # 'select col* from table;'.
78 # Turn on the echoing of the query in error messages.
79 sql_query_in_error = 0
81 # Set the prefered NLS_DATE_FORMAT. This effects both date input and output
82 # formats. The default is ISO standard, not oracle default.
83 nls_date_format = YYYY-MM-DD HH24:MI:SS
85 # Turn on fast describes. These are much faster than the old style of
86 # desc <table>, however non-built in datatypes may not be returned properly.
87 # i.e. a FLOAT will be returned as a NUMBER type. Internally FLOATs really
88 # are just NUMBERs, but this might present problems for you. If so, set this