mirror of
https://github.com/dbcli/pgcli
synced 2024-06-16 01:42:23 +00:00
Add <null> as a placeholder for missingvalue.
This commit is contained in:
parent
7bb9e51b10
commit
cc41a4ea6c
|
@ -350,7 +350,7 @@ def format_output(cur, headers, status, table_format):
|
|||
if is_expanded_output():
|
||||
output.append(expanded_table(cur, headers))
|
||||
else:
|
||||
output.append(tabulate(cur, headers, tablefmt=table_format))
|
||||
output.append(tabulate(cur, headers, tablefmt=table_format, missingval='<null>'))
|
||||
if status: # Only print the status if it's not None.
|
||||
output.append(status)
|
||||
return output
|
||||
|
|
Loading…
Reference in New Issue
Block a user