Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update Dockerfile for pg_auto_failover/docs/tutorial #1029

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RMTT
Copy link

@RMTT RMTT commented Jan 29, 2024

Current Dockerfile use postgresql 14 and citus 11.1.2 which will cause following errors when build:

  • /usr/src/citus/src/include/pg_version_compat.h:59:1: error: redefinition of 'RelationGetSmgr'
  • /usr/include/postgresql/internal/libpq-int.h:86:10: fatal error: common/pg_prng.h: No such file or directory

The first error has been fixed since citus 11.1.6 and the pg_prng.h exists since postgresql 15.

Update postgresql version to 16 and citus version 12.1.0 can fixed above two errors:

tutorial=# select version();   
                                                           version                                                           
-----------------------------------------------------------------------------------------------------------------------------
 PostgreSQL 16.1 (Debian 16.1-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
(1 row)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant