Re: Cleaning up historical portability baggage
От | Tom Lane |
---|---|
Тема | Re: Cleaning up historical portability baggage |
Дата | |
Msg-id | 488234.1660229571@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Cleaning up historical portability baggage (Thomas Munro <thomas.munro@gmail.com>) |
Ответы |
Re: Cleaning up historical portability baggage
|
Список | pgsql-hackers |
Thomas Munro <thomas.munro@gmail.com> writes: > The most interesting things to say about these ones are: > * The concept of a no-Unix-socket build is removed. We should be > able to do that now, right? Peter E seemed to say approximately that > in the commit message for 797129e5. Or is there a thought that a new > operating system might show up that doesn't have 'em and we'd wish > we'd kept this stuff well marked out? I'm kind of down on removing that. I certainly think it's premature to do so today, when we haven't even yet shipped a release that assumes we can always define it on Windows -- I won't be too surprised if we get pushback on that after 15.0 is out. But in general, Unix sockets seem like kind of an obvious thing that might not be there on some future platform. Instead of what you did in 0002, I propose putting "#define HAVE_UNIX_SOCKETS 1" in pg_config_manual.h, and keeping the #if's that reference it as-is. All the rest of this seems fine on a cursory readthrough. Even if we discover that header foo.h is less universal than we thought, putting back one or two configure tests won't be hard. regards, tom lane
В списке pgsql-hackers по дате отправления: