Skip to content

Commit a089b64

Browse files
author
Jean-Paul Argudo
committed
Version 1.4.5 ready for release
1 parent c75f990 commit a089b64

7 files changed

Lines changed: 52 additions & 18 deletions

File tree

doc/04_release_notes.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Release notes
22

3+
## Version 1.4.5 (February, 13th 2025)
4+
5+
### Major changes
6+
7+
- **none** this is mostly a monthly build, to refresh dependencies'versions
8+
9+
### Minor changes
10+
11+
- corrected a bug where `-loops <number>` could be ignored when multiple
12+
clients were spawned with `-clients <number>`
13+
14+
- added a bit more info in the "SQL-Loop mode", showing number of scripts
15+
execution "per client" in parenthesis after the total number of "Script
16+
executions succeeded:"
17+
18+
- Thanks to Dimitri John Ledkov (@xnox) for his talk at FOSDEM 2025,
19+
`build.sh` creates better compilated binaries:
20+
- added GOAMD64=v2
21+
- added trimpath
22+
- added buildmode=pie
23+
- added -X 'main.Version=..'
24+
25+
- Added compilation for a non stripped version of the binary
26+
27+
- rebuild of binaries with dependencies updates:
28+
- upgraded golang.org/x/crypto to v0.33.0
29+
- upgraded golang.org/x/sys to v0.30.0
30+
- upgraded golang.org/x/text to v0.22.0
31+
332
## Version 1.4.4 (January, 27th 2025)
433

534
### Major changes

doc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# pgSimload v.1.4.4 documentation
1+
# pgSimload v.1.4.5 documentation
22

33
## [Overview](01_overview.md)
44

doc/pgSimload.doc.pdf

2.04 KB
Binary file not shown.

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ require (
88
github.com/MakeNowJust/heredoc v1.0.0
99
github.com/eiannone/keyboard v0.0.0-20220611211555-0d226195f203
1010
github.com/jackc/pgx/v5 v5.7.2
11-
golang.org/x/crypto v0.32.0
11+
golang.org/x/crypto v0.33.0
1212
)
1313

1414
require (
1515
github.com/jackc/pgpassfile v1.0.0 // indirect
1616
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
17-
golang.org/x/text v0.21.0 // indirect
17+
golang.org/x/text v0.22.0 // indirect
1818
)
1919

20-
require golang.org/x/sys v0.29.0 // indirect
20+
require golang.org/x/sys v0.30.0 // indirect

go.sum

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV
2020
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
2121
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
2222
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
23-
golang.org/x/crypto v0.32.0 h1:euUpcYgM8WcP71gNpTqQCn6rC2t6ULUPiOzfWaXVVfc=
24-
golang.org/x/crypto v0.32.0/go.mod h1:ZnnJkOaASj8g0AjIduWNlq2NRxL0PlBrbKVyZ6V/Ugc=
25-
golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ=
26-
golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
27-
golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU=
28-
golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
29-
golang.org/x/term v0.28.0 h1:/Ts8HFuMR2E6IP/jlo7QVLZHggjKQbhu/7H0LJFr3Gg=
30-
golang.org/x/term v0.28.0/go.mod h1:Sw/lC2IAUZ92udQNf3WodGtn4k/XoLyZoh8v/8uiwek=
31-
golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo=
32-
golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ=
23+
golang.org/x/crypto v0.33.0 h1:IOBPskki6Lysi0lo9qQvbxiQ+FvsCC/YWOecCHAixus=
24+
golang.org/x/crypto v0.33.0/go.mod h1:bVdXmD7IV/4GdElGPozy6U7lWdRXA4qyRVGJV57uQ5M=
25+
golang.org/x/sync v0.11.0 h1:GGz8+XQP4FvTTrjZPzNKTMFtSXH80RAzG+5ghFPgK9w=
26+
golang.org/x/sync v0.11.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
27+
golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
28+
golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
29+
golang.org/x/term v0.29.0 h1:L6pJp37ocefwRRtYPKSWOWzOtWSxVajvz2ldH/xi3iU=
30+
golang.org/x/term v0.29.0/go.mod h1:6bl4lRlvVuDgSf3179VpIxBF0o10JUpXWOnI7nErv7s=
31+
golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM=
32+
golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY=
3333
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
3434
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
3535
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ var (
3737
rsleep_time time.Duration
3838
silent_start bool
3939

40-
Version = "v.1.4.4"
41-
Release_date = "January, 27th 2025"
40+
Version = "v.1.4.5"
41+
Release_date = "February, 13th 2025"
4242

4343
License = heredoc.Doc(`
4444
**The PostgreSQL License**

sqlloop.go

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,10 +388,15 @@ func do_sqlloop() {
388388

389389
fmt.Print(string(colorGreen))
390390
fmt.Printf(ClearLine);
391-
fmt.Printf("\rScript executions succeeded : %10d ", success_count)
391+
392+
if exec_clients != 1 {
393+
fmt.Printf("\rScript executions succeeded : %10d (%d per client)", success_count, success_count/int64(exec_clients))
394+
} else {
395+
fmt.Printf("\rScript executions succeeded : %10d ", success_count)
396+
}
392397
fmt.Print(string(colorReset))
393398

394-
if success_count == exec_loops {
399+
if (exec_loops !=0) && (success_count >= exec_loops) {
395400
break loop;
396401
stopCh <- true
397402
}

0 commit comments

Comments
 (0)