Skip to content

Conversation

@kishorevaishnav
Copy link

Hi,

I modified the code for below features (which helps me lot)

  • Showing which query was executed.
  • Timestamp when it was executed.
  • A line break in between multiple requests.

Hope this would be helpful to you. You can ignore it as it is your repo. Here is a sample output.

--------  Sun, 25 Feb 2018 02:56:49 GMT  -----------
SELECT COUNT(*) FROM test;
 count 
-------
   691
(1 row)
psql end.

--------  Sun, 25 Feb 2018 02:57:35 GMT  -----------
SELECT COUNT(*) FROM test2;
 count 
-------
     99
(1 row)
psql end.

@doublefint doublefint merged commit 63e88e4 into doublefint:master Feb 25, 2018
@doublefint
Copy link
Owner

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants