New answers tagged

3

Try this: -- This will concatenate the values: \set myvariable '/var/lib/pgsql95/' :myvariable '/pg_tblspc' -- This will expand the variable single-quoted: CREATE TABLESPACE aspire_data OWNER aspireapp LOCATION :'myvariable'



Top 50 recent answers are included