Timeseries Timescale Dest Column Types
Append into a new hypertable created with custom Postgres column types and table storage options.
- Needs
- timescaledb
- Prerequisite
- public.sensor_typed must not exist yet (the options only apply when the destination creates the table).
- Check
- SELECT column_name, data_type, character_maximum_length, numeric_precision, numeric_scale
FROM information_schema.columns WHERE table_name = 'sensor_typed'; -> well varchar(16), ts timestamptz (default), value numeric(10, 2) SELECT reloptions FROM pg_class WHERE relname = 'sensor_typed'; -> {fillfactor=90}