Using usql 0.14.6 for accessing a Postgres database, I'm finding that the history file is often corrupted on exiting, and I'm not able to search my history from previous sessions.
An example:
\d subreddits\d reddit_subredditsalter table reddit_subreddits add column json_errors json;\d reddit_threadselect * From reddit_subreddits limit 5\Gselect * from reddit_subreddits where url = '/r/all/;select * from reddit_subreddits where url = '/r/all/';select * from reddit_subreddits where url = '/r/popular';select * from reddit_subreddits where url ~* '/r/popular';select * from reddit_subreddits where url ~* '/r/all';insert into reddit_subreddits (url, title, num_subs, over18) values ('/r/all/', 'All', 1e6, true), ('/r/popular', 'Popular', 1e6, true);select * from reddit_subreddits where name = 'All';select * from reddit_subreddits where title'All';select * from reddit_subreddits where title ='All';select * from reddit_subreddits where title ='Popular';update reddit_subreddits set (last_seen_date, first_seen_date) = (now(), now()) where title ='Popular';update reddit_subreddits set (last_seen_date, first_seen_date) = (now(), now()) where title ='All';alter table reddit_subreddits add column threads_last_scraped timestamptz;select *
It looks like there are no newlines being saved in the history file.
Using usql 0.14.6 for accessing a Postgres database, I'm finding that the history file is often corrupted on exiting, and I'm not able to search my history from previous sessions.
An example:
It looks like there are no newlines being saved in the history file.
I have a .usqlrc:
System: macOS 13.3, M1, hombre usql 0.14.6