Re: Relation wide 'LIKE' clause

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Relation wide 'LIKE' clause
Дата
Msg-id bbfeb1aa-d8a9-360b-c26c-7ad8fbbb499d@2ndquadrant.com
обсуждение исходный текст
Ответ на Relation wide 'LIKE' clause  (Georgios <gkokolatos@protonmail.com>)
Ответы Re: Relation wide 'LIKE' clause  (Georgios <gkokolatos@protonmail.com>)
Список pgsql-hackers
On 2020-06-10 11:42, Georgios wrote:
> Postgres create table statement supports `LIKE source_table [like_option... ]`
> to specify `a table from which the new table automatically copies all column
> names, their data types, and their not-null constraints.` according to
> documentation [1].
> 
> I am wondering if a similar clause would make sense to copy relation wide
> settings. For example consider a relation created like this:
> 
> `CREATE TABLE source_table ([column, ...]) USING customam WITH (storage_parameter1 = value1, ... )`

We already have LIKE INCLUDING STORAGE.  Maybe that should just be 
updated to work like what you are asking for.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Khandekar
Дата:
Сообщение: Re: calling procedures is slow and consumes extra much memory againstcalling function
Следующее
От: Georgios
Дата:
Сообщение: Re: Relation wide 'LIKE' clause