Hacker News new | ask | show | jobs
by murkt 811 days ago
It's not exactly string-based as it accepts bigint key, but I guess it's possible to hash a string when you pass it to the function.
1 comments

That's what exactly what I did a fairly basic distributed cron and it worked fine.
Have you passed a string into Postgres and then hashed it into bigint with another function? If yes, what function did you use?

I assume that if you do it this way, then you see a string key in logs, views of current/locked queries, etc. Which should immensely help when debugging any kind of problems.