Re: Consistently use palloc_object() and palloc_array()

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Consistently use palloc_object() and palloc_array()
Дата
Msg-id
1433178.1764946037@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Consistently use palloc_object() and palloc_array() David Geier <geidav.pg@gmail.com>
Re: Consistently use palloc_object() and palloc_array() Michael Paquier <michael@paquier.xyz>
Re: Consistently use palloc_object() and palloc_array() David Geier <geidav.pg@gmail.com>
Re: Consistently use palloc_object() and palloc_array() Thomas Munro <thomas.munro@gmail.com>
Re: Consistently use palloc_object() and palloc_array() David Geier <geidav.pg@gmail.com>
Re: Consistently use palloc_object() and palloc_array() Tom Lane <tgl@sss.pgh.pa.us>
Re: Consistently use palloc_object() and palloc_array() Michael Paquier <michael@paquier.xyz>
Re: Consistently use palloc_object() and palloc_array() Peter Eisentraut <peter@eisentraut.org>
Re: Consistently use palloc_object() and palloc_array() Chao Li <li.evan.chao@gmail.com>
Re: Consistently use palloc_object() and palloc_array() David Geier <geidav.pg@gmail.com>
Re: Consistently use palloc_object() and palloc_array() Tom Lane <tgl@sss.pgh.pa.us>
Re: Consistently use palloc_object() and palloc_array() David Geier <geidav.pg@gmail.com>
Re: Consistently use palloc_object() and palloc_array() Thomas Munro <thomas.munro@gmail.com>
Re: Consistently use palloc_object() and palloc_array() David Geier <geidav.pg@gmail.com>
Re: Consistently use palloc_object() and palloc_array() Michael Paquier <michael@paquier.xyz>
Re: Consistently use palloc_object() and palloc_array() Tom Lane <tgl@sss.pgh.pa.us>
Re: Consistently use palloc_object() and palloc_array() David Geier <geidav.pg@gmail.com>
Re: Consistently use palloc_object() and palloc_array() Michael Paquier <michael@paquier.xyz>
Re: Consistently use palloc_object() and palloc_array() David Geier <geidav.pg@gmail.com>
Re: Consistently use palloc_object() and palloc_array() Tom Lane <tgl@sss.pgh.pa.us>
Re: Consistently use palloc_object() and palloc_array() David Geier <geidav.pg@gmail.com>
Re: Consistently use palloc_object() and palloc_array() Tom Lane <tgl@sss.pgh.pa.us>
Re: Consistently use palloc_object() and palloc_array() Michael Paquier <michael@paquier.xyz>
Re: Consistently use palloc_object() and palloc_array() David Geier <geidav.pg@gmail.com>
Re: Consistently use palloc_object() and palloc_array() Michael Paquier <michael@paquier.xyz>
Re: Consistently use palloc_object() and palloc_array() Michael Paquier <michael@paquier.xyz>
Re: Consistently use palloc_object() and palloc_array() David Geier <geidav.pg@gmail.com>
Re: Consistently use palloc_object() and palloc_array() Thomas Munro <thomas.munro@gmail.com>
Re: Consistently use palloc_object() and palloc_array() Michael Paquier <michael@paquier.xyz>
David Geier  writes:
> My bad. I hadn't realized that - obviously - not necessarily all code is
> actually compiled by default.

> Will the build system enable any target for which all dependencies (e.g.
> libraries) are met, or are there targets that need to be enabled
> explicitly? Is there a way to enable all of them so I can easily make
> sure, I actually compile all code?

There's a good deal of platform-specific code in PG, particularly for
Windows, and obviously none of that will be built unless you're on the
right platform.  (You can reach some of the Windows-specific code on
other systems with -DEXEC_BACKEND, but that goes only so far.)

As for optional-feature stuff, I think the meson build system will by
default build every option it can find the supporting libraries for.
But the other side of that coin is that if you didn't install the
right packages it will silently not build it.

I think the most reliable way is to look at "./configure --help"
and select all the options you think should work on your platform.
Then, if you forgot to install libfoo-devel or whatever, you'll
get configure failures.

			regards, tom lane


В списке pgsql-hackers по дате отправления
От: Jelte Fennema-Nio
Дата:
Сообщение: Make copyObject work in C++
От: Tom Lane
Дата:
Сообщение: Re: More const-marking cleanup
FAQ