The getFilePad() function

Returns a SPUPad object of the specified name.

Syntax

The function has the following syntax:
extern CPad* getFilePad(const char* strName)

Description

The function returns a SPUPad object that was created in a file-backed memory area, or creates a SPUPad object in a file-backed memory area if it does not already exist. The Netezza Performance Server system is responsible for cleaning up and freeing all objects that are allocated by using the pad when the current transaction ends.

In general, you should use getMemPad() to create a SPUPad, but in some cases, there may not be enough memory for the SPUPad and the UDF could fail with out-of-memory errors. If this occurs, consider rewriting the SPUPad code to use the getFilePad() function and use a file-backed memory area instead.