Chris Jaekl [Thu, 20 Jun 2024 01:51:47 +0000 (21:51 -0400)]
Update to build in a modern environment
This requires moving the minimum JDK version to 1.8, because
support for building 1.7-compatible classes seems to have been
dropped sometime between JDK17 and JDK20.
I also re-implemented DatatypeConverter.printHexString(), because
javax.xml.bind was removed from the JDK in JDK11.
Chris Jaekl [Wed, 29 Nov 2017 12:04:04 +0000 (21:04 +0900)]
Switch (back) to using the head-of-stream JaCoCo.
When I upgraded from Java 7 to Java 8, JaCoCo broke.
At that time, the most recent version of the Maven Plugin did not work,
and I had to hard-code a (slightly older) version in order to get builds to work.
Now, I have upgraded to Java 9, and the previously-hard-coded version does not work with that.
Removing the version specifyer (well, commenting it out) brings me back to a state where
builds succeed.
Chris Jaekl [Sat, 7 Jan 2017 13:02:28 +0000 (22:02 +0900)]
moves to an older version (0.7.4.201502262128) of JaCoCo.
The current maven plugin code doesn't work with 0.7.8, throwing the following error:
[ERROR] Failed to execute goal org.jacoco:jacoco-maven-plugin:0.7.8:report (post-unit-test) on project squelch: An error has occurred in JaCoCo report generation. Error while creating report: Cannot read execution data version 0x1006. This version of JaCoCo uses execution data version 0x1007. -> [Help 1]
Waiting for Jenkins to finish collecting data[ERROR]
Chris Jaekl [Tue, 1 Nov 2016 13:13:09 +0000 (22:13 +0900)]
adds support for null suppression
This is controlled via the "\pset suppress_nulls=on" command.
Rows with all null values will be suppressed.
Columns with all null values will be suppressed.
Suppression only applies to formatted (tabular) output, not to CSV output.
When null-suppression mode is on, only one RowBuffer worth of (non-suppressed)
rows will be fetched; this limit is currently hard-coded to 50 rows.
Chris Jaekl [Thu, 13 Oct 2016 11:42:11 +0000 (20:42 +0900)]
Opens and closes the JDBC connection for each command
Instead of holding the connection open for the duration of the application,
open a fresh connection for each command, and close it immediately after the
command completes. This may reduce the risk of having connections hang around
for a while, if the JVM terminates unexpectedly (e.g., if the ssh session gets
killed and the console goes away).
Chris Jaekl [Sun, 12 Jun 2016 13:01:06 +0000 (22:01 +0900)]
select queries now work, and print tabular output.
There is support in the output code for CSV formatting as well, but I still need to add a UI feature to enable it.