-
Notifications
You must be signed in to change notification settings - Fork 49
/
Changes
98 lines (66 loc) · 3.04 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
- Readme additions and corrections (thanks to @glass-ships)
- Specify column ordering explicitly on COPY (thanks to @wekeesler)
- Skip trying to insert FKs if including entire table anyway
(thanks to @reshab48)
1.17 Feb 17, 2023
- Fix for handling of generated columns, update Perl version
(thanks to Nicholas Davidson <[email protected]>)
- Docs update (thanks to @jdbranham)
1.16 May 6, 2023
- Handle schema + table names greater than max identifier length
(thanks to Chad Hoyt @chadhoyt)
1.15
- Allow fractional --limit percentage (thanks to @michaele-blend)
1.14
- Added --ordered-desc and --ordered-asc options to control sort order.
Changed default --ordered to be descending as it seems more commonly
wanted. (thanks to @jmborr)
- Changed query to fetch indexes to handle renamed indexes better.
1.13 Jan 10, 2022
- Fix -p short option (thanks to Jacek Trociński @jacektrocinski)
- Improve Docker workflow (thanks to Olivier Dalang @olivierdalang)
- Added INSTALL.md (thanks Nathan Dawson @Fedelaus)
- Fix --random with small tables (thanks to Luiz Muller @luizm)
1.12 Sep 21, 2021
- Fix parititon handling (thanks to @zyntogz)
- Docker improvements (thanks to @ricardocasaca)
- Improved random sampling using bernoulli sampling method when avail
(thanks to @madtibo)
1.11 May 8, 2021
- Added Docker support (thanks to @mariano-balto and @VladimirLogachev)
1.10 Jun 23, 2019
- Made -h option be an alias for --host and not for --help to be
consistent with pg_dump (thanks to @dmitry-at-publons)
1.09 Jul 10, 2014
- Set STDOUT character encoding
- Add protype for notice function
- Silence "use of uninitialized value" warning
- Add verbose messages for client and server encodings
1.08 Jul 10, 2014
- Require DBD::Pg >= 2. Prior versions lacked pg_getcopydata and the
table_info() interface was different.
- Removed SET OWNER declarations in tests (t/sample.sql)
- Trap exit signals and try to clean up anything we created (Joe Van Dyk)
1.07 Jun 23, 2013
- Added --help / --h / --usage / --? options to output the "help" using
pod2usage. (Bricklen Anderson)
- Added "UNLOGGED" to the "_pg_sample" table creation commands to reduce
the overhead of creating the tables. Could also add in a "TEMPORARY"
option to further reduce the impact on the server. (Bricklen Anderson)
0.06 Aug 27, 2011
- look for TABLE_SCHEM and TABLE_NAME from table_info() in addition
to pg_schema and pg_table (which are not available in older DBD::Pg
versions)
- fix limit matching (thanks to Bricklen Anderson)
- add indexes to sample-table foreign key columns to improve
performance
- optimized foreign key queries
- support for composite foreign keys
0.05 Jul 2 2011
- quote identifiers and constants (thanks to Bricklen Anderson)
- off by one error with setval() call
0.02 Dec 24 2010
- extended limit option to allow specification of pattern rules
to apply different row limits to different tables and schemas.
0.01 Jul 4 2010
- initial release