aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2025-02-19 15:50:37 +0900
committerMichael Paquier <michael@paquier.xyz>2025-02-19 15:50:37 +0900
commit302cf15759233e654512979286ce1a5c3b36625f (patch)
tree8a50d33c7dbff5f10f1fabb8ff6a74efcc1d76b2 /src/backend/executor/nodeModifyTable.c
parente7563e3c75a83898eff495533b4736093c73778a (diff)
downloadpostgresql-302cf15759233e654512979286ce1a5c3b36625f.tar.gz
postgresql-302cf15759233e654512979286ce1a5c3b36625f.zip
Add support for LIKE in CREATE FOREIGN TABLE
LIKE enables the creation of foreign tables based on the column definitions, constraints and objects of the defined source relation(s). This feature mirrors the behavior of CREATE TABLE LIKE, but ignores the INCLUDING sub-options that do not make sense for foreign tables: INDEXES, COMPRESSION, IDENTITY and STORAGE. The supported sub-options are COMMENTS, CONSTRAINTS, DEFAULTS, GENERATED and STATISTICS, mapping with the clauses already supported by the command. Note that the restriction with LIKE in CREATE FOREIGN TABLE was added in a0c6dfeecfcc. Author: Zhang Mingli Reviewed-by: Álvaro Herrera, Sami Imseih, Michael Paquier Discussion: https://postgr.es/m/42d3f855-2275-4361-a42a-826172ca2dc4@Spark
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions