Re: call by reference vs call by value

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: call by reference vs call by value
Дата
Msg-id CAFj8pRBXW4O8VPghNG2Q-x8O+_5YvrZDOu6FegVg0K8OaaxErg@mail.gmail.com
обсуждение исходный текст
Ответ на call by reference vs call by value  (Michael Moore <michaeljmoore@gmail.com>)
Список pgsql-sql
Hi

2015-12-08 20:07 GMT+01:00 Michael Moore <michaeljmoore@gmail.com>:
How are variables in pg/psql functions passed? I'm sure this is documented somewhere. I looked but no joy. A link would be great! TIA

It is simply - small values are passed by value (to 8bytes), bigger are passed as reference - but all is internal and cannot be controlled from user space.
Search keywords "varlena", "datum", "toast"


Regards

Pavel




 
Mike


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

Предыдущее
От: Michael Moore
Дата:
Сообщение: Re: call by reference vs call by value
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: call by reference vs call by value