forked from timescale/timescaledb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Our errorcodes have a 'IO' prefix from when we were Iobeam. This commit switches that prefix to 'TS' for consistency.
- Loading branch information
1 parent
9747885
commit b43574f
Showing
10 changed files
with
54 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
/* Defines error codes used | ||
-- PREFIX IO | ||
-- PREFIX TS | ||
*/ | ||
|
||
/* | ||
-- IO000 - GROUP: query errors | ||
-- IO001 - hypertable does not exist | ||
-- IO002 - column does not exist | ||
-- TS000 - GROUP: query errors | ||
-- TS001 - hypertable does not exist | ||
-- TS002 - column does not exist | ||
*/ | ||
#define ERRCODE_IO_QUERY_ERRORS MAKE_SQLSTATE('I','O','0','0','0') | ||
#define ERRCODE_IO_HYPERTABLE_NOT_EXIST MAKE_SQLSTATE('I','O','0','0','1') | ||
#define ERRCODE_IO_DIMENSION_NOT_EXIST MAKE_SQLSTATE('I','O','0','0','2') | ||
#define ERRCODE_TS_QUERY_ERRORS MAKE_SQLSTATE('T','S','0','0','0') | ||
#define ERRCODE_TS_HYPERTABLE_NOT_EXIST MAKE_SQLSTATE('T','S','0','0','1') | ||
#define ERRCODE_TS_DIMENSION_NOT_EXIST MAKE_SQLSTATE('T','S','0','0','2') | ||
|
||
/* | ||
--IO100 - GROUP: DDL errors | ||
--IO101 - operation not supported | ||
--IO102 - bad hypertable definition | ||
--IO103 - bad hypertable index definition | ||
--IO110 - hypertable already exists | ||
--I0120 - node already exists | ||
--I0130 - user already exists | ||
--TS100 - GROUP: DDL errors | ||
--TS101 - operation not supported | ||
--TS102 - bad hypertable definition | ||
--TS103 - bad hypertable index definition | ||
--TS110 - hypertable already exists | ||
--TS120 - node already exists | ||
--TS130 - user already exists | ||
*/ | ||
#define ERRCODE_IO_DDL_ERRORS MAKE_SQLSTATE('I','O','1','0','0') | ||
#define ERRCODE_IO_OPERATION_NOT_SUPPORTED MAKE_SQLSTATE('I','O','1','0','1') | ||
#define ERRCODE_IO_BAD_HYPERTABLE_DEFINITION MAKE_SQLSTATE('I','O','1','0','2') | ||
#define ERRCODE_IO_BAD_HYPERTABLE_INDEX_DEFINITION MAKE_SQLSTATE('I','O','1','0','3') | ||
#define ERRCODE_IO_HYPERTABLE_EXISTS MAKE_SQLSTATE('I','O','1','1','0') | ||
#define ERRCODE_IO_NODE_EXISTS MAKE_SQLSTATE('I','O','1','2','0') | ||
#define ERRCODE_IO_USER_EXISTS MAKE_SQLSTATE('I','O','1','3','0') | ||
#define ERRCODE_IO_TABLESPACE_ALREADY_ATTACHED MAKE_SQLSTATE('I','O','1','4','0') | ||
#define ERRCODE_IO_TABLESPACE_NOT_ATTACHED MAKE_SQLSTATE('I','O','1','5','0') | ||
#define ERRCODE_IO_DUPLICATE_DIMENSION MAKE_SQLSTATE('I','O','1','6','0') | ||
#define ERRCODE_TS_DDL_ERRORS MAKE_SQLSTATE('T','S','1','0','0') | ||
#define ERRCODE_TS_OPERATION_NOT_SUPPORTED MAKE_SQLSTATE('T','S','1','0','1') | ||
#define ERRCODE_TS_BAD_HYPERTABLE_DEFINITION MAKE_SQLSTATE('T','S','1','0','2') | ||
#define ERRCODE_TS_BAD_HYPERTABLE_INDEX_DEFINITION MAKE_SQLSTATE('T','S','1','0','3') | ||
#define ERRCODE_TS_HYPERTABLE_EXISTS MAKE_SQLSTATE('T','S','1','1','0') | ||
#define ERRCODE_TS_NODE_EXISTS MAKE_SQLSTATE('T','S','1','2','0') | ||
#define ERRCODE_TS_USER_EXISTS MAKE_SQLSTATE('T','S','1','3','0') | ||
#define ERRCODE_TS_TABLESPACE_ALREADY_ATTACHED MAKE_SQLSTATE('T','S','1','4','0') | ||
#define ERRCODE_TS_TABLESPACE_NOT_ATTACHED MAKE_SQLSTATE('T','S','1','5','0') | ||
#define ERRCODE_TS_DUPLICATE_DIMENSION MAKE_SQLSTATE('T','S','1','6','0') | ||
|
||
/* | ||
--IO500 - GROUP: internal error | ||
--IO501 - unexpected state/event | ||
--IO502 - communication/remote error | ||
*/ | ||
#define ERRCODE_IO_INTERNAL_ERROR MAKE_SQLSTATE('I','O','5','0','0') | ||
#define ERRCODE_IO_UNEXPECTED MAKE_SQLSTATE('I','O','5','0','1') | ||
#define ERRCODE_IO_COMMUNICATION_ERROR MAKE_SQLSTATE('I','O','5','0','2') | ||
#define ERRCODE_TS_INTERNAL_ERROR MAKE_SQLSTATE('T','S','5','0','0') | ||
#define ERRCODE_TS_UNEXPECTED MAKE_SQLSTATE('T','S','5','0','1') | ||
#define ERRCODE_TS_COMMUNICATION_ERROR MAKE_SQLSTATE('T','S','5','0','2') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters