I find \'#\' can replace some string in posgresql like:
SELECT \'Record #\' || i FROM generate_series(1, 1000) i;
The symbol \'#\' ca