feat: add smallserial metadata#899
Conversation
Codecov Report
@@ Coverage Diff @@
## master #899 +/- ##
============================================
+ Coverage 68.67% 68.67% +<.01%
- Complexity 3891 3893 +2
============================================
Files 179 179
Lines 16391 16401 +10
Branches 2669 2673 +4
============================================
+ Hits 11256 11263 +7
Misses 3887 3887
- Partials 1248 1251 +3 |
|
I'm curious does anyone actually use smallserial ? We've never had a request for this. |
|
I use it 😝, this is essentially metadata which most people don't use, its added for completeness. |
|
I wonder if we should delay this till 42.2.0 due to "new feature" nature of the PR. |
|
It's not such a big feature, but it's fine to delay this till 42.2.0, it's not especially important as noted by Dave. |
|
Should I add a check of the version of Postgres? |
|
+1 |
1325c4c to
46d13c1
Compare
|
Ready the check for ServerVersion.v9_2 |
46d13c1 to
d6842ad
Compare
|
This feature is ready for 42.2.0, comments are welcome. |
d6842ad to
2db1ef8
Compare
|
Rebased and ready for 42.2.0 |
2c28cb4 to
7cdfe43
Compare
|
Should this be included in 42.2.1? |
7cdfe43 to
779636c
Compare
779636c to
9882612
Compare
c25d807 to
adcb194
Compare
c1e7cb3 to
dd044ce
Compare
|
Resurrecting this for completeness with #1899
|
PostgreSQL 9.2 adds a SMALLSERIAL data type, this reports the correct metadata information when a column is a smallserial (int2 with sequence), similar to how a serial or bigserial data types are reported.
dd044ce to
dec8db1
Compare
Codecov Report
@@ Coverage Diff @@
## master #899 +/- ##
============================================
+ Coverage 69.02% 69.18% +0.15%
- Complexity 4198 4211 +13
============================================
Files 197 197
Lines 17998 18004 +6
Branches 2917 2919 +2
============================================
+ Hits 12424 12456 +32
+ Misses 4223 4202 -21
+ Partials 1351 1346 -5 |
|
ah, thanks good catch. I'll push shortly |
PostgreSQL 9.2 adds a SMALLSERIAL data type, this reports the correct metadata information when a column is a smallserial (int2 with sequence), similar to how a serial or bigserial data types are reported.
PostgreSQL 9.2 adds a SMALLSERIAL data type, this reports the correct metadata information when a column is a smallserial (int2 with sequence), similar to how a serial or bigserial data types are reported.
* fix: avoid removal type annotations on "this" so the source archive is buildable "this" type annotations are Java 8+, so we no longer need to remove them. * fix: PgTokenizer was ignoring last empty token (#1882) * fix: PgTokenizer was ignoring last empty token fixes #1881 * fix: handle smallserial correctly fixes #1897 (#1899) * feat: add smallserial metadata (#899) PostgreSQL 9.2 adds a SMALLSERIAL data type, this reports the correct metadata information when a column is a smallserial (int2 with sequence), similar to how a serial or bigserial data types are reported. * fix:remove osgi from karaf fixes Issue #1891 (#1902) * Change default of gssEncMode to ALLOW. PostgreSQL can deal with PREFER but there are cloud providers that did not implement the protocol properly. Using PREFER seems to cause more problems than it solves Co-authored-by: Vladimir Sitnikov <[email protected]> Co-authored-by: Jorge Solorzano <[email protected]>
* fix: avoid removal type annotations on "this" so the source archive is buildable "this" type annotations are Java 8+, so we no longer need to remove them. * fix: PgTokenizer was ignoring last empty token (#1882) * feat: add smallserial metadata (#899) PostgreSQL 9.2 adds a SMALLSERIAL data type, this reports the correct metadata information when a column is a smallserial (int2 with sequence), similar to how a serial or bigserial data types are reported. * fix:remove osgi from karaf fixes Issue #1891 (#1902) * Change default of gssEncMode to ALLOW. PostgreSQL can deal with PREFER but there are cloud providers that did not implement the protocol properly * update CHANGELOG and posts for 42.2.17 * fix up CHANGELOG * Update README, gssEncMode for release Co-authored-by: Vladimir Sitnikov <[email protected]> Co-authored-by: Jorge Solorzano <[email protected]>
* fix: avoid removal type annotations on "this" so the source archive is buildable "this" type annotations are Java 8+, so we no longer need to remove them. * fix: PgTokenizer was ignoring last empty token (pgjdbc#1882) * feat: add smallserial metadata (pgjdbc#899) PostgreSQL 9.2 adds a SMALLSERIAL data type, this reports the correct metadata information when a column is a smallserial (int2 with sequence), similar to how a serial or bigserial data types are reported. * fix:remove osgi from karaf fixes Issue pgjdbc#1891 (pgjdbc#1902) * Change default of gssEncMode to ALLOW. PostgreSQL can deal with PREFER but there are cloud providers that did not implement the protocol properly * update CHANGELOG and posts for 42.2.17 * fix up CHANGELOG * Update README, gssEncMode for release Co-authored-by: Vladimir Sitnikov <[email protected]> Co-authored-by: Jorge Solorzano <[email protected]>
Add smallserial metadata info.