You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
execute("select * into #{configurator.table_name(*partition_key_values)} from #{configurator.parent_table_name(*partition_key_values)} where false")
119
+
# XXX needs to set search path if parent table is not in search path
120
+
# show search_path
121
+
# set search_path to '$user', 'public', 'bids_partitions';
122
+
123
+
# select * from pg_table_def where tablename = 'bids' and schemaname = 'public';
124
+
## column, type, encoding, distkey, sortkey, not null
125
+
sortkeys=[]
126
+
sql_columns=[]
127
+
128
+
sql="select * from pg_table_def where tablename = '#{configurator.parent_table_name(*partition_key_values)}' and schemaname = '#{configurator.parent_table_schema_name(*partition_key_values)}'"
0 commit comments