Postgresql Javascript Array Of Functions C