jrgemignani commented on issue #41:
URL: https://github.com/apache/incubator-age/issues/41#issuecomment-796881128


   Per the documentation, I don't think there is a way to avoid the first
   failure, unless you explicitly do a load command to make sure the library
   is loaded -
   
   *Shared library files that contain C functions are automatically loaded
   whenever one of their functions is called. Therefore, an explicit LOAD is
   usually only needed to load a library that modifies the server's behavior
   through “hooks” rather than providing a set of functions. (*
   https://www.postgresql.org/docs/11/sql-load.html)
   
   
   Our extension uses functions and hooks. So, it would seem the options are
   to do a load or just ignore the first failure (which appears to cause a
   load). I would suggest using the load command due to the uncertainty of how
   that later option just "happens" to work.
   
   John
   
   On Thu, Mar 11, 2021 at 1:45 AM Pieterjan De Potter <
   ***@***.***> wrote:
   
   > Thank you for the detailed explanation! I will continue to use the
   > workaround where the first command is expected to fail for now.
   >
   > Should I leave this issue open until the failing of the first command is
   > fixed, or is that expected behavior?
   >
   > —
   > You are receiving this because you commented.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/incubator-age/issues/41#issuecomment-796608450>,
   > or unsubscribe
   > 
<https://github.com/notifications/unsubscribe-auth/AALPO4BZPEHCETIX3KXGDOLTDCGNPANCNFSM4Y4NEVJA>
   > .
   >
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to