Skip to content

Commit

Permalink
Update hugebase62.c
Browse files Browse the repository at this point in the history
pg16 compability header added
  • Loading branch information
ridvankorkmaz authored Feb 9, 2024
1 parent 98e1bd9 commit 0a7fc7a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/hugebase62.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
#include "access/hash.h"
#endif

// pg16 compability
#if PG_VERSION_NUM >= 160000
#include "varatt.h"
#endif

#define HUGEBASE62_NONZERO_POWERS 11
// int128 can store 22 characters, to avoid overflow the capacity is lower
#define HUGEBASE62_LENGTH 20
Expand Down

0 comments on commit 0a7fc7a

Please sign in to comment.