Hi, I've been trying to sort a column that performs some calculations, but postgres says this: ERROR: invalid attnum:
-12851.I was searching on the source code, and I guess the error araises around this macro: <br />/*<br /> * Copy
thegiven tuple into memory we control, and decrease availMem.<br /> * Then call the common code.<br /> */<br
/> COPYTUP(state, &stup, (void *) slot);<br /><br />So, I'd like to know what COPYTUP does?, what is availMem?,
Howcan I tell postgres it is a valid attnum?<br /><br />Thanks for any help!!!!<br />