* 1st query is for field information
* 2nd query is keyset gathering
*/
- CVT_APPEND_STR(qb, " where ctid = '(,)';select ctid, oid from ");
+ CVT_APPEND_STR(qb, " where ctid = '(0,0)';select ctid, oid from ");
CVT_APPEND_DATA(qb, qp->statement + qp->from_pos + 5, npos - qp->from_pos - 5);
}
}
qb->load_stmt_len = qb->npos;
if (0 != (qb->flags & FLGB_KEYSET_DRIVEN))
{
- CVT_APPEND_STR(qb, "where ctid = '(,)';select CTID, OID from ");
+ CVT_APPEND_STR(qb, "where ctid = '(0,0)';select CTID, OID from ");
CVT_APPEND_DATA(qb, qp->statement + qp->from_pos + 5, qp->where_pos - qp->from_pos - 5);
}
}
sprintf(selstr, "%s where ctid = '%s' and oid = %u", stmt->load_statement, tidval, oid);
}
else if ((flag & USE_INSERTED_TID) != 0)
- sprintf(selstr, "%s where ctid = currtid(0, '(,)') and oid = %u", stmt->load_statement, oid);
+ sprintf(selstr, "%s where ctid = currtid(0, '(0,0)') and oid = %u", stmt->load_statement, oid);
else
sprintf(selstr, "%s where oid = %u", stmt->load_statement, oid);