postgresql_cursor icon indicating copy to clipboard operation
postgresql_cursor copied to clipboard

Remove early return from `set_cursor_tuple_fraction`

Open xathien opened this issue 2 years ago • 0 comments

The early return removed the ability to override Postgres' default fraction of 0.1 with 1.0. A workaround was to use 0.99999 but that's a little bit ugly, so let's just always set the tuple fraction.

Alternatively, we could check the current fraction on the @connection and only change it if it's different, which would also allow us to revert the temporary fraction change afterward, but that's an adjustment for another PR.

Partially fixes #49

xathien avatar Mar 09 '23 23:03 xathien