doc: Flesh out extension docs for the "prefix" make variable
authorPeter Eisentraut
Thu, 1 May 2025 20:10:36 +0000 (22:10 +0200)
committerPeter Eisentraut
Thu, 1 May 2025 20:23:52 +0000 (22:23 +0200)
commit0064020680c1293ec6ce9fe2588e33d6aebdb015
treeb668416a6af1237636971401944cf18264d21aba
parent4ea1254f35b27ed35a389e720ab2e614fc1e1d4d
doc: Flesh out extension docs for the "prefix" make variable

The variable is a bit magical in how it requires "postgresql" or
"pgsql" to be part of the path, and files end up in its "share" and
"lib" subdirectories.  So mention all that and show an example of
setting "extension_control_path" and "dynamic_library_path" to use
those locations.

Author: David E. Wheeler 
Reviewed-by: Matheus Alcantara
Reviewed-by: Christoph Berg
Discussion: https://www.postgresql.org/message-id/6B5BF07B-8A21-48E3-858C-1DC22F3A28B4@justatheory.com
doc/src/sgml/extend.sgml