| От | Tom Lane |
|---|---|
| Тема | Re: An strftime function, and function name question |
| Дата | |
| Msg-id | 18468.981992306@sss.pgh.pa.us обсуждение |
| Ответ на | An strftime function, and function name question (Christopher Masto <chris@netmonger.net>) |
| Ответы |
Re: An strftime function, and function name question
|
| Список | pgsql-interfaces |
Christopher Masto <chris@netmonger.net> writes: > It would be nice if there were something like: > CREATE FUNCTION strftime(int4, varchar) RETURNS varchar AS > '/usr/local/pgsql/lib/strftime.so' LANGUAGE 'c' > USING C FUNCTION 'c_strftime'; > I.e. some way to say "here's the name of the function in the library". See the CREATE FUNCTION reference page, http://www.postgresql.org/users-lounge/docs/7.0/postgres/sql-createfunction.htm concerning link symbols that are different from the SQL name of the function. If you're using something older than 7.0, time to upgrade ... regards, tom lane
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера