If I have a TupleTableSlot, and I need to obtain another TupleTableSlot with a different TupleDesc (same fields but different order). Is there a way to do it without that I go myself and try to retrieve the fields and form the tuple myself? In other words, are there functions already in postgres that I can use together to reach this? Regards, --h
"Hicham G. Elmongui" <elmongui@cs.purdue.edu> writes:
> If I have a TupleTableSlot, and I need to obtain another TupleTableSlot with
> a different TupleDesc (same fields but different order). Is there a way to
> do it without that I go myself and try to retrieve the fields and form the
> tuple myself? In other words, are there functions already in postgres that I
> can use together to reach this?
The CVS-tip junkfilter code is a reasonable prototype for this.
regards, tom lane
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера