I had no idea functions need permissions... GRANT EXTENSION..?
You really need to get away from thinking anything you are doing has to do with extensions. As you noted the function you found is in the core part of the documentation so it isn’t an extension.
David J.