
# PQGetBatchErrorMessage
#### 功能描述
获取第idx个错误在批量请求里的错误信息（idx起始值从0开始计算）。
#### 原型
```
char* PQGetBatchErrorMessage(PGresult* result, int idx);
```
#### 参数
表1PQGetBatchErrorMessage参数 
| **关键字** | **参数说明**                       |
|:---|:---|
| result  | PQexecPreparedBatchEx的执行结果返回值。 |
| idx     | 指定获取的错误编号（从0开始）。               |
   
#### 返回值
char类型指针。
