3 ms·
There's a bug on that page - the text "The SQL to restore the deleted metadata looked a little like this:" is followed by a blank space. I dug around in the HT
by simonw 3y ago
There's a bug on that page - the text "The SQL to restore the deleted metadata looked a little like this:" is followed by a blank space.
I dug around in the HTML source and figured out it's supposed to show content from this Gist: https://gist.github.com/matt-heap/8cbe373e5c06c76fe65b9781f97ad075 https://gist.github.com/matt-heap/8cbe373e5c06c76fe65b9781f9...
INSERT INTO pg_dist_shard
SELECT logicalrelid, shardid, nodename FROM dist_shard_audit
WHERE action = 'DELETE' AND log_time > now() - '1 minutes'::interval;