Linking Dynamically-Loaded Functions
+
After you have created and registered a user-defined
- function, your work is essentially done.
Postgres,
- however, must load the object code (e.g., a .o file, or
+ function, your work is essentially done.
+ however, must load the object code
+ (e.g., a .o file, or
a shared library) that implements your function. As
- previously mentioned,
Postgres loads your code at
+ previously mentioned,
Postgres
+ loads your code at
runtime, as required. In order to allow your code to be
dynamically loaded, you may have to compile and
link-edit it in a special way. This section briefly
describes how to perform the compilation and
link-editing required before you can load your user-defined
- functions into a running
Postgres server. Note that
+ functions into a running
Postgres server.
+ Note that
this process has changed as of Version 4.2.
+