Variable + string concatenation?

Поиск
Список
Период
Сортировка
От Francisco Reyes
Тема Variable + string concatenation?
Дата
Msg-id 20011221165506.L10480-100000@zoraida.natserv.net
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Frank Hilliard
Дата:
Сообщение: phpPgAdmin Security hole
Следующее
От: Vijay Deval
Дата:
Сообщение: Re: Import DB from DOS- dbase4