Re: loading a funtion script from a file
| От | Andreas Kretschmer |
|---|---|
| Тема | Re: loading a funtion script from a file |
| Дата | |
| Msg-id | 20071121155003.GA5201@KanotixBox обсуждение исходный текст |
| Ответ на | loading a funtion script from a file ("Pau Marc Munoz Torres" <paumarc@gmail.com>) |
| Ответы |
Re: loading a funtion script from a file
|
| Список | pgsql-general |
Pau Marc Munoz Torres <paumarc@gmail.com> schrieb: > Hi > > I've written a sql function in a text file, and now, i would like to upload > into postgresql an execute, is there any command to do it? as far as I know in > mysql exist source command, is there something similar in postgresql? Of course. Start psql and type: \i /path/to/your/script.sql Regards, Andreas -- Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect. (Linus Torvalds) "If I was god, I would recompile penguin with --enable-fly." (unknow) Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°
В списке pgsql-general по дате отправления: