Erik Nordström 4df8f287a6 Add proper permissions handling for associated (chunk) schemas
A hypertable's associated schema is used to create and store internal
data tables (chunks). A hypertable creates tables in that schema,
typically with full superuser permissions, regardless of whether the
hypertable's owner or the current user have permissions for the schema.
If the schema doesn't exist, the hypertable will create it when
creating the first chunk, even though the user or table owner does
not have permissions to create schemas in the database.

This change adds proper permissions checks to create_hypertable() so
that users cannot create hypertables with a custom associated schema
unless they have the proper permissions on the schema or the database.

Chunks are also no longer created with internal schema permissions if
the associated schema is something different from the internal schema.
2017-12-28 11:24:29 +01:00
..
2017-10-03 10:51:32 +02:00
2017-07-13 09:04:01 -04:00
2017-07-31 13:27:01 -04:00
2017-08-21 13:57:36 -04:00
2017-09-04 15:48:08 -04:00
2017-09-20 12:10:48 -04:00
2017-10-12 13:56:03 -04:00
2017-11-07 21:16:58 -05:00
2017-11-21 14:37:57 -05:00
2017-12-19 20:52:32 -05:00