ALTER DATA LOADER
Changes the properties of a data loader.
Changes the properties of a data loader created with CREATE DATA LOADER.
Syntax
ALTER DATA LOADER [schema.]name {
SET TO copy-statement
| RETRY LIMIT { NONE | DEFAULT | limit }
| RETENTION INTERVAL monitoring-retention
| RENAME TO new-name
}
Arguments
schema
- Schema containing the data loader. The default schema is
public
. name
- Name of the data loader to alter.
-
SET TO copy-statement
- The new COPY statement that the loader executes. The FROM clause typically uses a glob.
-
RETRY LIMIT { NONE | DEFAULT | limit }
- Maximum number of times to retry a failing file. Each time the data loader is executed, it attempts to load all files that have not yet been successfully loaded, up to this per-file limit. If set to DEFAULT, at load time the loader uses the value of the DataLoaderDefaultRetryLimit configuration parameter.
Default:
DEFAULT
-
RETENTION INTERVAL monitoring-retention
- How long to keep records in the monitoring table.
Default:
14 days
-
RENAME TO new-name
- New name for the data loader.
Privileges
Non-superuser:
- USAGE on the schema.
- Owner or ALTER privilege on the data loader.