top | item 39954521 (no title) sgarman | 1 year ago OP says it needs to be a function in sql and backslash commands are psql commands not queries. Probably would not suite their case. discuss order hn newest leononame|1 year ago Yes, that's exactly right. Other requirements around this whole thing force us to do this in a function and not through psql. We've actually been thinking about using pl{perl,python,rust} instead because this approach works, but is annoying.
leononame|1 year ago Yes, that's exactly right. Other requirements around this whole thing force us to do this in a function and not through psql. We've actually been thinking about using pl{perl,python,rust} instead because this approach works, but is annoying.
leononame|1 year ago