Skip to content

Commit

Permalink
additional changes
Browse files Browse the repository at this point in the history
  • Loading branch information
KushaalShroff committed Jan 24, 2024
1 parent 4251507 commit 498e93e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion contrib/babelfishpg_tds/src/backend/tds/tds_data_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ TdsIoFunctionRawData TdsIoFunctionRawData_data[] =
{"pg_catalog", "tid", TDS_TYPE_VARCHAR, -1, 2, TDS_SEND_VARCHAR, TDS_RECV_INVALID},
{"pg_catalog", "inet", TDS_TYPE_VARCHAR, -1, 2, TDS_SEND_VARCHAR, TDS_RECV_INVALID},
{"pg_catalog", "interval", TDS_TYPE_VARCHAR, -1, 2, TDS_SEND_VARCHAR, TDS_RECV_INVALID},
{"pg_catalog", "bytea", TDS_TYPE_VARBINARY, -1, 2, TDS_SEND_VARBINARY, TDS_RECV_INVALID}
{"pg_catalog", "bytea", TDS_TYPE_VARBINARY, -1, 2, TDS_SEND_VARBINARY, TDS_RECV_INVALID},
{"pg_catalog", "record", TDS_TYPE_VARCHAR, -1, 2, TDS_SEND_VARCHAR, TDS_RECV_INVALID},
{"pg_catalog", "_record", TDS_TYPE_VARCHAR, -1, 2, TDS_SEND_VARCHAR, TDS_RECV_INVALID}
};

size_t TdsIoFunctionRawData_datasize = lengthof(TdsIoFunctionRawData_data);
Original file line number Diff line number Diff line change
Expand Up @@ -1886,7 +1886,7 @@ tsql_index_nulls_order(List *indexParams, const char *accessMethod)
if (indexElem->nulls_ordering != SORTBY_NULLS_DEFAULT)
continue;

/* GIN indexes don't support NULLS FIRST/LAST options */
/* GIN, HNSW and IVFFLAT indexes don't support NULLS FIRST/LAST options */
if (strcmp(accessMethod, "gin") == 0 || strcmp(accessMethod, "hnsw") == 0 || strcmp(accessMethod, "ivfflat") == 0)
return;

Expand Down

0 comments on commit 498e93e

Please sign in to comment.