Re: Including SQL files

Поиск
Список
Период
Сортировка
От Victor Yegorov
Тема Re: Including SQL files
Дата
Msg-id CAGnEbohPqmuPXhAAG12xVsuv7Mru37GhUPeXMst_EUYViG2vHQ@mail.gmail.com
обсуждение исходный текст
Ответ на Including SQL files  (Alexander Farber <alexander.farber@gmail.com>)
Ответы Re: Including SQL files  (Alexander Farber <alexander.farber@gmail.com>)
Список pgsql-general
2016-03-21 16:42 GMT+02:00 Alexander Farber <alexander.farber@gmail.com>:
I would prefer to have every stored function in a separate file (which would make reading git history easier too) and include them from words.sql.

Is there such a thing for PostgreSQL 9.5.1 available please and if not - could you share your approaches here?

If you're processing your files with Postgres' `psql` tool, you can use `\i` directive to include other files.


--
Victor Y. Yegorov

В списке pgsql-general по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Including SQL files
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Including SQL files