PostgreSQL/Postgre SQL/File Read
Reading from a file into a variable
postgres=#
postgres=# -- Reading from a file into a variable
postgres=#
postgres=# \set data "cat tabledata"
postgres=# \echo :data
cat tabledata
postgres=#
postgres=#
postgres=#
postgres=# -- Reading from a file into a variable
postgres=#
postgres=# \set data "cat tabledata"
postgres=# \echo :data
cat tabledata
postgres=#
postgres=#