Skip to content

PostgreSQL 14 support #47

@devrimgunduz

Description

@devrimgunduz

Hi,

2.3.1 builds fine against v14 beta1, but regression tests fail -- actually it crashes postmaster. Regression diffs is attached, and here is the related part in PostgreSQL log file. Can you please take a look? It works fine against v14:

2021-06-02 11:01:27.206 BST [54218] ERROR: 0 is outside the valid range for parameter "topn.number_of_counters" (1 .. 14913080)
2021-06-02 11:01:27.206 BST [54218] STATEMENT: SET topn.number_of_counters to 0;
2021-06-02 11:01:27.206 BST [54218] ERROR: -1 is outside the valid range for parameter "topn.number_of_counters" (1 .. 14913080)
2021-06-02 11:01:27.206 BST [54218] STATEMENT: SET topn.number_of_counters to -1;
2021-06-02 11:01:27.206 BST [54218] ERROR: invalid value for parameter "topn.number_of_counters": "1000000000000"
2021-06-02 11:01:27.206 BST [54218] HINT: Value exceeds integer range.
2021-06-02 11:01:27.206 BST [54218] STATEMENT: SET topn.number_of_counters to 1000000000000;
TRAP: FailedAssertion("flags & HASH_STRINGS", File: "dynahash.c", Line: 427, PID: 54218)
postgres: postgres contrib_regression [local] SELECT(ExceptionalCondition+0x99)[0xa22d59]
postgres: postgres contrib_regression [local] SELECT(hash_create+0x871)[0xa37d81]
/usr/pgsql-14/lib/topn.so(+0x2e77)[0x7f9955b19e77]
/usr/pgsql-14/lib/topn.so(topn_add_trans+0x109)[0x7f9955b1aae9]
postgres: postgres contrib_regression [local] SELECT[0x7169a6]
postgres: postgres contrib_regression [local] SELECT[0x730e3d]
postgres: postgres contrib_regression [local] SELECT[0x74e495]
postgres: postgres contrib_regression [local] SELECT(standard_ExecutorRun+0x11a)[0x720eda]
postgres: postgres contrib_regression [local] SELECT[0x8d8e25]
postgres: postgres contrib_regression [local] SELECT(PortalRun+0x1a6)[0x8da936]
postgres: postgres contrib_regression [local] SELECT[0x8d5539]
postgres: postgres contrib_regression [local] SELECT(PostgresMain+0x1c29)[0x8dd069]
postgres: postgres contrib_regression [local] SELECT[0x83a9a0]
postgres: postgres contrib_regression [local] SELECT(PostmasterMain+0xd38)[0x83be08]
postgres: postgres contrib_regression [local] SELECT(main+0x764)[0x5210f4]
/lib64/libc.so.6(__libc_start_main+0xd5)[0x7f9954c3eb75]
postgres: postgres contrib_regression [local] SELECT(_start+0x2e)[0x52119e]
2021-06-02 11:01:27.485 BST [32339] LOG: server process (PID 54218) was terminated by signal 6: Aborted
2021-06-02 11:01:27.485 BST [32339] DETAIL: Failed process was running: SELECT topn(topn_add_agg(int_column::text), 1) FROM numbers WHERE int_column < 1;
2021-06-02 11:01:27.485 BST [32339] LOG: terminating any other active server processes
2021-06-02 11:01:27.486 BST [32339] LOG: all server processes terminated; reinitializing

regression.diffs.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions