Re: Build issue with postgresql 17 undefined reference to `pg_encoding_to_char' and `pg_char_to_encoding'
От | Mikael Sand |
---|---|
Тема | Re: Build issue with postgresql 17 undefined reference to `pg_encoding_to_char' and `pg_char_to_encoding' |
Дата | |
Msg-id | CAAwAxZeKGjQHCQZyDe_WhZGwiTf9bGvPYwrqKDGXj6a7jYW8fQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Build issue with postgresql 17 undefined reference to `pg_encoding_to_char' and `pg_char_to_encoding' (Mikael Sand <msand@seaber.io>) |
Ответы |
Re: Build issue with postgresql 17 undefined reference to `pg_encoding_to_char' and `pg_char_to_encoding'
|
Список | pgsql-hackers |
I don't mind having this patch in use too much, I have a functional build and nothing to worry about, no luck necessary :)
But, I expect a lot of unnecessary churn in the community if this is not fixed properly.
Not all applications run inside docker, and not all can use dynamic linking.
People can dislike static linking for whatever reason, but that doesn't remove the need for it (or both) in some cases and the desire for it in others.
Judging from the commit, it doesn't seem like static linking is intentionally broken.
Should a test be added so as not to break this by mistake?
I must say I don't fully comprehend the context of that commit.
On Thu, Oct 10, 2024 at 5:06 PM Mikael Sand <msand@seaber.io> wrote:
This seems to be the commit that caused this: https://github.com/postgres/postgres/commit/b6c7cfac88c47a9194d76f3d074129da3c46545aSo it seems the commit is related to static linking.Is it somehow possible to statically link in a version of pgcommon with correct function names into libpq?
В списке pgsql-hackers по дате отправления: