Skip to content

Don't use pg_config#18

Open
demonolock wants to merge 1 commit into
mainfrom
no-pg-config
Open

Don't use pg_config#18
demonolock wants to merge 1 commit into
mainfrom
no-pg-config

Conversation

@demonolock

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread pg_probackup2/init_helpers.py
self.is_lz4_enabled = '-llz4' in self._pg_config['LIBS']
version = self._pg_config['VERSION'].rstrip('develalphabetapre')
parts = [*version.split(' ')[1].split('.'), '0', '0'][:3]
pg_bin = os.getenv('PG_BIN', shutil.which('postgres'))

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shutil.which('postgres') - может неявно задать неправильную версию.

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.

2 participants