Antares will send a ill formatted command to the database if you try to create a function that contains $$ or any of its variants. If you get the example from https ...