Variable + string concatenation? - Mailing list pgsql-novice

From Francisco Reyes
Subject Variable + string concatenation?
Date
Msg-id 20011221165506.L10480-100000@zoraida.natserv.net
Whole thread Raw
List pgsql-novice
How can I concatenate a variable to a string?
Something like:

\set input_directory /dsk2/pg_input/
concatenate input_directory + "filename"

copy horses from :input_directory 'horses.txt' with NULL as '';

I am going to have the "\set" in a file which I am going to "\i" include
into several scripts. This way i would be able to easily change the source
directory for all scripts.


pgsql-novice by date:

Previous
From: Frank Hilliard
Date:
Subject: phpPgAdmin Security hole
Next
From: Vijay Deval
Date:
Subject: Re: Import DB from DOS- dbase4