pgq: quote internal table names
authorMarko Kreen <markokr@gmail.com>
Thu, 1 Nov 2012 09:23:19 +0000 (11:23 +0200)
committerMarko Kreen <markokr@gmail.com>
Fri, 2 Nov 2012 08:34:50 +0000 (10:34 +0200)
commitdbbd205ffe763b6845cccf2f93f0b8b0138c96ad
tree37c91c2f987b08c0d0d34e53e92be583fcace313
parent962b13b88820d9e4d0679680ca82a36fb80e3e72
pgq: quote internal table names

Quoting was not done previosly as the table names
come not from user input but from internal tables.

But understanding whether it's safe in particular setup requires
extra thinking which is not good.  So to remove the need for thinking,
lets quote everything properly.
sql/pgq/functions/pgq.batch_event_sql.sql
sql/pgq/functions/pgq.create_queue.sql
sql/pgq/functions/pgq.drop_queue.sql
sql/pgq/functions/pgq.grant_perms.sql
sql/pgq/functions/pgq.maint_rotate_tables.sql
sql/pgq/functions/pgq.quote_fqname.sql [new file with mode: 0644]
sql/pgq/functions/pgq.seq_funcs.sql
sql/pgq/structure/func_internal.sql
sql/pgq/structure/grants.ini