ST_CreateChunkTable

更新时间:
复制 MD 格式

Creates a chunk table in the current PolarDB for PostgreSQL database.

Syntax

boolean ST_CreateChunkTable(cstring tableName)

Parameters

ParameterTypeDescription
tableNamecstringThe name of the chunk table to create. The name must meet all of the following requirements:
  • Starts with a letter and ends with a letter or digit.
  • Contains only lowercase letters, digits, and underscores (_).
  • Is 2 to 64 characters in length.
  • Is unique within the current database.

Return value

Returns true if the chunk table is created successfully.

Examples

Create a chunk table named t_chunk:

SELECT ST_CreateChunkTable('t_chunk');

Output:

t