pt_refsys_type
ptrb edited this page Jun 9, 2013
·
3 revisions
pt_refsys_type( PostTIME ) : integer
Get the type of an instance's reference system. Result is an integer according to the following enumeration:
Type | Return |
---|---|
CAL | 1 |
TCS | 2 |
ORD | 3 |
SELECT pt_refsys_type('CAL0012013-12-24T12');
-- result
1
SELECT pt_refsys_type('CAL0022013-12-24T12');
-- result
1
SELECT pt_refsys_type('ORD001Triassic');
-- result
3
| CAL | TCS | ORD ---|---|---|--- TM_Instant | ✔ | ✔ | ✔ TM_Period | ✔ | ✔ | ✔ MultiInstant | ✔ | ✔ | ✔ MultiPeriod | ✔ | ✔ | ✔ RegularMultiInstant | ✔ | ✔ | - RegularMultiPerid | ✔ | ✔ | - ✔ : Processable
✗ : Call will cause an error
∼ : Callable without error, but returns only a pseudo result