Where is the char and varchar length in pg_catalog for function input variables
В списке pgsql-general по дате отправления:
| От | jam3 |
|---|---|
| Тема | Where is the char and varchar length in pg_catalog for function input variables |
| Дата | |
| Msg-id | 1346859641085-5722845.post@n5.nabble.com обсуждение исходный текст |
| Ответы |
Re: Where is the char and varchar length in pg_catalog for function input variables
Re: Where is the char and varchar length in pg_catalog for function input variables |
| Список | pgsql-general |
I have searched and searched and just cannot find the maximum lengths for
input variables in a function
i.e.
CREATE FUNCTION test(input1 char(5), input2 varchar(50))
RETURNS void AS
$$RAISE NOTICE('%,%'), $1, $2;$$
LANGUAGE plpgsql;
Where do I find the 5 and the 50 it has to be somewhere I have searched
through
pg_proc
pg_type
pg_attribute (whose attlen only relates to tables)
pg_type
and all possible manner of joining these tables.
--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Where-is-the-char-and-varchar-length-in-pg-catalog-for-function-input-variables-tp5722845.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера