duckdb 0.10.3-dev0.0 → 0.10.3-dev13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/NodeJS.yml +95 -4
- package/binding.gyp +4 -5
- package/examples/example.js +10 -0
- package/lib/duckdb.js +11 -0
- package/package.json +1 -1
- package/src/database.cpp +3 -3
- package/src/duckdb/extension/icu/icu_extension.cpp +44 -15
- package/src/duckdb/extension/icu/include/icu_extension.hpp +1 -0
- package/src/duckdb/extension/icu/third_party/icu/i18n/basictz.cpp +5 -5
- package/src/duckdb/extension/json/include/json_common.hpp +6 -1
- package/src/duckdb/extension/json/include/json_executors.hpp +5 -5
- package/src/duckdb/extension/json/include/json_extension.hpp +1 -0
- package/src/duckdb/extension/json/include/json_functions.hpp +2 -2
- package/src/duckdb/extension/json/include/json_serializer.hpp +2 -2
- package/src/duckdb/extension/json/json_common.cpp +69 -43
- package/src/duckdb/extension/json/json_extension.cpp +8 -0
- package/src/duckdb/extension/json/json_functions/copy_json.cpp +17 -16
- package/src/duckdb/extension/json/json_functions/json_create.cpp +3 -1
- package/src/duckdb/extension/json/json_functions/json_structure.cpp +18 -13
- package/src/duckdb/extension/json/json_functions/json_transform.cpp +4 -0
- package/src/duckdb/extension/json/json_functions/json_type.cpp +2 -2
- package/src/duckdb/extension/json/json_functions/read_json.cpp +14 -11
- package/src/duckdb/extension/json/json_functions/read_json_objects.cpp +11 -8
- package/src/duckdb/extension/json/json_functions.cpp +4 -3
- package/src/duckdb/extension/json/json_scan.cpp +21 -11
- package/src/duckdb/extension/parquet/column_reader.cpp +9 -5
- package/src/duckdb/extension/parquet/column_writer.cpp +31 -18
- package/src/duckdb/extension/parquet/include/column_writer.hpp +1 -0
- package/src/duckdb/extension/parquet/include/null_column_reader.hpp +54 -0
- package/src/duckdb/extension/parquet/include/parquet_extension.hpp +1 -0
- package/src/duckdb/extension/parquet/include/parquet_reader.hpp +1 -1
- package/src/duckdb/extension/parquet/include/parquet_writer.hpp +7 -2
- package/src/duckdb/extension/parquet/include/templated_column_reader.hpp +6 -1
- package/src/duckdb/extension/parquet/parquet_crypto.cpp +8 -6
- package/src/duckdb/extension/parquet/parquet_extension.cpp +278 -127
- package/src/duckdb/extension/parquet/parquet_metadata.cpp +39 -37
- package/src/duckdb/extension/parquet/parquet_reader.cpp +7 -4
- package/src/duckdb/extension/parquet/parquet_statistics.cpp +5 -4
- package/src/duckdb/extension/parquet/parquet_writer.cpp +55 -2
- package/src/duckdb/extension/parquet/serialize_parquet.cpp +2 -2
- package/src/duckdb/src/catalog/catalog.cpp +19 -39
- package/src/duckdb/src/catalog/catalog_entry/duck_index_entry.cpp +6 -6
- package/src/duckdb/src/catalog/catalog_entry/duck_schema_entry.cpp +47 -31
- package/src/duckdb/src/catalog/catalog_entry/duck_table_entry.cpp +84 -52
- package/src/duckdb/src/catalog/catalog_entry/index_catalog_entry.cpp +4 -2
- package/src/duckdb/src/catalog/catalog_entry/macro_catalog_entry.cpp +4 -0
- package/src/duckdb/src/catalog/catalog_entry/schema_catalog_entry.cpp +7 -0
- package/src/duckdb/src/catalog/catalog_entry/sequence_catalog_entry.cpp +4 -1
- package/src/duckdb/src/catalog/catalog_entry/table_catalog_entry.cpp +36 -15
- package/src/duckdb/src/catalog/catalog_entry/type_catalog_entry.cpp +7 -1
- package/src/duckdb/src/catalog/catalog_entry/view_catalog_entry.cpp +5 -1
- package/src/duckdb/src/catalog/catalog_entry.cpp +7 -0
- package/src/duckdb/src/catalog/catalog_entry_retriever.cpp +64 -0
- package/src/duckdb/src/catalog/catalog_set.cpp +32 -17
- package/src/duckdb/src/catalog/default/default_functions.cpp +2 -1
- package/src/duckdb/src/catalog/default/default_views.cpp +1 -1
- package/src/duckdb/src/catalog/dependency_manager.cpp +133 -9
- package/src/duckdb/src/catalog/duck_catalog.cpp +5 -0
- package/src/duckdb/src/common/adbc/nanoarrow/allocator.cpp +2 -2
- package/src/duckdb/src/common/adbc/nanoarrow/metadata.cpp +3 -3
- package/src/duckdb/src/common/adbc/nanoarrow/schema.cpp +7 -6
- package/src/duckdb/src/common/allocator.cpp +6 -2
- package/src/duckdb/src/common/arrow/appender/bool_data.cpp +1 -0
- package/src/duckdb/src/common/arrow/appender/struct_data.cpp +1 -1
- package/src/duckdb/src/common/arrow/appender/union_data.cpp +2 -1
- package/src/duckdb/src/common/arrow/arrow_appender.cpp +7 -5
- package/src/duckdb/src/common/arrow/arrow_converter.cpp +3 -5
- package/src/duckdb/src/common/arrow/arrow_wrapper.cpp +1 -1
- package/src/duckdb/src/common/box_renderer.cpp +6 -3
- package/src/duckdb/src/common/compressed_file_system.cpp +11 -7
- package/src/duckdb/src/common/enum_util.cpp +259 -17
- package/src/duckdb/src/common/enums/logical_operator_type.cpp +2 -0
- package/src/duckdb/src/common/enums/physical_operator_type.cpp +2 -0
- package/src/duckdb/src/common/enums/relation_type.cpp +2 -0
- package/src/duckdb/src/common/enums/statement_type.cpp +2 -0
- package/src/duckdb/src/common/error_data.cpp +17 -2
- package/src/duckdb/src/common/exception_format_value.cpp +1 -0
- package/src/duckdb/src/common/extra_type_info.cpp +86 -8
- package/src/duckdb/src/common/file_system.cpp +39 -7
- package/src/duckdb/src/common/gzip_file_system.cpp +38 -14
- package/src/duckdb/src/common/hive_partitioning.cpp +28 -76
- package/src/duckdb/src/common/http_state.cpp +4 -4
- package/src/duckdb/src/common/local_file_system.cpp +34 -12
- package/src/duckdb/src/common/multi_file_list.cpp +285 -0
- package/src/duckdb/src/common/multi_file_reader.cpp +115 -80
- package/src/duckdb/src/common/operator/cast_operators.cpp +27 -225
- package/src/duckdb/src/common/operator/string_cast.cpp +13 -14
- package/src/duckdb/src/common/pipe_file_system.cpp +3 -2
- package/src/duckdb/src/common/printer.cpp +1 -1
- package/src/duckdb/src/common/progress_bar/progress_bar.cpp +1 -1
- package/src/duckdb/src/common/random_engine.cpp +2 -1
- package/src/duckdb/src/common/re2_regex.cpp +6 -4
- package/src/duckdb/src/common/row_operations/row_aggregate.cpp +10 -10
- package/src/duckdb/src/common/row_operations/row_external.cpp +4 -3
- package/src/duckdb/src/common/row_operations/row_heap_gather.cpp +5 -3
- package/src/duckdb/src/common/row_operations/row_heap_scatter.cpp +17 -4
- package/src/duckdb/src/common/row_operations/row_radix_scatter.cpp +1 -1
- package/src/duckdb/src/common/serializer/buffered_file_reader.cpp +4 -4
- package/src/duckdb/src/common/serializer/buffered_file_writer.cpp +9 -8
- package/src/duckdb/src/common/serializer/memory_stream.cpp +6 -3
- package/src/duckdb/src/common/serializer/serializer.cpp +1 -1
- package/src/duckdb/src/common/sort/comparators.cpp +1 -1
- package/src/duckdb/src/common/sort/merge_sorter.cpp +2 -2
- package/src/duckdb/src/common/sort/partition_state.cpp +6 -6
- package/src/duckdb/src/common/sort/radix_sort.cpp +1 -1
- package/src/duckdb/src/common/sort/sort_state.cpp +3 -3
- package/src/duckdb/src/common/sort/sorted_block.cpp +5 -5
- package/src/duckdb/src/common/string_util.cpp +70 -163
- package/src/duckdb/src/common/types/bit.cpp +1 -1
- package/src/duckdb/src/common/types/blob.cpp +3 -3
- package/src/duckdb/src/common/types/cast_helpers.cpp +197 -0
- package/src/duckdb/src/common/types/column/column_data_collection.cpp +17 -9
- package/src/duckdb/src/common/types/column/column_data_collection_segment.cpp +1 -1
- package/src/duckdb/src/common/types/column/partitioned_column_data.cpp +13 -5
- package/src/duckdb/src/common/types/conflict_info.cpp +1 -1
- package/src/duckdb/src/common/types/conflict_manager.cpp +1 -1
- package/src/duckdb/src/common/types/data_chunk.cpp +1 -1
- package/src/duckdb/src/common/types/date.cpp +2 -2
- package/src/duckdb/src/common/types/decimal.cpp +12 -12
- package/src/duckdb/src/common/types/hash.cpp +1 -1
- package/src/duckdb/src/common/types/hugeint.cpp +10 -9
- package/src/duckdb/src/common/types/row/partitioned_tuple_data.cpp +4 -4
- package/src/duckdb/src/common/types/row/row_data_collection_scanner.cpp +6 -5
- package/src/duckdb/src/common/types/row/tuple_data_allocator.cpp +21 -18
- package/src/duckdb/src/common/types/row/tuple_data_collection.cpp +2 -2
- package/src/duckdb/src/common/types/row/tuple_data_segment.cpp +7 -0
- package/src/duckdb/src/common/types/string_heap.cpp +4 -0
- package/src/duckdb/src/common/types/timestamp.cpp +23 -1
- package/src/duckdb/src/common/types/uhugeint.cpp +1 -1
- package/src/duckdb/src/common/types/uuid.cpp +7 -6
- package/src/duckdb/src/common/types/value.cpp +54 -30
- package/src/duckdb/src/common/types/vector.cpp +71 -96
- package/src/duckdb/src/common/types/vector_buffer.cpp +4 -0
- package/src/duckdb/src/common/types/vector_cache.cpp +3 -3
- package/src/duckdb/src/common/types.cpp +124 -18
- package/src/duckdb/src/common/vector_operations/generators.cpp +4 -16
- package/src/duckdb/src/common/vector_operations/is_distinct_from.cpp +20 -0
- package/src/duckdb/src/common/vector_operations/null_operations.cpp +1 -1
- package/src/duckdb/src/common/vector_operations/numeric_inplace_operators.cpp +2 -2
- package/src/duckdb/src/core_functions/aggregate/distributive/approx_count.cpp +1 -1
- package/src/duckdb/src/core_functions/aggregate/distributive/arg_min_max.cpp +13 -6
- package/src/duckdb/src/core_functions/aggregate/distributive/bitagg.cpp +8 -5
- package/src/duckdb/src/core_functions/aggregate/distributive/bitstring_agg.cpp +2 -2
- package/src/duckdb/src/core_functions/aggregate/distributive/sum.cpp +2 -2
- package/src/duckdb/src/core_functions/aggregate/holistic/approximate_quantile.cpp +14 -3
- package/src/duckdb/src/core_functions/aggregate/holistic/mode.cpp +2 -2
- package/src/duckdb/src/core_functions/aggregate/holistic/quantile.cpp +19 -8
- package/src/duckdb/src/core_functions/aggregate/holistic/reservoir_quantile.cpp +14 -8
- package/src/duckdb/src/core_functions/function_list.cpp +2 -1
- package/src/duckdb/src/core_functions/lambda_functions.cpp +2 -2
- package/src/duckdb/src/core_functions/scalar/array/array_functions.cpp +5 -0
- package/src/duckdb/src/core_functions/scalar/bit/bitstring.cpp +4 -4
- package/src/duckdb/src/core_functions/scalar/blob/create_sort_key.cpp +3 -2
- package/src/duckdb/src/core_functions/scalar/date/date_part.cpp +2 -2
- package/src/duckdb/src/core_functions/scalar/date/epoch.cpp +17 -0
- package/src/duckdb/src/core_functions/scalar/date/strftime.cpp +1 -1
- package/src/duckdb/src/core_functions/scalar/date/to_interval.cpp +19 -0
- package/src/duckdb/src/core_functions/scalar/debug/vector_type.cpp +6 -5
- package/src/duckdb/src/core_functions/scalar/generic/current_setting.cpp +2 -3
- package/src/duckdb/src/core_functions/scalar/generic/system_functions.cpp +2 -2
- package/src/duckdb/src/core_functions/scalar/list/array_slice.cpp +30 -21
- package/src/duckdb/src/core_functions/scalar/list/list_reduce.cpp +1 -1
- package/src/duckdb/src/core_functions/scalar/list/list_sort.cpp +3 -3
- package/src/duckdb/src/core_functions/scalar/list/list_value.cpp +1 -1
- package/src/duckdb/src/core_functions/scalar/list/range.cpp +2 -2
- package/src/duckdb/src/core_functions/scalar/map/map.cpp +44 -14
- package/src/duckdb/src/core_functions/scalar/map/map_concat.cpp +17 -4
- package/src/duckdb/src/core_functions/scalar/map/map_entries.cpp +30 -13
- package/src/duckdb/src/core_functions/scalar/map/map_extract.cpp +25 -12
- package/src/duckdb/src/core_functions/scalar/map/map_keys_values.cpp +16 -4
- package/src/duckdb/src/core_functions/scalar/math/numeric.cpp +2 -2
- package/src/duckdb/src/core_functions/scalar/operators/bitwise.cpp +2 -2
- package/src/duckdb/src/core_functions/scalar/random/setseed.cpp +1 -1
- package/src/duckdb/src/core_functions/scalar/string/bar.cpp +1 -1
- package/src/duckdb/src/core_functions/scalar/string/chr.cpp +2 -2
- package/src/duckdb/src/core_functions/scalar/string/hex.cpp +13 -13
- package/src/duckdb/src/core_functions/scalar/string/instr.cpp +1 -1
- package/src/duckdb/src/core_functions/scalar/string/pad.cpp +8 -8
- package/src/duckdb/src/core_functions/scalar/string/repeat.cpp +15 -7
- package/src/duckdb/src/core_functions/scalar/string/string_split.cpp +1 -1
- package/src/duckdb/src/core_functions/scalar/string/to_base.cpp +1 -1
- package/src/duckdb/src/core_functions/scalar/string/translate.cpp +4 -4
- package/src/duckdb/src/core_functions/scalar/string/trim.cpp +13 -9
- package/src/duckdb/src/core_functions/scalar/string/unicode.cpp +1 -1
- package/src/duckdb/src/execution/adaptive_filter.cpp +1 -1
- package/src/duckdb/src/execution/aggregate_hashtable.cpp +17 -8
- package/src/duckdb/src/execution/index/art/art.cpp +6 -6
- package/src/duckdb/src/execution/index/bound_index.cpp +115 -0
- package/src/duckdb/src/execution/index/unbound_index.cpp +30 -0
- package/src/duckdb/src/execution/join_hashtable.cpp +2 -1
- package/src/duckdb/src/execution/operator/aggregate/aggregate_object.cpp +1 -1
- package/src/duckdb/src/execution/operator/aggregate/distinct_aggregate_data.cpp +1 -1
- package/src/duckdb/src/execution/operator/aggregate/physical_hash_aggregate.cpp +3 -3
- package/src/duckdb/src/execution/operator/aggregate/physical_streaming_window.cpp +40 -5
- package/src/duckdb/src/execution/operator/aggregate/physical_ungrouped_aggregate.cpp +2 -2
- package/src/duckdb/src/execution/operator/aggregate/physical_window.cpp +16 -3
- package/src/duckdb/src/execution/operator/csv_scanner/buffer_manager/csv_buffer.cpp +4 -4
- package/src/duckdb/src/execution/operator/csv_scanner/buffer_manager/csv_buffer_manager.cpp +2 -12
- package/src/duckdb/src/execution/operator/csv_scanner/buffer_manager/csv_file_handle.cpp +2 -1
- package/src/duckdb/src/execution/operator/csv_scanner/scanner/base_scanner.cpp +21 -5
- package/src/duckdb/src/execution/operator/csv_scanner/scanner/column_count_scanner.cpp +1 -1
- package/src/duckdb/src/execution/operator/csv_scanner/scanner/string_value_scanner.cpp +312 -260
- package/src/duckdb/src/execution/operator/csv_scanner/sniffer/csv_sniffer.cpp +2 -2
- package/src/duckdb/src/execution/operator/csv_scanner/sniffer/dialect_detection.cpp +45 -16
- package/src/duckdb/src/execution/operator/csv_scanner/sniffer/header_detection.cpp +19 -18
- package/src/duckdb/src/execution/operator/csv_scanner/sniffer/type_detection.cpp +200 -55
- package/src/duckdb/src/execution/operator/csv_scanner/table_function/csv_file_scanner.cpp +26 -23
- package/src/duckdb/src/execution/operator/csv_scanner/table_function/global_csv_state.cpp +12 -12
- package/src/duckdb/src/execution/operator/csv_scanner/util/csv_error.cpp +7 -7
- package/src/duckdb/src/execution/operator/csv_scanner/util/csv_reader_options.cpp +31 -22
- package/src/duckdb/src/execution/operator/helper/physical_buffered_collector.cpp +1 -1
- package/src/duckdb/src/execution/operator/helper/physical_execute.cpp +1 -1
- package/src/duckdb/src/execution/operator/helper/physical_load.cpp +24 -2
- package/src/duckdb/src/execution/operator/helper/physical_reservoir_sample.cpp +1 -1
- package/src/duckdb/src/execution/operator/helper/physical_update_extensions.cpp +57 -0
- package/src/duckdb/src/execution/operator/helper/physical_verify_vector.cpp +13 -8
- package/src/duckdb/src/execution/operator/join/physical_asof_join.cpp +2 -2
- package/src/duckdb/src/execution/operator/join/physical_hash_join.cpp +9 -9
- package/src/duckdb/src/execution/operator/join/physical_iejoin.cpp +4 -4
- package/src/duckdb/src/execution/operator/join/physical_left_delim_join.cpp +1 -1
- package/src/duckdb/src/execution/operator/join/physical_piecewise_merge_join.cpp +2 -2
- package/src/duckdb/src/execution/operator/join/physical_range_join.cpp +2 -2
- package/src/duckdb/src/execution/operator/order/physical_order.cpp +3 -2
- package/src/duckdb/src/execution/operator/persistent/physical_batch_copy_to_file.cpp +4 -4
- package/src/duckdb/src/execution/operator/persistent/physical_batch_insert.cpp +20 -13
- package/src/duckdb/src/execution/operator/persistent/physical_copy_database.cpp +3 -1
- package/src/duckdb/src/execution/operator/persistent/physical_copy_to_file.cpp +73 -60
- package/src/duckdb/src/execution/operator/persistent/physical_delete.cpp +18 -7
- package/src/duckdb/src/execution/operator/persistent/physical_export.cpp +88 -12
- package/src/duckdb/src/execution/operator/persistent/physical_insert.cpp +47 -27
- package/src/duckdb/src/execution/operator/persistent/physical_update.cpp +34 -9
- package/src/duckdb/src/execution/operator/projection/physical_unnest.cpp +3 -0
- package/src/duckdb/src/execution/operator/scan/physical_column_data_scan.cpp +2 -3
- package/src/duckdb/src/execution/operator/scan/physical_expression_scan.cpp +22 -7
- package/src/duckdb/src/execution/operator/schema/physical_attach.cpp +1 -1
- package/src/duckdb/src/execution/operator/schema/physical_create_art_index.cpp +9 -9
- package/src/duckdb/src/execution/operator/set/physical_recursive_cte.cpp +1 -1
- package/src/duckdb/src/execution/perfect_aggregate_hashtable.cpp +5 -4
- package/src/duckdb/src/execution/physical_operator.cpp +2 -2
- package/src/duckdb/src/execution/physical_plan/plan_column_data_get.cpp +2 -4
- package/src/duckdb/src/execution/physical_plan/plan_comparison_join.cpp +1 -1
- package/src/duckdb/src/execution/physical_plan/plan_copy_to_file.cpp +2 -2
- package/src/duckdb/src/execution/physical_plan/plan_create_table.cpp +2 -2
- package/src/duckdb/src/execution/physical_plan/plan_cte.cpp +1 -1
- package/src/duckdb/src/execution/physical_plan/plan_delete.cpp +2 -2
- package/src/duckdb/src/execution/physical_plan/plan_delim_get.cpp +2 -2
- package/src/duckdb/src/execution/physical_plan/plan_distinct.cpp +1 -0
- package/src/duckdb/src/execution/physical_plan/plan_expression_get.cpp +4 -5
- package/src/duckdb/src/execution/physical_plan/plan_insert.cpp +6 -5
- package/src/duckdb/src/execution/physical_plan/plan_recursive_cte.cpp +1 -1
- package/src/duckdb/src/execution/physical_plan/plan_simple.cpp +4 -0
- package/src/duckdb/src/execution/physical_plan/plan_top_n.cpp +2 -2
- package/src/duckdb/src/execution/physical_plan/plan_update.cpp +3 -3
- package/src/duckdb/src/execution/physical_plan/plan_window.cpp +1 -24
- package/src/duckdb/src/execution/physical_plan_generator.cpp +3 -0
- package/src/duckdb/src/execution/radix_partitioned_hashtable.cpp +38 -33
- package/src/duckdb/src/execution/reservoir_sample.cpp +42 -31
- package/src/duckdb/src/execution/window_executor.cpp +39 -39
- package/src/duckdb/src/execution/window_segment_tree.cpp +5 -2
- package/src/duckdb/src/function/aggregate/distributive/first.cpp +1 -1
- package/src/duckdb/src/function/cast/string_cast.cpp +3 -3
- package/src/duckdb/src/function/cast_rules.cpp +1 -0
- package/src/duckdb/src/function/function.cpp +2 -2
- package/src/duckdb/src/function/function_binder.cpp +9 -4
- package/src/duckdb/src/function/pragma/pragma_functions.cpp +2 -1
- package/src/duckdb/src/function/pragma/pragma_queries.cpp +4 -3
- package/src/duckdb/src/function/scalar/compressed_materialization/compress_string.cpp +1 -1
- package/src/duckdb/src/function/scalar/list/list_extract.cpp +3 -2
- package/src/duckdb/src/function/scalar/list/list_resize.cpp +1 -1
- package/src/duckdb/src/function/scalar/list/list_select.cpp +11 -4
- package/src/duckdb/src/function/scalar/list/list_zip.cpp +3 -1
- package/src/duckdb/src/function/scalar/operators/add.cpp +19 -9
- package/src/duckdb/src/function/scalar/sequence/nextval.cpp +77 -48
- package/src/duckdb/src/function/scalar/strftime_format.cpp +61 -39
- package/src/duckdb/src/function/scalar/string/caseconvert.cpp +12 -12
- package/src/duckdb/src/function/scalar/string/contains.cpp +2 -2
- package/src/duckdb/src/function/scalar/string/length.cpp +9 -9
- package/src/duckdb/src/function/scalar/string/regexp/regexp_extract_all.cpp +2 -2
- package/src/duckdb/src/function/scalar/string/strip_accents.cpp +2 -1
- package/src/duckdb/src/function/scalar/string/substring.cpp +11 -9
- package/src/duckdb/src/function/scalar/struct/struct_extract.cpp +2 -2
- package/src/duckdb/src/function/scalar_function.cpp +2 -1
- package/src/duckdb/src/function/table/arrow.cpp +18 -4
- package/src/duckdb/src/function/table/arrow_conversion.cpp +88 -66
- package/src/duckdb/src/function/table/copy_csv.cpp +94 -28
- package/src/duckdb/src/function/table/glob.cpp +17 -9
- package/src/duckdb/src/function/table/read_csv.cpp +37 -14
- package/src/duckdb/src/function/table/read_file.cpp +6 -2
- package/src/duckdb/src/function/table/repeat.cpp +5 -1
- package/src/duckdb/src/function/table/repeat_row.cpp +1 -1
- package/src/duckdb/src/function/table/sniff_csv.cpp +9 -3
- package/src/duckdb/src/function/table/system/duckdb_columns.cpp +3 -3
- package/src/duckdb/src/function/table/system/duckdb_constraints.cpp +31 -16
- package/src/duckdb/src/function/table/system/duckdb_databases.cpp +6 -1
- package/src/duckdb/src/function/table/system/duckdb_dependencies.cpp +2 -2
- package/src/duckdb/src/function/table/system/duckdb_extensions.cpp +50 -9
- package/src/duckdb/src/function/table/system/duckdb_functions.cpp +8 -2
- package/src/duckdb/src/function/table/system/duckdb_indexes.cpp +9 -4
- package/src/duckdb/src/function/table/system/duckdb_memory.cpp +2 -2
- package/src/duckdb/src/function/table/system/duckdb_schemas.cpp +7 -2
- package/src/duckdb/src/function/table/system/duckdb_sequences.cpp +8 -3
- package/src/duckdb/src/function/table/system/duckdb_tables.cpp +18 -10
- package/src/duckdb/src/function/table/system/duckdb_temporary_files.cpp +1 -1
- package/src/duckdb/src/function/table/system/duckdb_types.cpp +12 -5
- package/src/duckdb/src/function/table/system/duckdb_views.cpp +9 -4
- package/src/duckdb/src/function/table/system/duckdb_which_secret.cpp +75 -0
- package/src/duckdb/src/function/table/system/pragma_database_size.cpp +4 -4
- package/src/duckdb/src/function/table/system/pragma_metadata_info.cpp +3 -3
- package/src/duckdb/src/function/table/system/pragma_storage_info.cpp +6 -6
- package/src/duckdb/src/function/table/system_functions.cpp +1 -0
- package/src/duckdb/src/function/table/table_scan.cpp +11 -20
- package/src/duckdb/src/function/table/unnest.cpp +1 -1
- package/src/duckdb/src/function/table/version/pragma_version.cpp +5 -5
- package/src/duckdb/src/function/table_function.cpp +5 -4
- package/src/duckdb/src/include/duckdb/catalog/catalog.hpp +1 -10
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/duck_index_entry.hpp +1 -1
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/duck_schema_entry.hpp +2 -2
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/duck_table_entry.hpp +6 -8
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/function_entry.hpp +1 -0
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/schema_catalog_entry.hpp +3 -2
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/sequence_catalog_entry.hpp +2 -5
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/table_catalog_entry.hpp +3 -4
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/type_catalog_entry.hpp +2 -0
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry.hpp +4 -0
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry_retriever.hpp +72 -0
- package/src/duckdb/src/include/duckdb/catalog/catalog_transaction.hpp +3 -0
- package/src/duckdb/src/include/duckdb/catalog/dependency.hpp +4 -0
- package/src/duckdb/src/include/duckdb/catalog/dependency_list.hpp +7 -1
- package/src/duckdb/src/include/duckdb/catalog/dependency_manager.hpp +2 -2
- package/src/duckdb/src/include/duckdb/catalog/standard_entry.hpp +2 -0
- package/src/duckdb/src/include/duckdb/common/arrow/appender/append_data.hpp +1 -0
- package/src/duckdb/src/include/duckdb/common/arrow/appender/enum_data.hpp +3 -3
- package/src/duckdb/src/include/duckdb/common/arrow/appender/map_data.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/arrow/appender/scalar_data.hpp +15 -0
- package/src/duckdb/src/include/duckdb/common/arrow/appender/varchar_data.hpp +3 -2
- package/src/duckdb/src/include/duckdb/common/bit_utils.hpp +63 -98
- package/src/duckdb/src/include/duckdb/common/bitpacking.hpp +4 -4
- package/src/duckdb/src/include/duckdb/common/constants.hpp +2 -0
- package/src/duckdb/src/include/duckdb/common/enable_shared_from_this_ipp.hpp +42 -0
- package/src/duckdb/src/include/duckdb/common/enum_util.hpp +51 -3
- package/src/duckdb/src/include/duckdb/common/enums/checkpoint_type.hpp +38 -0
- package/src/duckdb/src/include/duckdb/common/enums/copy_overwrite_mode.hpp +18 -0
- package/src/duckdb/src/include/duckdb/common/enums/logical_operator_type.hpp +1 -0
- package/src/duckdb/src/include/duckdb/common/enums/physical_operator_type.hpp +1 -0
- package/src/duckdb/src/include/duckdb/common/enums/relation_type.hpp +1 -0
- package/src/duckdb/src/include/duckdb/common/enums/scan_options.hpp +3 -1
- package/src/duckdb/src/include/duckdb/common/enums/scan_vector_type.hpp +17 -0
- package/src/duckdb/src/include/duckdb/common/enums/statement_type.hpp +1 -0
- package/src/duckdb/src/include/duckdb/common/enums/tableref_type.hpp +2 -1
- package/src/duckdb/src/include/duckdb/common/enums/undo_flags.hpp +2 -1
- package/src/duckdb/src/include/duckdb/common/exception.hpp +0 -1
- package/src/duckdb/src/include/duckdb/common/extra_type_info.hpp +15 -1
- package/src/duckdb/src/include/duckdb/common/file_opener.hpp +4 -0
- package/src/duckdb/src/include/duckdb/common/file_system.hpp +3 -0
- package/src/duckdb/src/include/duckdb/common/gzip_file_system.hpp +3 -0
- package/src/duckdb/src/include/duckdb/common/helper.hpp +22 -1
- package/src/duckdb/src/include/duckdb/common/hive_partitioning.hpp +3 -17
- package/src/duckdb/src/include/duckdb/common/http_state.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/insertion_order_preserving_map.hpp +129 -0
- package/src/duckdb/src/include/duckdb/common/multi_file_list.hpp +151 -0
- package/src/duckdb/src/include/duckdb/common/multi_file_reader.hpp +133 -56
- package/src/duckdb/src/include/duckdb/common/multi_file_reader_options.hpp +7 -3
- package/src/duckdb/src/include/duckdb/common/numeric_utils.hpp +3 -0
- package/src/duckdb/src/include/duckdb/common/operator/add.hpp +2 -0
- package/src/duckdb/src/include/duckdb/common/operator/decimal_cast_operators.hpp +233 -0
- package/src/duckdb/src/include/duckdb/common/operator/integer_cast_operator.hpp +5 -4
- package/src/duckdb/src/include/duckdb/common/operator/numeric_cast.hpp +2 -2
- package/src/duckdb/src/include/duckdb/common/optional_ptr.hpp +5 -0
- package/src/duckdb/src/include/duckdb/common/optionally_owned_ptr.hpp +91 -0
- package/src/duckdb/src/include/duckdb/common/platform.h +6 -1
- package/src/duckdb/src/include/duckdb/common/radix.hpp +12 -4
- package/src/duckdb/src/include/duckdb/common/re2_regex.hpp +3 -2
- package/src/duckdb/src/include/duckdb/common/row_operations/row_operations.hpp +2 -0
- package/src/duckdb/src/include/duckdb/common/serializer/binary_deserializer.hpp +2 -1
- package/src/duckdb/src/include/duckdb/common/serializer/binary_serializer.hpp +8 -6
- package/src/duckdb/src/include/duckdb/common/serializer/deserializer.hpp +36 -0
- package/src/duckdb/src/include/duckdb/common/serializer/serialization_traits.hpp +65 -0
- package/src/duckdb/src/include/duckdb/common/serializer/serializer.hpp +52 -6
- package/src/duckdb/src/include/duckdb/common/shared_ptr.hpp +36 -3
- package/src/duckdb/src/include/duckdb/common/shared_ptr_ipp.hpp +268 -0
- package/src/duckdb/src/include/duckdb/common/sort/duckdb_pdqsort.hpp +3 -3
- package/src/duckdb/src/include/duckdb/common/string.hpp +3 -2
- package/src/duckdb/src/include/duckdb/common/string_util.hpp +11 -7
- package/src/duckdb/src/include/duckdb/common/types/bit.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/types/cast_helpers.hpp +43 -215
- package/src/duckdb/src/include/duckdb/common/types/datetime.hpp +36 -11
- package/src/duckdb/src/include/duckdb/common/types/hash.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/types/row/tuple_data_segment.hpp +7 -1
- package/src/duckdb/src/include/duckdb/common/types/selection_vector.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/types/string_type.hpp +2 -0
- package/src/duckdb/src/include/duckdb/common/types/timestamp.hpp +2 -0
- package/src/duckdb/src/include/duckdb/common/types/validity_mask.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/types/value.hpp +4 -0
- package/src/duckdb/src/include/duckdb/common/types/vector.hpp +20 -15
- package/src/duckdb/src/include/duckdb/common/types.hpp +14 -2
- package/src/duckdb/src/include/duckdb/common/unique_ptr.hpp +7 -6
- package/src/duckdb/src/include/duckdb/common/vector.hpp +11 -0
- package/src/duckdb/src/include/duckdb/common/vector_size.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/weak_ptr_ipp.hpp +117 -0
- package/src/duckdb/src/include/duckdb/core_functions/aggregate/sum_helpers.hpp +3 -3
- package/src/duckdb/src/include/duckdb/core_functions/scalar/date_functions.hpp +18 -0
- package/src/duckdb/src/include/duckdb/execution/adaptive_filter.hpp +1 -0
- package/src/duckdb/src/include/duckdb/execution/expression_executor.hpp +1 -1
- package/src/duckdb/src/include/duckdb/execution/index/art/art.hpp +4 -4
- package/src/duckdb/src/include/duckdb/execution/index/art/node.hpp +1 -1
- package/src/duckdb/src/include/duckdb/execution/index/bound_index.hpp +145 -0
- package/src/duckdb/src/include/duckdb/execution/index/index_type.hpp +2 -2
- package/src/duckdb/src/include/duckdb/execution/index/unbound_index.hpp +63 -0
- package/src/duckdb/src/include/duckdb/execution/merge_sort_tree.hpp +24 -18
- package/src/duckdb/src/include/duckdb/execution/operator/aggregate/physical_streaming_window.hpp +2 -0
- package/src/duckdb/src/include/duckdb/execution/operator/aggregate/physical_window.hpp +2 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/base_scanner.hpp +10 -3
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/column_count_scanner.hpp +1 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_error.hpp +6 -6
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_reader_options.hpp +7 -6
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_sniffer.hpp +24 -4
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/string_value_scanner.hpp +90 -20
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_update_extensions.hpp +52 -0
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_batch_insert.hpp +3 -1
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_copy_to_file.hpp +2 -1
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_delete.hpp +5 -5
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_export.hpp +1 -0
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_insert.hpp +8 -5
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_update.hpp +4 -1
- package/src/duckdb/src/include/duckdb/execution/operator/scan/physical_column_data_scan.hpp +4 -5
- package/src/duckdb/src/include/duckdb/execution/operator/scan/physical_expression_scan.hpp +6 -2
- package/src/duckdb/src/include/duckdb/execution/operator/set/physical_cte.hpp +1 -1
- package/src/duckdb/src/include/duckdb/execution/operator/set/physical_recursive_cte.hpp +1 -1
- package/src/duckdb/src/include/duckdb/execution/physical_plan_generator.hpp +1 -1
- package/src/duckdb/src/include/duckdb/execution/reservoir_sample.hpp +63 -8
- package/src/duckdb/src/include/duckdb/function/function.hpp +0 -5
- package/src/duckdb/src/include/duckdb/function/function_binder.hpp +6 -3
- package/src/duckdb/src/include/duckdb/function/replacement_scan.hpp +25 -2
- package/src/duckdb/src/include/duckdb/function/scalar/regexp.hpp +1 -1
- package/src/duckdb/src/include/duckdb/function/scalar/sequence_functions.hpp +3 -4
- package/src/duckdb/src/include/duckdb/function/scalar/strftime_format.hpp +5 -0
- package/src/duckdb/src/include/duckdb/function/scalar/string_functions.hpp +1 -1
- package/src/duckdb/src/include/duckdb/function/scalar_function.hpp +13 -0
- package/src/duckdb/src/include/duckdb/function/table/arrow.hpp +7 -3
- package/src/duckdb/src/include/duckdb/function/table/read_csv.hpp +3 -0
- package/src/duckdb/src/include/duckdb/function/table/system_functions.hpp +4 -0
- package/src/duckdb/src/include/duckdb/function/table_function.hpp +15 -2
- package/src/duckdb/src/include/duckdb/logging/http_logger.hpp +81 -0
- package/src/duckdb/src/include/duckdb/main/appender.hpp +1 -3
- package/src/duckdb/src/include/duckdb/main/attached_database.hpp +7 -1
- package/src/duckdb/src/include/duckdb/main/buffered_data/buffered_data.hpp +1 -0
- package/src/duckdb/src/include/duckdb/main/capi/cast/generic.hpp +2 -2
- package/src/duckdb/src/include/duckdb/main/client_config.hpp +8 -0
- package/src/duckdb/src/include/duckdb/main/client_context.hpp +1 -19
- package/src/duckdb/src/include/duckdb/main/client_context_state.hpp +11 -1
- package/src/duckdb/src/include/duckdb/main/client_context_wrapper.hpp +27 -0
- package/src/duckdb/src/include/duckdb/main/client_data.hpp +4 -0
- package/src/duckdb/src/include/duckdb/main/config.hpp +40 -3
- package/src/duckdb/src/include/duckdb/main/connection_manager.hpp +7 -17
- package/src/duckdb/src/include/duckdb/main/database.hpp +25 -20
- package/src/duckdb/src/include/duckdb/main/extension.hpp +25 -0
- package/src/duckdb/src/include/duckdb/main/extension_entries.hpp +155 -10
- package/src/duckdb/src/include/duckdb/main/extension_helper.hpp +79 -12
- package/src/duckdb/src/include/duckdb/main/extension_install_info.hpp +89 -0
- package/src/duckdb/src/include/duckdb/main/extension_util.hpp +3 -1
- package/src/duckdb/src/include/duckdb/main/external_dependencies.hpp +46 -4
- package/src/duckdb/src/include/duckdb/main/materialized_query_result.hpp +3 -0
- package/src/duckdb/src/include/duckdb/main/relation/materialized_relation.hpp +35 -0
- package/src/duckdb/src/include/duckdb/main/relation/query_relation.hpp +1 -1
- package/src/duckdb/src/include/duckdb/main/relation/table_function_relation.hpp +2 -2
- package/src/duckdb/src/include/duckdb/main/relation/table_relation.hpp +1 -1
- package/src/duckdb/src/include/duckdb/main/relation/value_relation.hpp +3 -3
- package/src/duckdb/src/include/duckdb/main/relation/view_relation.hpp +1 -1
- package/src/duckdb/src/include/duckdb/main/relation.hpp +5 -6
- package/src/duckdb/src/include/duckdb/main/settings.hpp +67 -0
- package/src/duckdb/src/include/duckdb/optimizer/filter_pushdown.hpp +4 -4
- package/src/duckdb/src/include/duckdb/optimizer/join_order/cost_model.hpp +1 -1
- package/src/duckdb/src/include/duckdb/optimizer/join_order/join_node.hpp +8 -15
- package/src/duckdb/src/include/duckdb/optimizer/join_order/join_order_optimizer.hpp +0 -51
- package/src/duckdb/src/include/duckdb/optimizer/join_order/plan_enumerator.hpp +10 -17
- package/src/duckdb/src/include/duckdb/optimizer/join_order/query_graph_manager.hpp +5 -7
- package/src/duckdb/src/include/duckdb/optimizer/matcher/set_matcher.hpp +2 -1
- package/src/duckdb/src/include/duckdb/optimizer/optimizer_extension.hpp +10 -2
- package/src/duckdb/src/include/duckdb/optimizer/rule/list.hpp +1 -0
- package/src/duckdb/src/include/duckdb/optimizer/rule/timestamp_comparison.hpp +30 -0
- package/src/duckdb/src/include/duckdb/parallel/event.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parallel/interrupt.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parallel/meta_pipeline.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parallel/pipeline.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parallel/task.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parser/base_expression.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parser/column_definition.hpp +2 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/alter_info.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/alter_scalar_function_info.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/alter_table_function_info.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/alter_table_info.hpp +12 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/attach_info.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/comment_on_column_info.hpp +3 -1
- package/src/duckdb/src/include/duckdb/parser/parsed_data/copy_info.hpp +10 -12
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_info.hpp +6 -2
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_schema_info.hpp +3 -30
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_sequence_info.hpp +2 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_type_info.hpp +12 -1
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_view_info.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/detach_info.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/drop_info.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/exported_table_data.hpp +5 -2
- package/src/duckdb/src/include/duckdb/parser/parsed_data/load_info.hpp +4 -7
- package/src/duckdb/src/include/duckdb/parser/parsed_data/parse_info.hpp +7 -1
- package/src/duckdb/src/include/duckdb/parser/parsed_data/pragma_info.hpp +2 -11
- package/src/duckdb/src/include/duckdb/parser/parsed_data/transaction_info.hpp +2 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/update_extensions_info.hpp +36 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/vacuum_info.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/parser_extension.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/query_node.hpp +2 -2
- package/src/duckdb/src/include/duckdb/parser/sql_statement.hpp +1 -4
- package/src/duckdb/src/include/duckdb/parser/statement/alter_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/attach_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/call_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/copy_database_statement.hpp +1 -2
- package/src/duckdb/src/include/duckdb/parser/statement/copy_statement.hpp +1 -3
- package/src/duckdb/src/include/duckdb/parser/statement/detach_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/drop_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/execute_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/explain_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/export_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/extension_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/insert_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/list.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/load_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/logical_plan_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/multi_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/pragma_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/prepare_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/relation_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/select_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/set_statement.hpp +6 -4
- package/src/duckdb/src/include/duckdb/parser/statement/transaction_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/update_extensions_statement.hpp +36 -0
- package/src/duckdb/src/include/duckdb/parser/statement/vacuum_statement.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/tableref/column_data_ref.hpp +46 -0
- package/src/duckdb/src/include/duckdb/parser/tableref/list.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/tableref/table_function_ref.hpp +0 -4
- package/src/duckdb/src/include/duckdb/parser/tableref.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/tokens.hpp +2 -0
- package/src/duckdb/src/include/duckdb/parser/transformer.hpp +5 -0
- package/src/duckdb/src/include/duckdb/planner/bind_context.hpp +4 -4
- package/src/duckdb/src/include/duckdb/planner/binder.hpp +42 -16
- package/src/duckdb/src/include/duckdb/planner/bound_tokens.hpp +1 -0
- package/src/duckdb/src/include/duckdb/planner/expression_binder/alter_binder.hpp +7 -6
- package/src/duckdb/src/include/duckdb/planner/expression_binder/having_binder.hpp +2 -1
- package/src/duckdb/src/include/duckdb/planner/expression_binder/index_binder.hpp +5 -1
- package/src/duckdb/src/include/duckdb/planner/expression_binder.hpp +5 -0
- package/src/duckdb/src/include/duckdb/planner/logical_operator.hpp +0 -1
- package/src/duckdb/src/include/duckdb/planner/operator/logical_column_data_get.hpp +6 -2
- package/src/duckdb/src/include/duckdb/planner/operator/logical_comparison_join.hpp +7 -7
- package/src/duckdb/src/include/duckdb/planner/operator/logical_copy_to_file.hpp +2 -1
- package/src/duckdb/src/include/duckdb/planner/operator/logical_delete.hpp +2 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_export.hpp +7 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_insert.hpp +2 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_top_n.hpp +3 -3
- package/src/duckdb/src/include/duckdb/planner/operator/logical_update.hpp +2 -0
- package/src/duckdb/src/include/duckdb/planner/parsed_data/bound_create_table_info.hpp +0 -4
- package/src/duckdb/src/include/duckdb/planner/table_binding.hpp +4 -4
- package/src/duckdb/src/include/duckdb/planner/tableref/bound_column_data_ref.hpp +30 -0
- package/src/duckdb/src/include/duckdb/planner/tableref/list.hpp +1 -0
- package/src/duckdb/src/include/duckdb/storage/buffer/block_handle.hpp +6 -3
- package/src/duckdb/src/include/duckdb/storage/buffer/buffer_pool.hpp +16 -7
- package/src/duckdb/src/include/duckdb/storage/buffer_manager.hpp +15 -3
- package/src/duckdb/src/include/duckdb/storage/checkpoint/row_group_writer.hpp +10 -7
- package/src/duckdb/src/include/duckdb/storage/checkpoint/table_data_writer.hpp +2 -0
- package/src/duckdb/src/include/duckdb/storage/checkpoint_manager.hpp +24 -15
- package/src/duckdb/src/include/duckdb/storage/compression/alp/algorithm/alp.hpp +8 -7
- package/src/duckdb/src/include/duckdb/storage/compression/alp/alp_compress.hpp +2 -2
- package/src/duckdb/src/include/duckdb/storage/compression/alp/alp_constants.hpp +5 -4
- package/src/duckdb/src/include/duckdb/storage/compression/alp/alp_fetch.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/compression/alp/alp_utils.hpp +3 -3
- package/src/duckdb/src/include/duckdb/storage/compression/alprd/algorithm/alprd.hpp +2 -1
- package/src/duckdb/src/include/duckdb/storage/compression/alprd/alprd_analyze.hpp +5 -3
- package/src/duckdb/src/include/duckdb/storage/compression/alprd/alprd_compress.hpp +2 -2
- package/src/duckdb/src/include/duckdb/storage/compression/alprd/alprd_fetch.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/compression/chimp/algorithm/bit_reader.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/compression/chimp/chimp_fetch.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/compression/patas/patas_fetch.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/data_table.hpp +55 -16
- package/src/duckdb/src/include/duckdb/storage/index.hpp +33 -97
- package/src/duckdb/src/include/duckdb/storage/object_cache.hpp +3 -3
- package/src/duckdb/src/include/duckdb/storage/optimistic_data_writer.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/partial_block_manager.hpp +3 -3
- package/src/duckdb/src/include/duckdb/storage/standard_buffer_manager.hpp +22 -9
- package/src/duckdb/src/include/duckdb/storage/storage_extension.hpp +7 -0
- package/src/duckdb/src/include/duckdb/storage/storage_info.hpp +6 -3
- package/src/duckdb/src/include/duckdb/storage/storage_lock.hpp +17 -13
- package/src/duckdb/src/include/duckdb/storage/storage_manager.hpp +27 -8
- package/src/duckdb/src/include/duckdb/storage/string_uncompressed.hpp +3 -2
- package/src/duckdb/src/include/duckdb/storage/table/append_state.hpp +12 -0
- package/src/duckdb/src/include/duckdb/storage/table/array_column_data.hpp +5 -4
- package/src/duckdb/src/include/duckdb/storage/table/column_data.hpp +29 -10
- package/src/duckdb/src/include/duckdb/storage/table/column_segment.hpp +2 -1
- package/src/duckdb/src/include/duckdb/storage/table/data_table_info.hpp +32 -6
- package/src/duckdb/src/include/duckdb/storage/table/delete_state.hpp +23 -0
- package/src/duckdb/src/include/duckdb/storage/table/list_column_data.hpp +5 -4
- package/src/duckdb/src/include/duckdb/storage/table/row_group.hpp +14 -3
- package/src/duckdb/src/include/duckdb/storage/table/row_group_collection.hpp +3 -2
- package/src/duckdb/src/include/duckdb/storage/table/scan_state.hpp +4 -0
- package/src/duckdb/src/include/duckdb/storage/table/segment_tree.hpp +5 -5
- package/src/duckdb/src/include/duckdb/storage/table/standard_column_data.hpp +6 -6
- package/src/duckdb/src/include/duckdb/storage/table/struct_column_data.hpp +5 -4
- package/src/duckdb/src/include/duckdb/storage/table/table_index_list.hpp +25 -1
- package/src/duckdb/src/include/duckdb/storage/table/table_statistics.hpp +5 -2
- package/src/duckdb/src/include/duckdb/storage/table/update_state.hpp +20 -0
- package/src/duckdb/src/include/duckdb/storage/table/validity_column_data.hpp +1 -0
- package/src/duckdb/src/include/duckdb/storage/temporary_file_manager.hpp +20 -4
- package/src/duckdb/src/include/duckdb/storage/write_ahead_log.hpp +10 -5
- package/src/duckdb/src/include/duckdb/transaction/duck_transaction.hpp +19 -4
- package/src/duckdb/src/include/duckdb/transaction/duck_transaction_manager.hpp +30 -7
- package/src/duckdb/src/include/duckdb/transaction/local_storage.hpp +8 -5
- package/src/duckdb/src/include/duckdb/transaction/meta_transaction.hpp +1 -0
- package/src/duckdb/src/include/duckdb/transaction/transaction.hpp +8 -0
- package/src/duckdb/src/include/duckdb/transaction/undo_buffer.hpp +9 -1
- package/src/duckdb/src/include/duckdb.h +141 -15
- package/src/duckdb/src/main/appender.cpp +3 -1
- package/src/duckdb/src/main/attached_database.cpp +12 -9
- package/src/duckdb/src/main/capi/appender-c.cpp +4 -3
- package/src/duckdb/src/main/capi/arrow-c.cpp +4 -4
- package/src/duckdb/src/main/capi/helper-c.cpp +3 -3
- package/src/duckdb/src/main/capi/replacement_scan-c.cpp +6 -5
- package/src/duckdb/src/main/capi/result-c.cpp +19 -5
- package/src/duckdb/src/main/capi/stream-c.cpp +17 -8
- package/src/duckdb/src/main/capi/table_function-c.cpp +11 -7
- package/src/duckdb/src/main/client_context.cpp +32 -23
- package/src/duckdb/src/main/client_context_file_opener.cpp +31 -0
- package/src/duckdb/src/main/client_context_wrapper.cpp +22 -0
- package/src/duckdb/src/main/client_data.cpp +5 -3
- package/src/duckdb/src/main/config.cpp +73 -2
- package/src/duckdb/src/main/connection.cpp +11 -10
- package/src/duckdb/src/main/connection_manager.cpp +9 -23
- package/src/duckdb/src/main/database.cpp +26 -30
- package/src/duckdb/src/main/db_instance_cache.cpp +1 -1
- package/src/duckdb/src/main/extension/extension_helper.cpp +378 -21
- package/src/duckdb/src/main/extension/extension_install.cpp +301 -89
- package/src/duckdb/src/main/extension/extension_load.cpp +137 -135
- package/src/duckdb/src/main/extension/extension_util.cpp +8 -2
- package/src/duckdb/src/main/extension.cpp +56 -0
- package/src/duckdb/src/main/extension_install_info.cpp +116 -0
- package/src/duckdb/src/main/materialized_query_result.cpp +11 -0
- package/src/duckdb/src/main/query_profiler.cpp +1 -1
- package/src/duckdb/src/main/relation/create_view_relation.cpp +6 -0
- package/src/duckdb/src/main/relation/materialized_relation.cpp +58 -0
- package/src/duckdb/src/main/relation/query_relation.cpp +20 -1
- package/src/duckdb/src/main/relation/read_csv_relation.cpp +5 -3
- package/src/duckdb/src/main/relation/table_relation.cpp +4 -4
- package/src/duckdb/src/main/relation/value_relation.cpp +2 -2
- package/src/duckdb/src/main/relation/view_relation.cpp +1 -1
- package/src/duckdb/src/main/relation/write_csv_relation.cpp +1 -1
- package/src/duckdb/src/main/relation/write_parquet_relation.cpp +1 -1
- package/src/duckdb/src/main/relation.cpp +36 -32
- package/src/duckdb/src/main/secret/secret.cpp +1 -1
- package/src/duckdb/src/main/settings/settings.cpp +169 -11
- package/src/duckdb/src/optimizer/common_aggregate_optimizer.cpp +1 -1
- package/src/duckdb/src/optimizer/filter_combiner.cpp +3 -3
- package/src/duckdb/src/optimizer/filter_pushdown.cpp +3 -2
- package/src/duckdb/src/optimizer/join_order/cardinality_estimator.cpp +3 -3
- package/src/duckdb/src/optimizer/join_order/cost_model.cpp +1 -1
- package/src/duckdb/src/optimizer/join_order/join_node.cpp +4 -27
- package/src/duckdb/src/optimizer/join_order/join_order_optimizer.cpp +5 -8
- package/src/duckdb/src/optimizer/join_order/plan_enumerator.cpp +32 -107
- package/src/duckdb/src/optimizer/join_order/query_graph_manager.cpp +68 -61
- package/src/duckdb/src/optimizer/join_order/relation_manager.cpp +4 -2
- package/src/duckdb/src/optimizer/join_order/relation_statistics_helper.cpp +3 -3
- package/src/duckdb/src/optimizer/optimizer.cpp +3 -1
- package/src/duckdb/src/optimizer/pushdown/pushdown_aggregate.cpp +2 -2
- package/src/duckdb/src/optimizer/pushdown/pushdown_cross_product.cpp +4 -4
- package/src/duckdb/src/optimizer/pushdown/pushdown_left_join.cpp +2 -2
- package/src/duckdb/src/optimizer/pushdown/pushdown_mark_join.cpp +6 -6
- package/src/duckdb/src/optimizer/pushdown/pushdown_projection.cpp +1 -1
- package/src/duckdb/src/optimizer/pushdown/pushdown_semi_anti_join.cpp +1 -1
- package/src/duckdb/src/optimizer/pushdown/pushdown_set_operation.cpp +1 -1
- package/src/duckdb/src/optimizer/pushdown/pushdown_single_join.cpp +2 -2
- package/src/duckdb/src/optimizer/remove_duplicate_groups.cpp +1 -1
- package/src/duckdb/src/optimizer/remove_unused_columns.cpp +1 -1
- package/src/duckdb/src/optimizer/rule/arithmetic_simplification.cpp +1 -1
- package/src/duckdb/src/optimizer/rule/case_simplification.cpp +2 -2
- package/src/duckdb/src/optimizer/rule/conjunction_simplification.cpp +2 -1
- package/src/duckdb/src/optimizer/rule/constant_folding.cpp +1 -0
- package/src/duckdb/src/optimizer/rule/distributivity.cpp +1 -1
- package/src/duckdb/src/optimizer/rule/empty_needle_removal.cpp +1 -0
- package/src/duckdb/src/optimizer/rule/enum_comparison.cpp +1 -0
- package/src/duckdb/src/optimizer/rule/in_clause_simplification_rule.cpp +1 -0
- package/src/duckdb/src/optimizer/rule/move_constants.cpp +4 -0
- package/src/duckdb/src/optimizer/rule/ordered_aggregate_optimizer.cpp +1 -2
- package/src/duckdb/src/optimizer/rule/timestamp_comparison.cpp +107 -0
- package/src/duckdb/src/optimizer/statistics/expression/propagate_conjunction.cpp +1 -1
- package/src/duckdb/src/optimizer/statistics/expression/propagate_operator.cpp +4 -4
- package/src/duckdb/src/optimizer/statistics/operator/propagate_filter.cpp +3 -3
- package/src/duckdb/src/optimizer/statistics/operator/propagate_get.cpp +1 -1
- package/src/duckdb/src/optimizer/statistics/operator/propagate_join.cpp +6 -3
- package/src/duckdb/src/optimizer/statistics/operator/propagate_set_operation.cpp +2 -1
- package/src/duckdb/src/optimizer/topn_optimizer.cpp +2 -2
- package/src/duckdb/src/parallel/executor.cpp +12 -9
- package/src/duckdb/src/parallel/meta_pipeline.cpp +2 -2
- package/src/duckdb/src/parallel/pipeline.cpp +2 -2
- package/src/duckdb/src/parallel/task_scheduler.cpp +9 -3
- package/src/duckdb/src/parser/column_definition.cpp +1 -0
- package/src/duckdb/src/parser/constraints/foreign_key_constraint.cpp +9 -7
- package/src/duckdb/src/parser/expression/star_expression.cpp +2 -2
- package/src/duckdb/src/parser/parsed_data/alter_scalar_function_info.cpp +4 -0
- package/src/duckdb/src/parser/parsed_data/alter_table_function_info.cpp +4 -0
- package/src/duckdb/src/parser/parsed_data/alter_table_info.cpp +183 -0
- package/src/duckdb/src/parser/parsed_data/attach_info.cpp +23 -0
- package/src/duckdb/src/parser/parsed_data/comment_on_column_info.cpp +15 -2
- package/src/duckdb/src/parser/parsed_data/copy_info.cpp +100 -0
- package/src/duckdb/src/parser/parsed_data/create_index_info.cpp +16 -2
- package/src/duckdb/src/parser/parsed_data/create_info.cpp +2 -0
- package/src/duckdb/src/parser/parsed_data/create_schema_info.cpp +40 -0
- package/src/duckdb/src/parser/parsed_data/create_sequence_info.cpp +22 -0
- package/src/duckdb/src/parser/parsed_data/create_table_info.cpp +12 -4
- package/src/duckdb/src/parser/parsed_data/create_type_info.cpp +37 -14
- package/src/duckdb/src/parser/parsed_data/create_view_info.cpp +4 -4
- package/src/duckdb/src/parser/parsed_data/detach_info.cpp +12 -0
- package/src/duckdb/src/parser/parsed_data/drop_info.cpp +21 -0
- package/src/duckdb/src/parser/parsed_data/load_info.cpp +46 -0
- package/src/duckdb/src/parser/parsed_data/parse_info.cpp +50 -0
- package/src/duckdb/src/parser/parsed_data/pragma_info.cpp +33 -0
- package/src/duckdb/src/parser/parsed_data/transaction_info.cpp +22 -0
- package/src/duckdb/src/parser/parsed_data/vacuum_info.cpp +20 -0
- package/src/duckdb/src/parser/parsed_expression_iterator.cpp +1 -0
- package/src/duckdb/src/parser/parser.cpp +5 -4
- package/src/duckdb/src/parser/query_node.cpp +6 -2
- package/src/duckdb/src/parser/statement/alter_statement.cpp +4 -0
- package/src/duckdb/src/parser/statement/attach_statement.cpp +4 -0
- package/src/duckdb/src/parser/statement/call_statement.cpp +8 -0
- package/src/duckdb/src/parser/statement/copy_statement.cpp +1 -91
- package/src/duckdb/src/parser/statement/detach_statement.cpp +4 -0
- package/src/duckdb/src/parser/statement/drop_statement.cpp +4 -0
- package/src/duckdb/src/parser/statement/execute_statement.cpp +15 -0
- package/src/duckdb/src/parser/statement/explain_statement.cpp +19 -0
- package/src/duckdb/src/parser/statement/export_statement.cpp +18 -0
- package/src/duckdb/src/parser/statement/extension_statement.cpp +4 -0
- package/src/duckdb/src/parser/statement/load_statement.cpp +4 -0
- package/src/duckdb/src/parser/statement/multi_statement.cpp +8 -0
- package/src/duckdb/src/parser/statement/pragma_statement.cpp +4 -0
- package/src/duckdb/src/parser/statement/prepare_statement.cpp +13 -0
- package/src/duckdb/src/parser/statement/relation_statement.cpp +4 -0
- package/src/duckdb/src/parser/statement/set_statement.cpp +33 -4
- package/src/duckdb/src/parser/statement/transaction_statement.cpp +4 -0
- package/src/duckdb/src/parser/statement/update_extensions_statement.cpp +34 -0
- package/src/duckdb/src/parser/statement/vacuum_statement.cpp +4 -0
- package/src/duckdb/src/parser/tableref/column_data_ref.cpp +81 -0
- package/src/duckdb/src/parser/tableref.cpp +1 -0
- package/src/duckdb/src/parser/transform/expression/transform_boolean_test.cpp +2 -2
- package/src/duckdb/src/parser/transform/expression/transform_cast.cpp +1 -1
- package/src/duckdb/src/parser/transform/expression/transform_interval.cpp +6 -1
- package/src/duckdb/src/parser/transform/expression/transform_param_ref.cpp +1 -1
- package/src/duckdb/src/parser/transform/expression/transform_positional_reference.cpp +1 -1
- package/src/duckdb/src/parser/transform/expression/transform_subquery.cpp +16 -0
- package/src/duckdb/src/parser/transform/helpers/nodetype_to_string.cpp +2 -0
- package/src/duckdb/src/parser/transform/helpers/transform_typename.cpp +97 -63
- package/src/duckdb/src/parser/transform/statement/transform_checkpoint.cpp +2 -0
- package/src/duckdb/src/parser/transform/statement/transform_copy.cpp +1 -1
- package/src/duckdb/src/parser/transform/statement/transform_load.cpp +4 -2
- package/src/duckdb/src/parser/transform/statement/transform_update.cpp +19 -0
- package/src/duckdb/src/parser/transformer.cpp +5 -2
- package/src/duckdb/src/planner/bind_context.cpp +2 -2
- package/src/duckdb/src/planner/binder/expression/bind_aggregate_expression.cpp +35 -8
- package/src/duckdb/src/planner/binder/expression/bind_cast_expression.cpp +1 -1
- package/src/duckdb/src/planner/binder/expression/bind_function_expression.cpp +13 -7
- package/src/duckdb/src/planner/binder/query_node/bind_select_node.cpp +1 -1
- package/src/duckdb/src/planner/binder/query_node/plan_setop.cpp +35 -2
- package/src/duckdb/src/planner/binder/query_node/plan_subquery.cpp +2 -4
- package/src/duckdb/src/planner/binder/statement/bind_attach.cpp +2 -0
- package/src/duckdb/src/planner/binder/statement/bind_call.cpp +2 -0
- package/src/duckdb/src/planner/binder/statement/bind_copy.cpp +24 -7
- package/src/duckdb/src/planner/binder/statement/bind_copy_database.cpp +21 -68
- package/src/duckdb/src/planner/binder/statement/bind_create.cpp +152 -28
- package/src/duckdb/src/planner/binder/statement/bind_create_table.cpp +115 -57
- package/src/duckdb/src/planner/binder/statement/bind_delete.cpp +4 -0
- package/src/duckdb/src/planner/binder/statement/bind_detach.cpp +2 -0
- package/src/duckdb/src/planner/binder/statement/bind_drop.cpp +2 -0
- package/src/duckdb/src/planner/binder/statement/bind_execute.cpp +4 -2
- package/src/duckdb/src/planner/binder/statement/bind_explain.cpp +2 -0
- package/src/duckdb/src/planner/binder/statement/bind_export.cpp +15 -4
- package/src/duckdb/src/planner/binder/statement/bind_extension.cpp +1 -0
- package/src/duckdb/src/planner/binder/statement/bind_insert.cpp +5 -1
- package/src/duckdb/src/planner/binder/statement/bind_load.cpp +13 -0
- package/src/duckdb/src/planner/binder/statement/bind_logical_plan.cpp +2 -0
- package/src/duckdb/src/planner/binder/statement/bind_pragma.cpp +2 -0
- package/src/duckdb/src/planner/binder/statement/bind_prepare.cpp +1 -0
- package/src/duckdb/src/planner/binder/statement/bind_select.cpp +1 -0
- package/src/duckdb/src/planner/binder/statement/bind_set.cpp +4 -0
- package/src/duckdb/src/planner/binder/statement/bind_simple.cpp +6 -4
- package/src/duckdb/src/planner/binder/statement/bind_update.cpp +5 -1
- package/src/duckdb/src/planner/binder/statement/bind_update_extensions.cpp +28 -0
- package/src/duckdb/src/planner/binder/statement/bind_vacuum.cpp +2 -0
- package/src/duckdb/src/planner/binder/tableref/bind_basetableref.cpp +32 -29
- package/src/duckdb/src/planner/binder/tableref/bind_column_data_ref.cpp +16 -0
- package/src/duckdb/src/planner/binder/tableref/bind_pivot.cpp +7 -4
- package/src/duckdb/src/planner/binder/tableref/bind_table_function.cpp +32 -22
- package/src/duckdb/src/planner/binder/tableref/plan_column_data_ref.cpp +15 -0
- package/src/duckdb/src/planner/binder/tableref/plan_joinref.cpp +29 -11
- package/src/duckdb/src/planner/binder.cpp +50 -30
- package/src/duckdb/src/planner/bound_parameter_map.cpp +1 -1
- package/src/duckdb/src/planner/bound_result_modifier.cpp +1 -1
- package/src/duckdb/src/planner/expression/bound_expression.cpp +3 -2
- package/src/duckdb/src/planner/expression_binder/alter_binder.cpp +24 -7
- package/src/duckdb/src/planner/expression_binder/base_select_binder.cpp +27 -2
- package/src/duckdb/src/planner/expression_binder/having_binder.cpp +34 -19
- package/src/duckdb/src/planner/expression_binder/index_binder.cpp +33 -0
- package/src/duckdb/src/planner/expression_binder/order_binder.cpp +10 -1
- package/src/duckdb/src/planner/expression_binder.cpp +4 -0
- package/src/duckdb/src/planner/expression_iterator.cpp +3 -1
- package/src/duckdb/src/planner/filter/constant_filter.cpp +1 -1
- package/src/duckdb/src/planner/operator/logical_column_data_get.cpp +16 -2
- package/src/duckdb/src/planner/operator/logical_copy_to_file.cpp +3 -3
- package/src/duckdb/src/planner/operator/logical_delete.cpp +2 -0
- package/src/duckdb/src/planner/operator/logical_get.cpp +4 -1
- package/src/duckdb/src/planner/operator/logical_insert.cpp +2 -0
- package/src/duckdb/src/planner/operator/logical_top_n.cpp +1 -1
- package/src/duckdb/src/planner/operator/logical_update.cpp +2 -0
- package/src/duckdb/src/planner/planner.cpp +35 -9
- package/src/duckdb/src/planner/subquery/flatten_dependent_join.cpp +34 -9
- package/src/duckdb/src/planner/table_binding.cpp +1 -1
- package/src/duckdb/src/storage/arena_allocator.cpp +5 -3
- package/src/duckdb/src/storage/buffer/block_handle.cpp +3 -3
- package/src/duckdb/src/storage/buffer/block_manager.cpp +1 -1
- package/src/duckdb/src/storage/buffer/buffer_pool.cpp +83 -22
- package/src/duckdb/src/storage/buffer/buffer_pool_reservation.cpp +2 -2
- package/src/duckdb/src/storage/buffer_manager.cpp +6 -2
- package/src/duckdb/src/storage/checkpoint/row_group_writer.cpp +9 -0
- package/src/duckdb/src/storage/checkpoint/table_data_writer.cpp +7 -2
- package/src/duckdb/src/storage/checkpoint_manager.cpp +68 -104
- package/src/duckdb/src/storage/compression/bitpacking.cpp +19 -13
- package/src/duckdb/src/storage/compression/dictionary_compression.cpp +9 -7
- package/src/duckdb/src/storage/compression/fixed_size_uncompressed.cpp +1 -1
- package/src/duckdb/src/storage/compression/fsst.cpp +11 -7
- package/src/duckdb/src/storage/compression/rle.cpp +1 -1
- package/src/duckdb/src/storage/compression/string_uncompressed.cpp +5 -4
- package/src/duckdb/src/storage/compression/validity_uncompressed.cpp +1 -1
- package/src/duckdb/src/storage/data_table.cpp +254 -101
- package/src/duckdb/src/storage/index.cpp +2 -106
- package/src/duckdb/src/storage/local_storage.cpp +38 -50
- package/src/duckdb/src/storage/metadata/metadata_manager.cpp +2 -2
- package/src/duckdb/src/storage/metadata/metadata_writer.cpp +1 -1
- package/src/duckdb/src/storage/optimistic_data_writer.cpp +9 -11
- package/src/duckdb/src/storage/partial_block_manager.cpp +6 -6
- package/src/duckdb/src/storage/serialization/serialize_create_info.cpp +8 -0
- package/src/duckdb/src/storage/serialization/serialize_dependency.cpp +49 -0
- package/src/duckdb/src/storage/serialization/serialize_extension_install_info.cpp +28 -0
- package/src/duckdb/src/storage/serialization/serialize_logical_operator.cpp +5 -2
- package/src/duckdb/src/storage/serialization/serialize_nodes.cpp +78 -2
- package/src/duckdb/src/storage/serialization/serialize_parse_info.cpp +21 -0
- package/src/duckdb/src/storage/serialization/serialize_tableref.cpp +16 -0
- package/src/duckdb/src/storage/serialization/serialize_types.cpp +6 -1
- package/src/duckdb/src/storage/single_file_block_manager.cpp +22 -19
- package/src/duckdb/src/storage/standard_buffer_manager.cpp +68 -40
- package/src/duckdb/src/storage/statistics/column_statistics.cpp +3 -3
- package/src/duckdb/src/storage/statistics/distinct_statistics.cpp +1 -1
- package/src/duckdb/src/storage/storage_info.cpp +67 -23
- package/src/duckdb/src/storage/storage_lock.cpp +77 -17
- package/src/duckdb/src/storage/storage_manager.cpp +73 -51
- package/src/duckdb/src/storage/table/array_column_data.cpp +13 -12
- package/src/duckdb/src/storage/table/column_data.cpp +80 -37
- package/src/duckdb/src/storage/table/column_data_checkpointer.cpp +1 -1
- package/src/duckdb/src/storage/table/column_segment.cpp +6 -5
- package/src/duckdb/src/storage/table/list_column_data.cpp +15 -14
- package/src/duckdb/src/storage/table/row_group.cpp +38 -23
- package/src/duckdb/src/storage/table/row_group_collection.cpp +52 -38
- package/src/duckdb/src/storage/table/row_version_manager.cpp +2 -2
- package/src/duckdb/src/storage/table/standard_column_data.cpp +28 -16
- package/src/duckdb/src/storage/table/struct_column_data.cpp +23 -16
- package/src/duckdb/src/storage/table/table_statistics.cpp +27 -8
- package/src/duckdb/src/storage/table/update_segment.cpp +6 -6
- package/src/duckdb/src/storage/table/validity_column_data.cpp +5 -0
- package/src/duckdb/src/storage/table_index_list.cpp +69 -42
- package/src/duckdb/src/storage/temporary_file_manager.cpp +111 -17
- package/src/duckdb/src/storage/temporary_memory_manager.cpp +4 -4
- package/src/duckdb/src/storage/wal_replay.cpp +27 -22
- package/src/duckdb/src/storage/write_ahead_log.cpp +42 -22
- package/src/duckdb/src/transaction/cleanup_state.cpp +4 -7
- package/src/duckdb/src/transaction/commit_state.cpp +17 -8
- package/src/duckdb/src/transaction/duck_transaction.cpp +60 -15
- package/src/duckdb/src/transaction/duck_transaction_manager.cpp +154 -121
- package/src/duckdb/src/transaction/meta_transaction.cpp +19 -1
- package/src/duckdb/src/transaction/rollback_state.cpp +2 -0
- package/src/duckdb/src/transaction/transaction.cpp +7 -7
- package/src/duckdb/src/transaction/undo_buffer.cpp +37 -17
- package/src/duckdb/third_party/concurrentqueue/concurrentqueue.h +5 -5
- package/src/duckdb/third_party/fsst/fsst.h +1 -1
- package/src/duckdb/third_party/jaro_winkler/details/common.hpp +9 -9
- package/src/duckdb/third_party/jaro_winkler/details/intrinsics.hpp +1 -1
- package/src/duckdb/third_party/jaro_winkler/details/jaro_impl.hpp +18 -18
- package/src/duckdb/third_party/libpg_query/include/nodes/nodes.hpp +1 -0
- package/src/duckdb/third_party/libpg_query/include/nodes/parsenodes.hpp +12 -0
- package/src/duckdb/third_party/libpg_query/include/parser/gram.hpp +555 -1032
- package/src/duckdb/third_party/libpg_query/include/parser/kwlist.hpp +3 -0
- package/src/duckdb/third_party/libpg_query/include/utils/datetime.hpp +1 -0
- package/src/duckdb/third_party/libpg_query/pg_functions.cpp +13 -6
- package/src/duckdb/third_party/libpg_query/src_backend_parser_gram.cpp +23925 -23444
- package/src/duckdb/third_party/mbedtls/library/constant_time.cpp +1 -1
- package/src/duckdb/third_party/parquet/parquet_types.cpp +3 -0
- package/src/duckdb/third_party/parquet/parquet_types.h +2 -1
- package/src/duckdb/third_party/re2/re2/compile.cc +2 -2
- package/src/duckdb/third_party/re2/re2/dfa.cc +3 -8
- package/src/duckdb/third_party/re2/re2/onepass.cc +4 -3
- package/src/duckdb/third_party/re2/re2/prog.cc +10 -10
- package/src/duckdb/third_party/re2/re2/prog.h +8 -8
- package/src/duckdb/third_party/tdigest/t_digest.hpp +6 -6
- package/src/duckdb/third_party/utf8proc/include/utf8proc.hpp +1 -1
- package/src/duckdb/third_party/yyjson/include/yyjson.hpp +7930 -0
- package/src/duckdb/third_party/yyjson/yyjson.cpp +9490 -0
- package/src/duckdb/ub_src_catalog.cpp +2 -0
- package/src/duckdb/ub_src_common.cpp +2 -0
- package/src/duckdb/ub_src_execution_index.cpp +3 -1
- package/src/duckdb/ub_src_execution_operator_helper.cpp +2 -0
- package/src/duckdb/ub_src_function_table_system.cpp +2 -0
- package/src/duckdb/ub_src_main.cpp +4 -0
- package/src/duckdb/ub_src_main_relation.cpp +2 -0
- package/src/duckdb/ub_src_optimizer.cpp +8 -8
- package/src/duckdb/ub_src_optimizer_join_order.cpp +0 -2
- package/src/duckdb/ub_src_optimizer_rule.cpp +4 -2
- package/src/duckdb/ub_src_parser_parsed_data.cpp +10 -0
- package/src/duckdb/ub_src_parser_statement.cpp +2 -0
- package/src/duckdb/ub_src_parser_tableref.cpp +2 -0
- package/src/duckdb/ub_src_planner_binder_statement.cpp +2 -0
- package/src/duckdb/ub_src_planner_binder_tableref.cpp +4 -0
- package/src/duckdb/ub_src_storage_serialization.cpp +4 -0
- package/test/query_result.test.ts +9 -0
- package/test/replacement_scan.test.ts +2 -0
- package/src/duckdb/src/catalog/catalog_entry/ub_duckdb_catalog_entries.cpp +0 -16
- package/src/duckdb/src/catalog/default/ub_duckdb_catalog_default_entries.cpp +0 -5
- package/src/duckdb/src/catalog/ub_duckdb_catalog.cpp +0 -10
- package/src/duckdb/src/common/adbc/nanoarrow/ub_duckdb_adbc_nanoarrow.cpp +0 -5
- package/src/duckdb/src/common/adbc/ub_duckdb_adbc.cpp +0 -3
- package/src/duckdb/src/common/arrow/appender/ub_duckdb_common_arrow_appender.cpp +0 -6
- package/src/duckdb/src/common/arrow/ub_duckdb_common_arrow.cpp +0 -4
- package/src/duckdb/src/common/crypto/ub_duckdb_common_crypto.cpp +0 -2
- package/src/duckdb/src/common/enums/ub_duckdb_common_enums.cpp +0 -12
- package/src/duckdb/src/common/operator/ub_duckdb_common_operators.cpp +0 -4
- package/src/duckdb/src/common/progress_bar/ub_duckdb_progress_bar.cpp +0 -3
- package/src/duckdb/src/common/row_operations/ub_duckdb_row_operations.cpp +0 -9
- package/src/duckdb/src/common/serializer/ub_duckdb_common_serializer.cpp +0 -7
- package/src/duckdb/src/common/sort/ub_duckdb_sort.cpp +0 -7
- package/src/duckdb/src/common/types/column/ub_duckdb_common_types_column.cpp +0 -6
- package/src/duckdb/src/common/types/row/ub_duckdb_common_types_row.cpp +0 -11
- package/src/duckdb/src/common/types/ub_duckdb_common_types.cpp +0 -28
- package/src/duckdb/src/common/ub_duckdb_common.cpp +0 -34
- package/src/duckdb/src/common/value_operations/ub_duckdb_value_operations.cpp +0 -2
- package/src/duckdb/src/core_functions/aggregate/algebraic/ub_duckdb_aggr_algebraic.cpp +0 -5
- package/src/duckdb/src/core_functions/aggregate/distributive/ub_duckdb_aggr_distributive.cpp +0 -13
- package/src/duckdb/src/core_functions/aggregate/holistic/ub_duckdb_aggr_holistic.cpp +0 -5
- package/src/duckdb/src/core_functions/aggregate/nested/ub_duckdb_aggr_nested.cpp +0 -3
- package/src/duckdb/src/core_functions/aggregate/regression/ub_duckdb_aggr_regr.cpp +0 -8
- package/src/duckdb/src/core_functions/scalar/bit/ub_duckdb_func_bit.cpp +0 -2
- package/src/duckdb/src/core_functions/scalar/blob/ub_duckdb_func_blob.cpp +0 -3
- package/src/duckdb/src/core_functions/scalar/date/ub_duckdb_func_date.cpp +0 -12
- package/src/duckdb/src/core_functions/scalar/debug/ub_duckdb_func_debug.cpp +0 -2
- package/src/duckdb/src/core_functions/scalar/enum/ub_duckdb_func_enum.cpp +0 -2
- package/src/duckdb/src/core_functions/scalar/generic/ub_duckdb_func_generic.cpp +0 -9
- package/src/duckdb/src/core_functions/scalar/list/ub_duckdb_func_list.cpp +0 -11
- package/src/duckdb/src/core_functions/scalar/map/ub_duckdb_func_map_nested.cpp +0 -8
- package/src/duckdb/src/core_functions/scalar/math/ub_duckdb_func_math.cpp +0 -1
- package/src/duckdb/src/core_functions/scalar/operators/ub_duckdb_func_ops.cpp +0 -1
- package/src/duckdb/src/core_functions/scalar/random/ub_duckdb_func_random.cpp +0 -3
- package/src/duckdb/src/core_functions/scalar/string/ub_duckdb_func_string.cpp +0 -26
- package/src/duckdb/src/core_functions/scalar/struct/ub_duckdb_func_struct.cpp +0 -3
- package/src/duckdb/src/core_functions/scalar/union/ub_duckdb_func_union.cpp +0 -4
- package/src/duckdb/src/core_functions/ub_duckdb_core_functions.cpp +0 -3
- package/src/duckdb/src/execution/expression_executor/ub_duckdb_expression_executor.cpp +0 -11
- package/src/duckdb/src/execution/index/art/ub_duckdb_art_index_execution.cpp +0 -12
- package/src/duckdb/src/execution/index/art/ub_duckdb_execution_index_art.cpp +0 -11
- package/src/duckdb/src/execution/index/ub_duckdb_execution_index.cpp +0 -3
- package/src/duckdb/src/execution/nested_loop_join/ub_duckdb_nested_loop_join.cpp +0 -3
- package/src/duckdb/src/execution/operator/aggregate/ub_duckdb_operator_aggregate.cpp +0 -9
- package/src/duckdb/src/execution/operator/csv_scanner/sniffer/ub_duckdb_operator_csv_sniffer.cpp +0 -7
- package/src/duckdb/src/execution/operator/csv_scanner/ub_duckdb_operator_csv_scanner.cpp +0 -10
- package/src/duckdb/src/execution/operator/filter/ub_duckdb_operator_filter.cpp +0 -2
- package/src/duckdb/src/execution/operator/helper/ub_duckdb_operator_helper.cpp +0 -18
- package/src/duckdb/src/execution/operator/join/ub_duckdb_operator_join.cpp +0 -16
- package/src/duckdb/src/execution/operator/order/ub_duckdb_operator_order.cpp +0 -3
- package/src/duckdb/src/execution/operator/persistent/ub_duckdb_operator_persistent.cpp +0 -10
- package/src/duckdb/src/execution/operator/projection/ub_duckdb_operator_projection.cpp +0 -5
- package/src/duckdb/src/execution/operator/scan/ub_duckdb_operator_scan.cpp +0 -7
- package/src/duckdb/src/execution/operator/schema/ub_duckdb_operator_schema.cpp +0 -12
- package/src/duckdb/src/execution/operator/set/ub_duckdb_operator_set.cpp +0 -4
- package/src/duckdb/src/execution/physical_plan/ub_duckdb_physical_plan.cpp +0 -44
- package/src/duckdb/src/execution/ub_duckdb_execution.cpp +0 -15
- package/src/duckdb/src/function/aggregate/algebraic/ub_duckdb_aggr_algebraic.cpp +0 -5
- package/src/duckdb/src/function/aggregate/distributive/ub_duckdb_aggr_distr.cpp +0 -3
- package/src/duckdb/src/function/aggregate/holistic/ub_duckdb_aggr_holistic.cpp +0 -5
- package/src/duckdb/src/function/aggregate/nested/ub_duckdb_aggr_nested.cpp +0 -3
- package/src/duckdb/src/function/aggregate/regression/ub_duckdb_aggr_regr.cpp +0 -8
- package/src/duckdb/src/function/aggregate/ub_duckdb_func_aggr.cpp +0 -3
- package/src/duckdb/src/function/cast/ub_duckdb_func_cast.cpp +0 -17
- package/src/duckdb/src/function/cast/union/ub_duckdb_union_cast.cpp +0 -2
- package/src/duckdb/src/function/pragma/ub_duckdb_func_pragma.cpp +0 -3
- package/src/duckdb/src/function/scalar/bit/ub_duckdb_func_bit.cpp +0 -2
- package/src/duckdb/src/function/scalar/blob/ub_duckdb_func_blob.cpp +0 -3
- package/src/duckdb/src/function/scalar/compressed_materialization/ub_duckdb_func_compressed_materialization.cpp +0 -3
- package/src/duckdb/src/function/scalar/date/ub_duckdb_func_date.cpp +0 -12
- package/src/duckdb/src/function/scalar/enum/ub_duckdb_func_enum.cpp +0 -2
- package/src/duckdb/src/function/scalar/generic/ub_duckdb_func_generic.cpp +0 -8
- package/src/duckdb/src/function/scalar/generic/ub_duckdb_func_generic_main.cpp +0 -2
- package/src/duckdb/src/function/scalar/list/ub_duckdb_func_list.cpp +0 -11
- package/src/duckdb/src/function/scalar/list/ub_duckdb_func_list_nested.cpp +0 -5
- package/src/duckdb/src/function/scalar/map/ub_duckdb_func_map_nested.cpp +0 -7
- package/src/duckdb/src/function/scalar/math/ub_duckdb_func_math.cpp +0 -4
- package/src/duckdb/src/function/scalar/operators/ub_duckdb_func_ops.cpp +0 -6
- package/src/duckdb/src/function/scalar/operators/ub_duckdb_func_ops_main.cpp +0 -5
- package/src/duckdb/src/function/scalar/sequence/ub_duckdb_func_seq.cpp +0 -2
- package/src/duckdb/src/function/scalar/string/regexp/ub_duckdb_func_string_regexp.cpp +0 -3
- package/src/duckdb/src/function/scalar/string/ub_duckdb_func_string.cpp +0 -31
- package/src/duckdb/src/function/scalar/string/ub_duckdb_func_string_main.cpp +0 -12
- package/src/duckdb/src/function/scalar/struct/ub_duckdb_func_struct.cpp +0 -4
- package/src/duckdb/src/function/scalar/struct/ub_duckdb_func_struct_main.cpp +0 -2
- package/src/duckdb/src/function/scalar/system/ub_duckdb_func_system.cpp +0 -2
- package/src/duckdb/src/function/scalar/ub_duckdb_func_scalar.cpp +0 -9
- package/src/duckdb/src/function/scalar/union/ub_duckdb_func_union.cpp +0 -4
- package/src/duckdb/src/function/table/arrow/ub_duckdb_arrow_conversion.cpp +0 -2
- package/src/duckdb/src/function/table/system/ub_duckdb_table_func_system.cpp +0 -23
- package/src/duckdb/src/function/table/ub_duckdb_func_table.cpp +0 -16
- package/src/duckdb/src/function/table/version/ub_duckdb_func_table_version.cpp +0 -2
- package/src/duckdb/src/function/ub_duckdb_function.cpp +0 -14
- package/src/duckdb/src/main/capi/cast/ub_duckdb_main_capi_cast.cpp +0 -3
- package/src/duckdb/src/main/capi/ub_duckdb_main_capi.cpp +0 -19
- package/src/duckdb/src/main/chunk_scan_state/ub_duckdb_main_chunk_scan_state.cpp +0 -2
- package/src/duckdb/src/main/extension/ub_duckdb_main_extension.cpp +0 -6
- package/src/duckdb/src/main/relation/ub_duckdb_main_relation.cpp +0 -26
- package/src/duckdb/src/main/settings/ub_duckdb_main_settings.cpp +0 -2
- package/src/duckdb/src/main/ub_duckdb_main.cpp +0 -25
- package/src/duckdb/src/optimizer/compressed_materialization/ub_duckdb_optimizer_compressed_materialization.cpp +0 -4
- package/src/duckdb/src/optimizer/join_order/ub_duckdb_optimizer_join_order.cpp +0 -12
- package/src/duckdb/src/optimizer/matcher/ub_duckdb_optimizer_matcher.cpp +0 -2
- package/src/duckdb/src/optimizer/pullup/ub_duckdb_optimizer_pullup.cpp +0 -6
- package/src/duckdb/src/optimizer/pushdown/ub_duckdb_optimizer_pushdown.cpp +0 -12
- package/src/duckdb/src/optimizer/rule/ub_duckdb_optimizer_rules.cpp +0 -16
- package/src/duckdb/src/optimizer/statistics/expression/ub_duckdb_optimizer_statistics_expr.cpp +0 -11
- package/src/duckdb/src/optimizer/statistics/operator/ub_duckdb_optimizer_statistics_op.cpp +0 -11
- package/src/duckdb/src/optimizer/ub_duckdb_optimizer.cpp +0 -20
- package/src/duckdb/src/parallel/ub_duckdb_parallel.cpp +0 -15
- package/src/duckdb/src/parser/constraints/ub_duckdb_constraints.cpp +0 -5
- package/src/duckdb/src/parser/expression/ub_duckdb_expression.cpp +0 -18
- package/src/duckdb/src/parser/parsed_data/ub_duckdb_parsed_data.cpp +0 -24
- package/src/duckdb/src/parser/query_node/ub_duckdb_query_node.cpp +0 -5
- package/src/duckdb/src/parser/statement/ub_duckdb_statement.cpp +0 -25
- package/src/duckdb/src/parser/tableref/ub_duckdb_parser_tableref.cpp +0 -8
- package/src/duckdb/src/parser/transform/constraint/ub_duckdb_transformer_constraint.cpp +0 -2
- package/src/duckdb/src/parser/transform/expression/ub_duckdb_transformer_expression.cpp +0 -20
- package/src/duckdb/src/parser/transform/helpers/ub_duckdb_transformer_helpers.cpp +0 -8
- package/src/duckdb/src/parser/transform/statement/ub_duckdb_transformer_statement.cpp +0 -37
- package/src/duckdb/src/parser/transform/tableref/ub_duckdb_transformer_tableref.cpp +0 -8
- package/src/duckdb/src/parser/ub_duckdb_parser.cpp +0 -15
- package/src/duckdb/src/planner/binder/expression/ub_duckdb_bind_expression.cpp +0 -20
- package/src/duckdb/src/planner/binder/query_node/ub_duckdb_bind_query_node.cpp +0 -12
- package/src/duckdb/src/planner/binder/statement/ub_duckdb_bind_statement.cpp +0 -26
- package/src/duckdb/src/planner/binder/tableref/ub_duckdb_bind_tableref.cpp +0 -17
- package/src/duckdb/src/planner/expression/ub_duckdb_planner_expression.cpp +0 -19
- package/src/duckdb/src/planner/expression_binder/ub_duckdb_expression_binders.cpp +0 -20
- package/src/duckdb/src/planner/filter/ub_duckdb_planner_filter.cpp +0 -4
- package/src/duckdb/src/planner/operator/ub_duckdb_planner_operator.cpp +0 -43
- package/src/duckdb/src/planner/parsed_data/ub_duckdb_planner_parsed_data.cpp +0 -2
- package/src/duckdb/src/planner/subquery/ub_duckdb_planner_subquery.cpp +0 -4
- package/src/duckdb/src/planner/ub_duckdb_planner.cpp +0 -15
- package/src/duckdb/src/storage/buffer/ub_duckdb_storage_buffer.cpp +0 -6
- package/src/duckdb/src/storage/checkpoint/ub_duckdb_storage_checkpoint.cpp +0 -5
- package/src/duckdb/src/storage/compression/chimp/ub_duckdb_storage_compression_chimp.cpp +0 -6
- package/src/duckdb/src/storage/compression/ub_duckdb_storage_compression.cpp +0 -12
- package/src/duckdb/src/storage/metadata/ub_duckdb_storage_metadata.cpp +0 -4
- package/src/duckdb/src/storage/serialization/ub_duckdb_storage_serialization.cpp +0 -16
- package/src/duckdb/src/storage/statistics/ub_duckdb_storage_statistics.cpp +0 -10
- package/src/duckdb/src/storage/table/ub_duckdb_storage_table.cpp +0 -17
- package/src/duckdb/src/storage/ub_duckdb_storage.cpp +0 -20
- package/src/duckdb/src/transaction/ub_duckdb_transaction.cpp +0 -11
@@ -1,14 +1,14 @@
|
|
1
|
-
/* A Bison parser, made by GNU Bison 2.
|
1
|
+
/* A Bison parser, made by GNU Bison 3.8.2. */
|
2
2
|
|
3
|
-
/*
|
3
|
+
/* Bison interface for Yacc-like parsers in C
|
4
4
|
|
5
|
-
Copyright (C) 1984, 1989
|
6
|
-
|
5
|
+
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
|
6
|
+
Inc.
|
7
7
|
|
8
|
-
This program is free software
|
8
|
+
This program is free software: you can redistribute it and/or modify
|
9
9
|
it under the terms of the GNU General Public License as published by
|
10
|
-
the Free Software Foundation
|
11
|
-
any later version.
|
10
|
+
the Free Software Foundation, either version 3 of the License, or
|
11
|
+
(at your option) any later version.
|
12
12
|
|
13
13
|
This program is distributed in the hope that it will be useful,
|
14
14
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
@@ -16,9 +16,7 @@
|
|
16
16
|
GNU General Public License for more details.
|
17
17
|
|
18
18
|
You should have received a copy of the GNU General Public License
|
19
|
-
along with this program
|
20
|
-
Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
21
|
-
Boston, MA 02110-1301, USA. */
|
19
|
+
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
22
20
|
|
23
21
|
/* As a special exception, you may create a larger work that contains
|
24
22
|
part or all of the Bison parser skeleton and distribute that work
|
@@ -33,1023 +31,542 @@
|
|
33
31
|
This special exception was added by the Free Software Foundation in
|
34
32
|
version 2.2 of Bison. */
|
35
33
|
|
36
|
-
/*
|
34
|
+
/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
|
35
|
+
especially those whose name start with YY_ or yy_. They are
|
36
|
+
private implementation details that can be changed or removed. */
|
37
|
+
|
38
|
+
#ifndef YY_BASE_YY_THIRD_PARTY_LIBPG_QUERY_GRAMMAR_GRAMMAR_OUT_HPP_INCLUDED
|
39
|
+
# define YY_BASE_YY_THIRD_PARTY_LIBPG_QUERY_GRAMMAR_GRAMMAR_OUT_HPP_INCLUDED
|
40
|
+
/* Debug traces. */
|
41
|
+
#ifndef YYDEBUG
|
42
|
+
# define YYDEBUG 0
|
43
|
+
#endif
|
44
|
+
#if YYDEBUG
|
45
|
+
extern int base_yydebug;
|
46
|
+
#endif
|
47
|
+
|
48
|
+
/* Token kinds. */
|
37
49
|
#ifndef YYTOKENTYPE
|
38
50
|
# define YYTOKENTYPE
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
51
|
+
enum yytokentype
|
52
|
+
{
|
53
|
+
YYEMPTY = -2,
|
54
|
+
YYEOF = 0, /* "end of file" */
|
55
|
+
YYerror = 256, /* error */
|
56
|
+
YYUNDEF = 257, /* "invalid token" */
|
57
|
+
IDENT = 258, /* IDENT */
|
58
|
+
FCONST = 259, /* FCONST */
|
59
|
+
SCONST = 260, /* SCONST */
|
60
|
+
BCONST = 261, /* BCONST */
|
61
|
+
XCONST = 262, /* XCONST */
|
62
|
+
Op = 263, /* Op */
|
63
|
+
ICONST = 264, /* ICONST */
|
64
|
+
PARAM = 265, /* PARAM */
|
65
|
+
TYPECAST = 266, /* TYPECAST */
|
66
|
+
DOT_DOT = 267, /* DOT_DOT */
|
67
|
+
COLON_EQUALS = 268, /* COLON_EQUALS */
|
68
|
+
EQUALS_GREATER = 269, /* EQUALS_GREATER */
|
69
|
+
INTEGER_DIVISION = 270, /* INTEGER_DIVISION */
|
70
|
+
POWER_OF = 271, /* POWER_OF */
|
71
|
+
LAMBDA_ARROW = 272, /* LAMBDA_ARROW */
|
72
|
+
DOUBLE_ARROW = 273, /* DOUBLE_ARROW */
|
73
|
+
LESS_EQUALS = 274, /* LESS_EQUALS */
|
74
|
+
GREATER_EQUALS = 275, /* GREATER_EQUALS */
|
75
|
+
NOT_EQUALS = 276, /* NOT_EQUALS */
|
76
|
+
ABORT_P = 277, /* ABORT_P */
|
77
|
+
ABSOLUTE_P = 278, /* ABSOLUTE_P */
|
78
|
+
ACCESS = 279, /* ACCESS */
|
79
|
+
ACTION = 280, /* ACTION */
|
80
|
+
ADD_P = 281, /* ADD_P */
|
81
|
+
ADMIN = 282, /* ADMIN */
|
82
|
+
AFTER = 283, /* AFTER */
|
83
|
+
AGGREGATE = 284, /* AGGREGATE */
|
84
|
+
ALL = 285, /* ALL */
|
85
|
+
ALSO = 286, /* ALSO */
|
86
|
+
ALTER = 287, /* ALTER */
|
87
|
+
ALWAYS = 288, /* ALWAYS */
|
88
|
+
ANALYSE = 289, /* ANALYSE */
|
89
|
+
ANALYZE = 290, /* ANALYZE */
|
90
|
+
AND = 291, /* AND */
|
91
|
+
ANTI = 292, /* ANTI */
|
92
|
+
ANY = 293, /* ANY */
|
93
|
+
ARRAY = 294, /* ARRAY */
|
94
|
+
AS = 295, /* AS */
|
95
|
+
ASC_P = 296, /* ASC_P */
|
96
|
+
ASOF = 297, /* ASOF */
|
97
|
+
ASSERTION = 298, /* ASSERTION */
|
98
|
+
ASSIGNMENT = 299, /* ASSIGNMENT */
|
99
|
+
ASYMMETRIC = 300, /* ASYMMETRIC */
|
100
|
+
AT = 301, /* AT */
|
101
|
+
ATTACH = 302, /* ATTACH */
|
102
|
+
ATTRIBUTE = 303, /* ATTRIBUTE */
|
103
|
+
AUTHORIZATION = 304, /* AUTHORIZATION */
|
104
|
+
BACKWARD = 305, /* BACKWARD */
|
105
|
+
BEFORE = 306, /* BEFORE */
|
106
|
+
BEGIN_P = 307, /* BEGIN_P */
|
107
|
+
BETWEEN = 308, /* BETWEEN */
|
108
|
+
BIGINT = 309, /* BIGINT */
|
109
|
+
BINARY = 310, /* BINARY */
|
110
|
+
BIT = 311, /* BIT */
|
111
|
+
BOOLEAN_P = 312, /* BOOLEAN_P */
|
112
|
+
BOTH = 313, /* BOTH */
|
113
|
+
BY = 314, /* BY */
|
114
|
+
CACHE = 315, /* CACHE */
|
115
|
+
CALL_P = 316, /* CALL_P */
|
116
|
+
CALLED = 317, /* CALLED */
|
117
|
+
CASCADE = 318, /* CASCADE */
|
118
|
+
CASCADED = 319, /* CASCADED */
|
119
|
+
CASE = 320, /* CASE */
|
120
|
+
CAST = 321, /* CAST */
|
121
|
+
CATALOG_P = 322, /* CATALOG_P */
|
122
|
+
CENTURIES_P = 323, /* CENTURIES_P */
|
123
|
+
CENTURY_P = 324, /* CENTURY_P */
|
124
|
+
CHAIN = 325, /* CHAIN */
|
125
|
+
CHAR_P = 326, /* CHAR_P */
|
126
|
+
CHARACTER = 327, /* CHARACTER */
|
127
|
+
CHARACTERISTICS = 328, /* CHARACTERISTICS */
|
128
|
+
CHECK_P = 329, /* CHECK_P */
|
129
|
+
CHECKPOINT = 330, /* CHECKPOINT */
|
130
|
+
CLASS = 331, /* CLASS */
|
131
|
+
CLOSE = 332, /* CLOSE */
|
132
|
+
CLUSTER = 333, /* CLUSTER */
|
133
|
+
COALESCE = 334, /* COALESCE */
|
134
|
+
COLLATE = 335, /* COLLATE */
|
135
|
+
COLLATION = 336, /* COLLATION */
|
136
|
+
COLUMN = 337, /* COLUMN */
|
137
|
+
COLUMNS = 338, /* COLUMNS */
|
138
|
+
COMMENT = 339, /* COMMENT */
|
139
|
+
COMMENTS = 340, /* COMMENTS */
|
140
|
+
COMMIT = 341, /* COMMIT */
|
141
|
+
COMMITTED = 342, /* COMMITTED */
|
142
|
+
COMPRESSION = 343, /* COMPRESSION */
|
143
|
+
CONCURRENTLY = 344, /* CONCURRENTLY */
|
144
|
+
CONFIGURATION = 345, /* CONFIGURATION */
|
145
|
+
CONFLICT = 346, /* CONFLICT */
|
146
|
+
CONNECTION = 347, /* CONNECTION */
|
147
|
+
CONSTRAINT = 348, /* CONSTRAINT */
|
148
|
+
CONSTRAINTS = 349, /* CONSTRAINTS */
|
149
|
+
CONTENT_P = 350, /* CONTENT_P */
|
150
|
+
CONTINUE_P = 351, /* CONTINUE_P */
|
151
|
+
CONVERSION_P = 352, /* CONVERSION_P */
|
152
|
+
COPY = 353, /* COPY */
|
153
|
+
COST = 354, /* COST */
|
154
|
+
CREATE_P = 355, /* CREATE_P */
|
155
|
+
CROSS = 356, /* CROSS */
|
156
|
+
CSV = 357, /* CSV */
|
157
|
+
CUBE = 358, /* CUBE */
|
158
|
+
CURRENT_P = 359, /* CURRENT_P */
|
159
|
+
CURSOR = 360, /* CURSOR */
|
160
|
+
CYCLE = 361, /* CYCLE */
|
161
|
+
DATA_P = 362, /* DATA_P */
|
162
|
+
DATABASE = 363, /* DATABASE */
|
163
|
+
DAY_P = 364, /* DAY_P */
|
164
|
+
DAYS_P = 365, /* DAYS_P */
|
165
|
+
DEALLOCATE = 366, /* DEALLOCATE */
|
166
|
+
DEC = 367, /* DEC */
|
167
|
+
DECADE_P = 368, /* DECADE_P */
|
168
|
+
DECADES_P = 369, /* DECADES_P */
|
169
|
+
DECIMAL_P = 370, /* DECIMAL_P */
|
170
|
+
DECLARE = 371, /* DECLARE */
|
171
|
+
DEFAULT = 372, /* DEFAULT */
|
172
|
+
DEFAULTS = 373, /* DEFAULTS */
|
173
|
+
DEFERRABLE = 374, /* DEFERRABLE */
|
174
|
+
DEFERRED = 375, /* DEFERRED */
|
175
|
+
DEFINER = 376, /* DEFINER */
|
176
|
+
DELETE_P = 377, /* DELETE_P */
|
177
|
+
DELIMITER = 378, /* DELIMITER */
|
178
|
+
DELIMITERS = 379, /* DELIMITERS */
|
179
|
+
DEPENDS = 380, /* DEPENDS */
|
180
|
+
DESC_P = 381, /* DESC_P */
|
181
|
+
DESCRIBE = 382, /* DESCRIBE */
|
182
|
+
DETACH = 383, /* DETACH */
|
183
|
+
DICTIONARY = 384, /* DICTIONARY */
|
184
|
+
DISABLE_P = 385, /* DISABLE_P */
|
185
|
+
DISCARD = 386, /* DISCARD */
|
186
|
+
DISTINCT = 387, /* DISTINCT */
|
187
|
+
DO = 388, /* DO */
|
188
|
+
DOCUMENT_P = 389, /* DOCUMENT_P */
|
189
|
+
DOMAIN_P = 390, /* DOMAIN_P */
|
190
|
+
DOUBLE_P = 391, /* DOUBLE_P */
|
191
|
+
DROP = 392, /* DROP */
|
192
|
+
EACH = 393, /* EACH */
|
193
|
+
ELSE = 394, /* ELSE */
|
194
|
+
ENABLE_P = 395, /* ENABLE_P */
|
195
|
+
ENCODING = 396, /* ENCODING */
|
196
|
+
ENCRYPTED = 397, /* ENCRYPTED */
|
197
|
+
END_P = 398, /* END_P */
|
198
|
+
ENUM_P = 399, /* ENUM_P */
|
199
|
+
ESCAPE = 400, /* ESCAPE */
|
200
|
+
EVENT = 401, /* EVENT */
|
201
|
+
EXCEPT = 402, /* EXCEPT */
|
202
|
+
EXCLUDE = 403, /* EXCLUDE */
|
203
|
+
EXCLUDING = 404, /* EXCLUDING */
|
204
|
+
EXCLUSIVE = 405, /* EXCLUSIVE */
|
205
|
+
EXECUTE = 406, /* EXECUTE */
|
206
|
+
EXISTS = 407, /* EXISTS */
|
207
|
+
EXPLAIN = 408, /* EXPLAIN */
|
208
|
+
EXPORT_P = 409, /* EXPORT_P */
|
209
|
+
EXPORT_STATE = 410, /* EXPORT_STATE */
|
210
|
+
EXTENSION = 411, /* EXTENSION */
|
211
|
+
EXTENSIONS = 412, /* EXTENSIONS */
|
212
|
+
EXTERNAL = 413, /* EXTERNAL */
|
213
|
+
EXTRACT = 414, /* EXTRACT */
|
214
|
+
FALSE_P = 415, /* FALSE_P */
|
215
|
+
FAMILY = 416, /* FAMILY */
|
216
|
+
FETCH = 417, /* FETCH */
|
217
|
+
FILTER = 418, /* FILTER */
|
218
|
+
FIRST_P = 419, /* FIRST_P */
|
219
|
+
FLOAT_P = 420, /* FLOAT_P */
|
220
|
+
FOLLOWING = 421, /* FOLLOWING */
|
221
|
+
FOR = 422, /* FOR */
|
222
|
+
FORCE = 423, /* FORCE */
|
223
|
+
FOREIGN = 424, /* FOREIGN */
|
224
|
+
FORWARD = 425, /* FORWARD */
|
225
|
+
FREEZE = 426, /* FREEZE */
|
226
|
+
FROM = 427, /* FROM */
|
227
|
+
FULL = 428, /* FULL */
|
228
|
+
FUNCTION = 429, /* FUNCTION */
|
229
|
+
FUNCTIONS = 430, /* FUNCTIONS */
|
230
|
+
GENERATED = 431, /* GENERATED */
|
231
|
+
GLOB = 432, /* GLOB */
|
232
|
+
GLOBAL = 433, /* GLOBAL */
|
233
|
+
GRANT = 434, /* GRANT */
|
234
|
+
GRANTED = 435, /* GRANTED */
|
235
|
+
GROUP_P = 436, /* GROUP_P */
|
236
|
+
GROUPING = 437, /* GROUPING */
|
237
|
+
GROUPING_ID = 438, /* GROUPING_ID */
|
238
|
+
GROUPS = 439, /* GROUPS */
|
239
|
+
HANDLER = 440, /* HANDLER */
|
240
|
+
HAVING = 441, /* HAVING */
|
241
|
+
HEADER_P = 442, /* HEADER_P */
|
242
|
+
HOLD = 443, /* HOLD */
|
243
|
+
HOUR_P = 444, /* HOUR_P */
|
244
|
+
HOURS_P = 445, /* HOURS_P */
|
245
|
+
IDENTITY_P = 446, /* IDENTITY_P */
|
246
|
+
IF_P = 447, /* IF_P */
|
247
|
+
IGNORE_P = 448, /* IGNORE_P */
|
248
|
+
ILIKE = 449, /* ILIKE */
|
249
|
+
IMMEDIATE = 450, /* IMMEDIATE */
|
250
|
+
IMMUTABLE = 451, /* IMMUTABLE */
|
251
|
+
IMPLICIT_P = 452, /* IMPLICIT_P */
|
252
|
+
IMPORT_P = 453, /* IMPORT_P */
|
253
|
+
IN_P = 454, /* IN_P */
|
254
|
+
INCLUDE_P = 455, /* INCLUDE_P */
|
255
|
+
INCLUDING = 456, /* INCLUDING */
|
256
|
+
INCREMENT = 457, /* INCREMENT */
|
257
|
+
INDEX = 458, /* INDEX */
|
258
|
+
INDEXES = 459, /* INDEXES */
|
259
|
+
INHERIT = 460, /* INHERIT */
|
260
|
+
INHERITS = 461, /* INHERITS */
|
261
|
+
INITIALLY = 462, /* INITIALLY */
|
262
|
+
INLINE_P = 463, /* INLINE_P */
|
263
|
+
INNER_P = 464, /* INNER_P */
|
264
|
+
INOUT = 465, /* INOUT */
|
265
|
+
INPUT_P = 466, /* INPUT_P */
|
266
|
+
INSENSITIVE = 467, /* INSENSITIVE */
|
267
|
+
INSERT = 468, /* INSERT */
|
268
|
+
INSTALL = 469, /* INSTALL */
|
269
|
+
INSTEAD = 470, /* INSTEAD */
|
270
|
+
INT_P = 471, /* INT_P */
|
271
|
+
INTEGER = 472, /* INTEGER */
|
272
|
+
INTERSECT = 473, /* INTERSECT */
|
273
|
+
INTERVAL = 474, /* INTERVAL */
|
274
|
+
INTO = 475, /* INTO */
|
275
|
+
INVOKER = 476, /* INVOKER */
|
276
|
+
IS = 477, /* IS */
|
277
|
+
ISNULL = 478, /* ISNULL */
|
278
|
+
ISOLATION = 479, /* ISOLATION */
|
279
|
+
JOIN = 480, /* JOIN */
|
280
|
+
JSON = 481, /* JSON */
|
281
|
+
KEY = 482, /* KEY */
|
282
|
+
LABEL = 483, /* LABEL */
|
283
|
+
LANGUAGE = 484, /* LANGUAGE */
|
284
|
+
LARGE_P = 485, /* LARGE_P */
|
285
|
+
LAST_P = 486, /* LAST_P */
|
286
|
+
LATERAL_P = 487, /* LATERAL_P */
|
287
|
+
LEADING = 488, /* LEADING */
|
288
|
+
LEAKPROOF = 489, /* LEAKPROOF */
|
289
|
+
LEFT = 490, /* LEFT */
|
290
|
+
LEVEL = 491, /* LEVEL */
|
291
|
+
LIKE = 492, /* LIKE */
|
292
|
+
LIMIT = 493, /* LIMIT */
|
293
|
+
LISTEN = 494, /* LISTEN */
|
294
|
+
LOAD = 495, /* LOAD */
|
295
|
+
LOCAL = 496, /* LOCAL */
|
296
|
+
LOCATION = 497, /* LOCATION */
|
297
|
+
LOCK_P = 498, /* LOCK_P */
|
298
|
+
LOCKED = 499, /* LOCKED */
|
299
|
+
LOGGED = 500, /* LOGGED */
|
300
|
+
MACRO = 501, /* MACRO */
|
301
|
+
MAP = 502, /* MAP */
|
302
|
+
MAPPING = 503, /* MAPPING */
|
303
|
+
MATCH = 504, /* MATCH */
|
304
|
+
MATERIALIZED = 505, /* MATERIALIZED */
|
305
|
+
MAXVALUE = 506, /* MAXVALUE */
|
306
|
+
METHOD = 507, /* METHOD */
|
307
|
+
MICROSECOND_P = 508, /* MICROSECOND_P */
|
308
|
+
MICROSECONDS_P = 509, /* MICROSECONDS_P */
|
309
|
+
MILLENNIA_P = 510, /* MILLENNIA_P */
|
310
|
+
MILLENNIUM_P = 511, /* MILLENNIUM_P */
|
311
|
+
MILLISECOND_P = 512, /* MILLISECOND_P */
|
312
|
+
MILLISECONDS_P = 513, /* MILLISECONDS_P */
|
313
|
+
MINUTE_P = 514, /* MINUTE_P */
|
314
|
+
MINUTES_P = 515, /* MINUTES_P */
|
315
|
+
MINVALUE = 516, /* MINVALUE */
|
316
|
+
MODE = 517, /* MODE */
|
317
|
+
MONTH_P = 518, /* MONTH_P */
|
318
|
+
MONTHS_P = 519, /* MONTHS_P */
|
319
|
+
MOVE = 520, /* MOVE */
|
320
|
+
NAME_P = 521, /* NAME_P */
|
321
|
+
NAMES = 522, /* NAMES */
|
322
|
+
NATIONAL = 523, /* NATIONAL */
|
323
|
+
NATURAL = 524, /* NATURAL */
|
324
|
+
NCHAR = 525, /* NCHAR */
|
325
|
+
NEW = 526, /* NEW */
|
326
|
+
NEXT = 527, /* NEXT */
|
327
|
+
NO = 528, /* NO */
|
328
|
+
NONE = 529, /* NONE */
|
329
|
+
NOT = 530, /* NOT */
|
330
|
+
NOTHING = 531, /* NOTHING */
|
331
|
+
NOTIFY = 532, /* NOTIFY */
|
332
|
+
NOTNULL = 533, /* NOTNULL */
|
333
|
+
NOWAIT = 534, /* NOWAIT */
|
334
|
+
NULL_P = 535, /* NULL_P */
|
335
|
+
NULLIF = 536, /* NULLIF */
|
336
|
+
NULLS_P = 537, /* NULLS_P */
|
337
|
+
NUMERIC = 538, /* NUMERIC */
|
338
|
+
OBJECT_P = 539, /* OBJECT_P */
|
339
|
+
OF = 540, /* OF */
|
340
|
+
OFF = 541, /* OFF */
|
341
|
+
OFFSET = 542, /* OFFSET */
|
342
|
+
OIDS = 543, /* OIDS */
|
343
|
+
OLD = 544, /* OLD */
|
344
|
+
ON = 545, /* ON */
|
345
|
+
ONLY = 546, /* ONLY */
|
346
|
+
OPERATOR = 547, /* OPERATOR */
|
347
|
+
OPTION = 548, /* OPTION */
|
348
|
+
OPTIONS = 549, /* OPTIONS */
|
349
|
+
OR = 550, /* OR */
|
350
|
+
ORDER = 551, /* ORDER */
|
351
|
+
ORDINALITY = 552, /* ORDINALITY */
|
352
|
+
OTHERS = 553, /* OTHERS */
|
353
|
+
OUT_P = 554, /* OUT_P */
|
354
|
+
OUTER_P = 555, /* OUTER_P */
|
355
|
+
OVER = 556, /* OVER */
|
356
|
+
OVERLAPS = 557, /* OVERLAPS */
|
357
|
+
OVERLAY = 558, /* OVERLAY */
|
358
|
+
OVERRIDING = 559, /* OVERRIDING */
|
359
|
+
OWNED = 560, /* OWNED */
|
360
|
+
OWNER = 561, /* OWNER */
|
361
|
+
PARALLEL = 562, /* PARALLEL */
|
362
|
+
PARSER = 563, /* PARSER */
|
363
|
+
PARTIAL = 564, /* PARTIAL */
|
364
|
+
PARTITION = 565, /* PARTITION */
|
365
|
+
PASSING = 566, /* PASSING */
|
366
|
+
PASSWORD = 567, /* PASSWORD */
|
367
|
+
PERCENT = 568, /* PERCENT */
|
368
|
+
PERSISTENT = 569, /* PERSISTENT */
|
369
|
+
PIVOT = 570, /* PIVOT */
|
370
|
+
PIVOT_LONGER = 571, /* PIVOT_LONGER */
|
371
|
+
PIVOT_WIDER = 572, /* PIVOT_WIDER */
|
372
|
+
PLACING = 573, /* PLACING */
|
373
|
+
PLANS = 574, /* PLANS */
|
374
|
+
POLICY = 575, /* POLICY */
|
375
|
+
POSITION = 576, /* POSITION */
|
376
|
+
POSITIONAL = 577, /* POSITIONAL */
|
377
|
+
PRAGMA_P = 578, /* PRAGMA_P */
|
378
|
+
PRECEDING = 579, /* PRECEDING */
|
379
|
+
PRECISION = 580, /* PRECISION */
|
380
|
+
PREPARE = 581, /* PREPARE */
|
381
|
+
PREPARED = 582, /* PREPARED */
|
382
|
+
PRESERVE = 583, /* PRESERVE */
|
383
|
+
PRIMARY = 584, /* PRIMARY */
|
384
|
+
PRIOR = 585, /* PRIOR */
|
385
|
+
PRIVILEGES = 586, /* PRIVILEGES */
|
386
|
+
PROCEDURAL = 587, /* PROCEDURAL */
|
387
|
+
PROCEDURE = 588, /* PROCEDURE */
|
388
|
+
PROGRAM = 589, /* PROGRAM */
|
389
|
+
PUBLICATION = 590, /* PUBLICATION */
|
390
|
+
QUALIFY = 591, /* QUALIFY */
|
391
|
+
QUARTER_P = 592, /* QUARTER_P */
|
392
|
+
QUARTERS_P = 593, /* QUARTERS_P */
|
393
|
+
QUOTE = 594, /* QUOTE */
|
394
|
+
RANGE = 595, /* RANGE */
|
395
|
+
READ_P = 596, /* READ_P */
|
396
|
+
REAL = 597, /* REAL */
|
397
|
+
REASSIGN = 598, /* REASSIGN */
|
398
|
+
RECHECK = 599, /* RECHECK */
|
399
|
+
RECURSIVE = 600, /* RECURSIVE */
|
400
|
+
REF = 601, /* REF */
|
401
|
+
REFERENCES = 602, /* REFERENCES */
|
402
|
+
REFERENCING = 603, /* REFERENCING */
|
403
|
+
REFRESH = 604, /* REFRESH */
|
404
|
+
REINDEX = 605, /* REINDEX */
|
405
|
+
RELATIVE_P = 606, /* RELATIVE_P */
|
406
|
+
RELEASE = 607, /* RELEASE */
|
407
|
+
RENAME = 608, /* RENAME */
|
408
|
+
REPEATABLE = 609, /* REPEATABLE */
|
409
|
+
REPLACE = 610, /* REPLACE */
|
410
|
+
REPLICA = 611, /* REPLICA */
|
411
|
+
RESET = 612, /* RESET */
|
412
|
+
RESPECT_P = 613, /* RESPECT_P */
|
413
|
+
RESTART = 614, /* RESTART */
|
414
|
+
RESTRICT = 615, /* RESTRICT */
|
415
|
+
RETURNING = 616, /* RETURNING */
|
416
|
+
RETURNS = 617, /* RETURNS */
|
417
|
+
REVOKE = 618, /* REVOKE */
|
418
|
+
RIGHT = 619, /* RIGHT */
|
419
|
+
ROLE = 620, /* ROLE */
|
420
|
+
ROLLBACK = 621, /* ROLLBACK */
|
421
|
+
ROLLUP = 622, /* ROLLUP */
|
422
|
+
ROW = 623, /* ROW */
|
423
|
+
ROWS = 624, /* ROWS */
|
424
|
+
RULE = 625, /* RULE */
|
425
|
+
SAMPLE = 626, /* SAMPLE */
|
426
|
+
SAVEPOINT = 627, /* SAVEPOINT */
|
427
|
+
SCHEMA = 628, /* SCHEMA */
|
428
|
+
SCHEMAS = 629, /* SCHEMAS */
|
429
|
+
SCOPE = 630, /* SCOPE */
|
430
|
+
SCROLL = 631, /* SCROLL */
|
431
|
+
SEARCH = 632, /* SEARCH */
|
432
|
+
SECOND_P = 633, /* SECOND_P */
|
433
|
+
SECONDS_P = 634, /* SECONDS_P */
|
434
|
+
SECRET = 635, /* SECRET */
|
435
|
+
SECURITY = 636, /* SECURITY */
|
436
|
+
SELECT = 637, /* SELECT */
|
437
|
+
SEMI = 638, /* SEMI */
|
438
|
+
SEQUENCE = 639, /* SEQUENCE */
|
439
|
+
SEQUENCES = 640, /* SEQUENCES */
|
440
|
+
SERIALIZABLE = 641, /* SERIALIZABLE */
|
441
|
+
SERVER = 642, /* SERVER */
|
442
|
+
SESSION = 643, /* SESSION */
|
443
|
+
SET = 644, /* SET */
|
444
|
+
SETOF = 645, /* SETOF */
|
445
|
+
SETS = 646, /* SETS */
|
446
|
+
SHARE = 647, /* SHARE */
|
447
|
+
SHOW = 648, /* SHOW */
|
448
|
+
SIMILAR = 649, /* SIMILAR */
|
449
|
+
SIMPLE = 650, /* SIMPLE */
|
450
|
+
SKIP = 651, /* SKIP */
|
451
|
+
SMALLINT = 652, /* SMALLINT */
|
452
|
+
SNAPSHOT = 653, /* SNAPSHOT */
|
453
|
+
SOME = 654, /* SOME */
|
454
|
+
SQL_P = 655, /* SQL_P */
|
455
|
+
STABLE = 656, /* STABLE */
|
456
|
+
STANDALONE_P = 657, /* STANDALONE_P */
|
457
|
+
START = 658, /* START */
|
458
|
+
STATEMENT = 659, /* STATEMENT */
|
459
|
+
STATISTICS = 660, /* STATISTICS */
|
460
|
+
STDIN = 661, /* STDIN */
|
461
|
+
STDOUT = 662, /* STDOUT */
|
462
|
+
STORAGE = 663, /* STORAGE */
|
463
|
+
STORED = 664, /* STORED */
|
464
|
+
STRICT_P = 665, /* STRICT_P */
|
465
|
+
STRIP_P = 666, /* STRIP_P */
|
466
|
+
STRUCT = 667, /* STRUCT */
|
467
|
+
SUBSCRIPTION = 668, /* SUBSCRIPTION */
|
468
|
+
SUBSTRING = 669, /* SUBSTRING */
|
469
|
+
SUMMARIZE = 670, /* SUMMARIZE */
|
470
|
+
SYMMETRIC = 671, /* SYMMETRIC */
|
471
|
+
SYSID = 672, /* SYSID */
|
472
|
+
SYSTEM_P = 673, /* SYSTEM_P */
|
473
|
+
TABLE = 674, /* TABLE */
|
474
|
+
TABLES = 675, /* TABLES */
|
475
|
+
TABLESAMPLE = 676, /* TABLESAMPLE */
|
476
|
+
TABLESPACE = 677, /* TABLESPACE */
|
477
|
+
TEMP = 678, /* TEMP */
|
478
|
+
TEMPLATE = 679, /* TEMPLATE */
|
479
|
+
TEMPORARY = 680, /* TEMPORARY */
|
480
|
+
TEXT_P = 681, /* TEXT_P */
|
481
|
+
THEN = 682, /* THEN */
|
482
|
+
TIES = 683, /* TIES */
|
483
|
+
TIME = 684, /* TIME */
|
484
|
+
TIMESTAMP = 685, /* TIMESTAMP */
|
485
|
+
TO = 686, /* TO */
|
486
|
+
TRAILING = 687, /* TRAILING */
|
487
|
+
TRANSACTION = 688, /* TRANSACTION */
|
488
|
+
TRANSFORM = 689, /* TRANSFORM */
|
489
|
+
TREAT = 690, /* TREAT */
|
490
|
+
TRIGGER = 691, /* TRIGGER */
|
491
|
+
TRIM = 692, /* TRIM */
|
492
|
+
TRUE_P = 693, /* TRUE_P */
|
493
|
+
TRUNCATE = 694, /* TRUNCATE */
|
494
|
+
TRUSTED = 695, /* TRUSTED */
|
495
|
+
TRY_CAST = 696, /* TRY_CAST */
|
496
|
+
TYPE_P = 697, /* TYPE_P */
|
497
|
+
TYPES_P = 698, /* TYPES_P */
|
498
|
+
UNBOUNDED = 699, /* UNBOUNDED */
|
499
|
+
UNCOMMITTED = 700, /* UNCOMMITTED */
|
500
|
+
UNENCRYPTED = 701, /* UNENCRYPTED */
|
501
|
+
UNION = 702, /* UNION */
|
502
|
+
UNIQUE = 703, /* UNIQUE */
|
503
|
+
UNKNOWN = 704, /* UNKNOWN */
|
504
|
+
UNLISTEN = 705, /* UNLISTEN */
|
505
|
+
UNLOGGED = 706, /* UNLOGGED */
|
506
|
+
UNPIVOT = 707, /* UNPIVOT */
|
507
|
+
UNTIL = 708, /* UNTIL */
|
508
|
+
UPDATE = 709, /* UPDATE */
|
509
|
+
USE_P = 710, /* USE_P */
|
510
|
+
USER = 711, /* USER */
|
511
|
+
USING = 712, /* USING */
|
512
|
+
VACUUM = 713, /* VACUUM */
|
513
|
+
VALID = 714, /* VALID */
|
514
|
+
VALIDATE = 715, /* VALIDATE */
|
515
|
+
VALIDATOR = 716, /* VALIDATOR */
|
516
|
+
VALUE_P = 717, /* VALUE_P */
|
517
|
+
VALUES = 718, /* VALUES */
|
518
|
+
VARCHAR = 719, /* VARCHAR */
|
519
|
+
VARIADIC = 720, /* VARIADIC */
|
520
|
+
VARYING = 721, /* VARYING */
|
521
|
+
VERBOSE = 722, /* VERBOSE */
|
522
|
+
VERSION_P = 723, /* VERSION_P */
|
523
|
+
VIEW = 724, /* VIEW */
|
524
|
+
VIEWS = 725, /* VIEWS */
|
525
|
+
VIRTUAL = 726, /* VIRTUAL */
|
526
|
+
VOLATILE = 727, /* VOLATILE */
|
527
|
+
WEEK_P = 728, /* WEEK_P */
|
528
|
+
WEEKS_P = 729, /* WEEKS_P */
|
529
|
+
WHEN = 730, /* WHEN */
|
530
|
+
WHERE = 731, /* WHERE */
|
531
|
+
WHITESPACE_P = 732, /* WHITESPACE_P */
|
532
|
+
WINDOW = 733, /* WINDOW */
|
533
|
+
WITH = 734, /* WITH */
|
534
|
+
WITHIN = 735, /* WITHIN */
|
535
|
+
WITHOUT = 736, /* WITHOUT */
|
536
|
+
WORK = 737, /* WORK */
|
537
|
+
WRAPPER = 738, /* WRAPPER */
|
538
|
+
WRITE_P = 739, /* WRITE_P */
|
539
|
+
XML_P = 740, /* XML_P */
|
540
|
+
XMLATTRIBUTES = 741, /* XMLATTRIBUTES */
|
541
|
+
XMLCONCAT = 742, /* XMLCONCAT */
|
542
|
+
XMLELEMENT = 743, /* XMLELEMENT */
|
543
|
+
XMLEXISTS = 744, /* XMLEXISTS */
|
544
|
+
XMLFOREST = 745, /* XMLFOREST */
|
545
|
+
XMLNAMESPACES = 746, /* XMLNAMESPACES */
|
546
|
+
XMLPARSE = 747, /* XMLPARSE */
|
547
|
+
XMLPI = 748, /* XMLPI */
|
548
|
+
XMLROOT = 749, /* XMLROOT */
|
549
|
+
XMLSERIALIZE = 750, /* XMLSERIALIZE */
|
550
|
+
XMLTABLE = 751, /* XMLTABLE */
|
551
|
+
YEAR_P = 752, /* YEAR_P */
|
552
|
+
YEARS_P = 753, /* YEARS_P */
|
553
|
+
YES_P = 754, /* YES_P */
|
554
|
+
ZONE = 755, /* ZONE */
|
555
|
+
NOT_LA = 756, /* NOT_LA */
|
556
|
+
NULLS_LA = 757, /* NULLS_LA */
|
557
|
+
WITH_LA = 758, /* WITH_LA */
|
558
|
+
POSTFIXOP = 759, /* POSTFIXOP */
|
559
|
+
UMINUS = 760 /* UMINUS */
|
560
|
+
};
|
561
|
+
typedef enum yytokentype yytoken_kind_t;
|
543
562
|
#endif
|
544
|
-
/* Tokens. */
|
545
|
-
#define IDENT 258
|
546
|
-
#define FCONST 259
|
547
|
-
#define SCONST 260
|
548
|
-
#define BCONST 261
|
549
|
-
#define XCONST 262
|
550
|
-
#define Op 263
|
551
|
-
#define ICONST 264
|
552
|
-
#define PARAM 265
|
553
|
-
#define TYPECAST 266
|
554
|
-
#define DOT_DOT 267
|
555
|
-
#define COLON_EQUALS 268
|
556
|
-
#define EQUALS_GREATER 269
|
557
|
-
#define INTEGER_DIVISION 270
|
558
|
-
#define POWER_OF 271
|
559
|
-
#define LAMBDA_ARROW 272
|
560
|
-
#define DOUBLE_ARROW 273
|
561
|
-
#define LESS_EQUALS 274
|
562
|
-
#define GREATER_EQUALS 275
|
563
|
-
#define NOT_EQUALS 276
|
564
|
-
#define ABORT_P 277
|
565
|
-
#define ABSOLUTE_P 278
|
566
|
-
#define ACCESS 279
|
567
|
-
#define ACTION 280
|
568
|
-
#define ADD_P 281
|
569
|
-
#define ADMIN 282
|
570
|
-
#define AFTER 283
|
571
|
-
#define AGGREGATE 284
|
572
|
-
#define ALL 285
|
573
|
-
#define ALSO 286
|
574
|
-
#define ALTER 287
|
575
|
-
#define ALWAYS 288
|
576
|
-
#define ANALYSE 289
|
577
|
-
#define ANALYZE 290
|
578
|
-
#define AND 291
|
579
|
-
#define ANTI 292
|
580
|
-
#define ANY 293
|
581
|
-
#define ARRAY 294
|
582
|
-
#define AS 295
|
583
|
-
#define ASC_P 296
|
584
|
-
#define ASOF 297
|
585
|
-
#define ASSERTION 298
|
586
|
-
#define ASSIGNMENT 299
|
587
|
-
#define ASYMMETRIC 300
|
588
|
-
#define AT 301
|
589
|
-
#define ATTACH 302
|
590
|
-
#define ATTRIBUTE 303
|
591
|
-
#define AUTHORIZATION 304
|
592
|
-
#define BACKWARD 305
|
593
|
-
#define BEFORE 306
|
594
|
-
#define BEGIN_P 307
|
595
|
-
#define BETWEEN 308
|
596
|
-
#define BIGINT 309
|
597
|
-
#define BINARY 310
|
598
|
-
#define BIT 311
|
599
|
-
#define BOOLEAN_P 312
|
600
|
-
#define BOTH 313
|
601
|
-
#define BY 314
|
602
|
-
#define CACHE 315
|
603
|
-
#define CALL_P 316
|
604
|
-
#define CALLED 317
|
605
|
-
#define CASCADE 318
|
606
|
-
#define CASCADED 319
|
607
|
-
#define CASE 320
|
608
|
-
#define CAST 321
|
609
|
-
#define CATALOG_P 322
|
610
|
-
#define CENTURIES_P 323
|
611
|
-
#define CENTURY_P 324
|
612
|
-
#define CHAIN 325
|
613
|
-
#define CHAR_P 326
|
614
|
-
#define CHARACTER 327
|
615
|
-
#define CHARACTERISTICS 328
|
616
|
-
#define CHECK_P 329
|
617
|
-
#define CHECKPOINT 330
|
618
|
-
#define CLASS 331
|
619
|
-
#define CLOSE 332
|
620
|
-
#define CLUSTER 333
|
621
|
-
#define COALESCE 334
|
622
|
-
#define COLLATE 335
|
623
|
-
#define COLLATION 336
|
624
|
-
#define COLUMN 337
|
625
|
-
#define COLUMNS 338
|
626
|
-
#define COMMENT 339
|
627
|
-
#define COMMENTS 340
|
628
|
-
#define COMMIT 341
|
629
|
-
#define COMMITTED 342
|
630
|
-
#define COMPRESSION 343
|
631
|
-
#define CONCURRENTLY 344
|
632
|
-
#define CONFIGURATION 345
|
633
|
-
#define CONFLICT 346
|
634
|
-
#define CONNECTION 347
|
635
|
-
#define CONSTRAINT 348
|
636
|
-
#define CONSTRAINTS 349
|
637
|
-
#define CONTENT_P 350
|
638
|
-
#define CONTINUE_P 351
|
639
|
-
#define CONVERSION_P 352
|
640
|
-
#define COPY 353
|
641
|
-
#define COST 354
|
642
|
-
#define CREATE_P 355
|
643
|
-
#define CROSS 356
|
644
|
-
#define CSV 357
|
645
|
-
#define CUBE 358
|
646
|
-
#define CURRENT_P 359
|
647
|
-
#define CURSOR 360
|
648
|
-
#define CYCLE 361
|
649
|
-
#define DATA_P 362
|
650
|
-
#define DATABASE 363
|
651
|
-
#define DAY_P 364
|
652
|
-
#define DAYS_P 365
|
653
|
-
#define DEALLOCATE 366
|
654
|
-
#define DEC 367
|
655
|
-
#define DECADE_P 368
|
656
|
-
#define DECADES_P 369
|
657
|
-
#define DECIMAL_P 370
|
658
|
-
#define DECLARE 371
|
659
|
-
#define DEFAULT 372
|
660
|
-
#define DEFAULTS 373
|
661
|
-
#define DEFERRABLE 374
|
662
|
-
#define DEFERRED 375
|
663
|
-
#define DEFINER 376
|
664
|
-
#define DELETE_P 377
|
665
|
-
#define DELIMITER 378
|
666
|
-
#define DELIMITERS 379
|
667
|
-
#define DEPENDS 380
|
668
|
-
#define DESC_P 381
|
669
|
-
#define DESCRIBE 382
|
670
|
-
#define DETACH 383
|
671
|
-
#define DICTIONARY 384
|
672
|
-
#define DISABLE_P 385
|
673
|
-
#define DISCARD 386
|
674
|
-
#define DISTINCT 387
|
675
|
-
#define DO 388
|
676
|
-
#define DOCUMENT_P 389
|
677
|
-
#define DOMAIN_P 390
|
678
|
-
#define DOUBLE_P 391
|
679
|
-
#define DROP 392
|
680
|
-
#define EACH 393
|
681
|
-
#define ELSE 394
|
682
|
-
#define ENABLE_P 395
|
683
|
-
#define ENCODING 396
|
684
|
-
#define ENCRYPTED 397
|
685
|
-
#define END_P 398
|
686
|
-
#define ENUM_P 399
|
687
|
-
#define ESCAPE 400
|
688
|
-
#define EVENT 401
|
689
|
-
#define EXCEPT 402
|
690
|
-
#define EXCLUDE 403
|
691
|
-
#define EXCLUDING 404
|
692
|
-
#define EXCLUSIVE 405
|
693
|
-
#define EXECUTE 406
|
694
|
-
#define EXISTS 407
|
695
|
-
#define EXPLAIN 408
|
696
|
-
#define EXPORT_P 409
|
697
|
-
#define EXPORT_STATE 410
|
698
|
-
#define EXTENSION 411
|
699
|
-
#define EXTERNAL 412
|
700
|
-
#define EXTRACT 413
|
701
|
-
#define FALSE_P 414
|
702
|
-
#define FAMILY 415
|
703
|
-
#define FETCH 416
|
704
|
-
#define FILTER 417
|
705
|
-
#define FIRST_P 418
|
706
|
-
#define FLOAT_P 419
|
707
|
-
#define FOLLOWING 420
|
708
|
-
#define FOR 421
|
709
|
-
#define FORCE 422
|
710
|
-
#define FOREIGN 423
|
711
|
-
#define FORWARD 424
|
712
|
-
#define FREEZE 425
|
713
|
-
#define FROM 426
|
714
|
-
#define FULL 427
|
715
|
-
#define FUNCTION 428
|
716
|
-
#define FUNCTIONS 429
|
717
|
-
#define GENERATED 430
|
718
|
-
#define GLOB 431
|
719
|
-
#define GLOBAL 432
|
720
|
-
#define GRANT 433
|
721
|
-
#define GRANTED 434
|
722
|
-
#define GROUP_P 435
|
723
|
-
#define GROUPING 436
|
724
|
-
#define GROUPING_ID 437
|
725
|
-
#define GROUPS 438
|
726
|
-
#define HANDLER 439
|
727
|
-
#define HAVING 440
|
728
|
-
#define HEADER_P 441
|
729
|
-
#define HOLD 442
|
730
|
-
#define HOUR_P 443
|
731
|
-
#define HOURS_P 444
|
732
|
-
#define IDENTITY_P 445
|
733
|
-
#define IF_P 446
|
734
|
-
#define IGNORE_P 447
|
735
|
-
#define ILIKE 448
|
736
|
-
#define IMMEDIATE 449
|
737
|
-
#define IMMUTABLE 450
|
738
|
-
#define IMPLICIT_P 451
|
739
|
-
#define IMPORT_P 452
|
740
|
-
#define IN_P 453
|
741
|
-
#define INCLUDE_P 454
|
742
|
-
#define INCLUDING 455
|
743
|
-
#define INCREMENT 456
|
744
|
-
#define INDEX 457
|
745
|
-
#define INDEXES 458
|
746
|
-
#define INHERIT 459
|
747
|
-
#define INHERITS 460
|
748
|
-
#define INITIALLY 461
|
749
|
-
#define INLINE_P 462
|
750
|
-
#define INNER_P 463
|
751
|
-
#define INOUT 464
|
752
|
-
#define INPUT_P 465
|
753
|
-
#define INSENSITIVE 466
|
754
|
-
#define INSERT 467
|
755
|
-
#define INSTALL 468
|
756
|
-
#define INSTEAD 469
|
757
|
-
#define INT_P 470
|
758
|
-
#define INTEGER 471
|
759
|
-
#define INTERSECT 472
|
760
|
-
#define INTERVAL 473
|
761
|
-
#define INTO 474
|
762
|
-
#define INVOKER 475
|
763
|
-
#define IS 476
|
764
|
-
#define ISNULL 477
|
765
|
-
#define ISOLATION 478
|
766
|
-
#define JOIN 479
|
767
|
-
#define JSON 480
|
768
|
-
#define KEY 481
|
769
|
-
#define LABEL 482
|
770
|
-
#define LANGUAGE 483
|
771
|
-
#define LARGE_P 484
|
772
|
-
#define LAST_P 485
|
773
|
-
#define LATERAL_P 486
|
774
|
-
#define LEADING 487
|
775
|
-
#define LEAKPROOF 488
|
776
|
-
#define LEFT 489
|
777
|
-
#define LEVEL 490
|
778
|
-
#define LIKE 491
|
779
|
-
#define LIMIT 492
|
780
|
-
#define LISTEN 493
|
781
|
-
#define LOAD 494
|
782
|
-
#define LOCAL 495
|
783
|
-
#define LOCATION 496
|
784
|
-
#define LOCK_P 497
|
785
|
-
#define LOCKED 498
|
786
|
-
#define LOGGED 499
|
787
|
-
#define MACRO 500
|
788
|
-
#define MAP 501
|
789
|
-
#define MAPPING 502
|
790
|
-
#define MATCH 503
|
791
|
-
#define MATERIALIZED 504
|
792
|
-
#define MAXVALUE 505
|
793
|
-
#define METHOD 506
|
794
|
-
#define MICROSECOND_P 507
|
795
|
-
#define MICROSECONDS_P 508
|
796
|
-
#define MILLENNIA_P 509
|
797
|
-
#define MILLENNIUM_P 510
|
798
|
-
#define MILLISECOND_P 511
|
799
|
-
#define MILLISECONDS_P 512
|
800
|
-
#define MINUTE_P 513
|
801
|
-
#define MINUTES_P 514
|
802
|
-
#define MINVALUE 515
|
803
|
-
#define MODE 516
|
804
|
-
#define MONTH_P 517
|
805
|
-
#define MONTHS_P 518
|
806
|
-
#define MOVE 519
|
807
|
-
#define NAME_P 520
|
808
|
-
#define NAMES 521
|
809
|
-
#define NATIONAL 522
|
810
|
-
#define NATURAL 523
|
811
|
-
#define NCHAR 524
|
812
|
-
#define NEW 525
|
813
|
-
#define NEXT 526
|
814
|
-
#define NO 527
|
815
|
-
#define NONE 528
|
816
|
-
#define NOT 529
|
817
|
-
#define NOTHING 530
|
818
|
-
#define NOTIFY 531
|
819
|
-
#define NOTNULL 532
|
820
|
-
#define NOWAIT 533
|
821
|
-
#define NULL_P 534
|
822
|
-
#define NULLIF 535
|
823
|
-
#define NULLS_P 536
|
824
|
-
#define NUMERIC 537
|
825
|
-
#define OBJECT_P 538
|
826
|
-
#define OF 539
|
827
|
-
#define OFF 540
|
828
|
-
#define OFFSET 541
|
829
|
-
#define OIDS 542
|
830
|
-
#define OLD 543
|
831
|
-
#define ON 544
|
832
|
-
#define ONLY 545
|
833
|
-
#define OPERATOR 546
|
834
|
-
#define OPTION 547
|
835
|
-
#define OPTIONS 548
|
836
|
-
#define OR 549
|
837
|
-
#define ORDER 550
|
838
|
-
#define ORDINALITY 551
|
839
|
-
#define OTHERS 552
|
840
|
-
#define OUT_P 553
|
841
|
-
#define OUTER_P 554
|
842
|
-
#define OVER 555
|
843
|
-
#define OVERLAPS 556
|
844
|
-
#define OVERLAY 557
|
845
|
-
#define OVERRIDING 558
|
846
|
-
#define OWNED 559
|
847
|
-
#define OWNER 560
|
848
|
-
#define PARALLEL 561
|
849
|
-
#define PARSER 562
|
850
|
-
#define PARTIAL 563
|
851
|
-
#define PARTITION 564
|
852
|
-
#define PASSING 565
|
853
|
-
#define PASSWORD 566
|
854
|
-
#define PERCENT 567
|
855
|
-
#define PERSISTENT 568
|
856
|
-
#define PIVOT 569
|
857
|
-
#define PIVOT_LONGER 570
|
858
|
-
#define PIVOT_WIDER 571
|
859
|
-
#define PLACING 572
|
860
|
-
#define PLANS 573
|
861
|
-
#define POLICY 574
|
862
|
-
#define POSITION 575
|
863
|
-
#define POSITIONAL 576
|
864
|
-
#define PRAGMA_P 577
|
865
|
-
#define PRECEDING 578
|
866
|
-
#define PRECISION 579
|
867
|
-
#define PREPARE 580
|
868
|
-
#define PREPARED 581
|
869
|
-
#define PRESERVE 582
|
870
|
-
#define PRIMARY 583
|
871
|
-
#define PRIOR 584
|
872
|
-
#define PRIVILEGES 585
|
873
|
-
#define PROCEDURAL 586
|
874
|
-
#define PROCEDURE 587
|
875
|
-
#define PROGRAM 588
|
876
|
-
#define PUBLICATION 589
|
877
|
-
#define QUALIFY 590
|
878
|
-
#define QUOTE 591
|
879
|
-
#define RANGE 592
|
880
|
-
#define READ_P 593
|
881
|
-
#define REAL 594
|
882
|
-
#define REASSIGN 595
|
883
|
-
#define RECHECK 596
|
884
|
-
#define RECURSIVE 597
|
885
|
-
#define REF 598
|
886
|
-
#define REFERENCES 599
|
887
|
-
#define REFERENCING 600
|
888
|
-
#define REFRESH 601
|
889
|
-
#define REINDEX 602
|
890
|
-
#define RELATIVE_P 603
|
891
|
-
#define RELEASE 604
|
892
|
-
#define RENAME 605
|
893
|
-
#define REPEATABLE 606
|
894
|
-
#define REPLACE 607
|
895
|
-
#define REPLICA 608
|
896
|
-
#define RESET 609
|
897
|
-
#define RESPECT_P 610
|
898
|
-
#define RESTART 611
|
899
|
-
#define RESTRICT 612
|
900
|
-
#define RETURNING 613
|
901
|
-
#define RETURNS 614
|
902
|
-
#define REVOKE 615
|
903
|
-
#define RIGHT 616
|
904
|
-
#define ROLE 617
|
905
|
-
#define ROLLBACK 618
|
906
|
-
#define ROLLUP 619
|
907
|
-
#define ROW 620
|
908
|
-
#define ROWS 621
|
909
|
-
#define RULE 622
|
910
|
-
#define SAMPLE 623
|
911
|
-
#define SAVEPOINT 624
|
912
|
-
#define SCHEMA 625
|
913
|
-
#define SCHEMAS 626
|
914
|
-
#define SCOPE 627
|
915
|
-
#define SCROLL 628
|
916
|
-
#define SEARCH 629
|
917
|
-
#define SECOND_P 630
|
918
|
-
#define SECONDS_P 631
|
919
|
-
#define SECRET 632
|
920
|
-
#define SECURITY 633
|
921
|
-
#define SELECT 634
|
922
|
-
#define SEMI 635
|
923
|
-
#define SEQUENCE 636
|
924
|
-
#define SEQUENCES 637
|
925
|
-
#define SERIALIZABLE 638
|
926
|
-
#define SERVER 639
|
927
|
-
#define SESSION 640
|
928
|
-
#define SET 641
|
929
|
-
#define SETOF 642
|
930
|
-
#define SETS 643
|
931
|
-
#define SHARE 644
|
932
|
-
#define SHOW 645
|
933
|
-
#define SIMILAR 646
|
934
|
-
#define SIMPLE 647
|
935
|
-
#define SKIP 648
|
936
|
-
#define SMALLINT 649
|
937
|
-
#define SNAPSHOT 650
|
938
|
-
#define SOME 651
|
939
|
-
#define SQL_P 652
|
940
|
-
#define STABLE 653
|
941
|
-
#define STANDALONE_P 654
|
942
|
-
#define START 655
|
943
|
-
#define STATEMENT 656
|
944
|
-
#define STATISTICS 657
|
945
|
-
#define STDIN 658
|
946
|
-
#define STDOUT 659
|
947
|
-
#define STORAGE 660
|
948
|
-
#define STORED 661
|
949
|
-
#define STRICT_P 662
|
950
|
-
#define STRIP_P 663
|
951
|
-
#define STRUCT 664
|
952
|
-
#define SUBSCRIPTION 665
|
953
|
-
#define SUBSTRING 666
|
954
|
-
#define SUMMARIZE 667
|
955
|
-
#define SYMMETRIC 668
|
956
|
-
#define SYSID 669
|
957
|
-
#define SYSTEM_P 670
|
958
|
-
#define TABLE 671
|
959
|
-
#define TABLES 672
|
960
|
-
#define TABLESAMPLE 673
|
961
|
-
#define TABLESPACE 674
|
962
|
-
#define TEMP 675
|
963
|
-
#define TEMPLATE 676
|
964
|
-
#define TEMPORARY 677
|
965
|
-
#define TEXT_P 678
|
966
|
-
#define THEN 679
|
967
|
-
#define TIES 680
|
968
|
-
#define TIME 681
|
969
|
-
#define TIMESTAMP 682
|
970
|
-
#define TO 683
|
971
|
-
#define TRAILING 684
|
972
|
-
#define TRANSACTION 685
|
973
|
-
#define TRANSFORM 686
|
974
|
-
#define TREAT 687
|
975
|
-
#define TRIGGER 688
|
976
|
-
#define TRIM 689
|
977
|
-
#define TRUE_P 690
|
978
|
-
#define TRUNCATE 691
|
979
|
-
#define TRUSTED 692
|
980
|
-
#define TRY_CAST 693
|
981
|
-
#define TYPE_P 694
|
982
|
-
#define TYPES_P 695
|
983
|
-
#define UNBOUNDED 696
|
984
|
-
#define UNCOMMITTED 697
|
985
|
-
#define UNENCRYPTED 698
|
986
|
-
#define UNION 699
|
987
|
-
#define UNIQUE 700
|
988
|
-
#define UNKNOWN 701
|
989
|
-
#define UNLISTEN 702
|
990
|
-
#define UNLOGGED 703
|
991
|
-
#define UNPIVOT 704
|
992
|
-
#define UNTIL 705
|
993
|
-
#define UPDATE 706
|
994
|
-
#define USE_P 707
|
995
|
-
#define USER 708
|
996
|
-
#define USING 709
|
997
|
-
#define VACUUM 710
|
998
|
-
#define VALID 711
|
999
|
-
#define VALIDATE 712
|
1000
|
-
#define VALIDATOR 713
|
1001
|
-
#define VALUE_P 714
|
1002
|
-
#define VALUES 715
|
1003
|
-
#define VARCHAR 716
|
1004
|
-
#define VARIADIC 717
|
1005
|
-
#define VARYING 718
|
1006
|
-
#define VERBOSE 719
|
1007
|
-
#define VERSION_P 720
|
1008
|
-
#define VIEW 721
|
1009
|
-
#define VIEWS 722
|
1010
|
-
#define VIRTUAL 723
|
1011
|
-
#define VOLATILE 724
|
1012
|
-
#define WEEK_P 725
|
1013
|
-
#define WEEKS_P 726
|
1014
|
-
#define WHEN 727
|
1015
|
-
#define WHERE 728
|
1016
|
-
#define WHITESPACE_P 729
|
1017
|
-
#define WINDOW 730
|
1018
|
-
#define WITH 731
|
1019
|
-
#define WITHIN 732
|
1020
|
-
#define WITHOUT 733
|
1021
|
-
#define WORK 734
|
1022
|
-
#define WRAPPER 735
|
1023
|
-
#define WRITE_P 736
|
1024
|
-
#define XML_P 737
|
1025
|
-
#define XMLATTRIBUTES 738
|
1026
|
-
#define XMLCONCAT 739
|
1027
|
-
#define XMLELEMENT 740
|
1028
|
-
#define XMLEXISTS 741
|
1029
|
-
#define XMLFOREST 742
|
1030
|
-
#define XMLNAMESPACES 743
|
1031
|
-
#define XMLPARSE 744
|
1032
|
-
#define XMLPI 745
|
1033
|
-
#define XMLROOT 746
|
1034
|
-
#define XMLSERIALIZE 747
|
1035
|
-
#define XMLTABLE 748
|
1036
|
-
#define YEAR_P 749
|
1037
|
-
#define YEARS_P 750
|
1038
|
-
#define YES_P 751
|
1039
|
-
#define ZONE 752
|
1040
|
-
#define NOT_LA 753
|
1041
|
-
#define NULLS_LA 754
|
1042
|
-
#define WITH_LA 755
|
1043
|
-
#define POSTFIXOP 756
|
1044
|
-
#define UMINUS 757
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
563
|
|
564
|
+
/* Value type. */
|
1049
565
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
1050
|
-
|
1051
|
-
#line 14 "third_party/libpg_query/grammar/grammar.y"
|
566
|
+
union YYSTYPE
|
1052
567
|
{
|
568
|
+
#line 14 "third_party/libpg_query/grammar/grammar.y"
|
569
|
+
|
1053
570
|
core_YYSTYPE core_yystype;
|
1054
571
|
/* these fields must match core_YYSTYPE: */
|
1055
572
|
int ival;
|
@@ -1096,28 +613,34 @@ typedef union YYSTYPE
|
|
1096
613
|
PGSubLinkType subquerytype;
|
1097
614
|
PGViewCheckOption viewcheckoption;
|
1098
615
|
PGInsertColumnOrder bynameorposition;
|
1099
|
-
|
1100
|
-
/* Line 1529 of yacc.c. */
|
1101
|
-
#line 1102 "third_party/libpg_query/grammar/grammar_out.hpp"
|
1102
|
-
YYSTYPE;
|
1103
|
-
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
1104
|
-
# define YYSTYPE_IS_DECLARED 1
|
1105
|
-
# define YYSTYPE_IS_TRIVIAL 1
|
1106
|
-
#endif
|
616
|
+
PGLoadInstallType loadinstalltype;
|
1107
617
|
|
618
|
+
#line 619 "third_party/libpg_query/grammar/grammar_out.hpp"
|
1108
619
|
|
620
|
+
};
|
621
|
+
typedef union YYSTYPE YYSTYPE;
|
622
|
+
# define YYSTYPE_IS_TRIVIAL 1
|
623
|
+
# define YYSTYPE_IS_DECLARED 1
|
624
|
+
#endif
|
1109
625
|
|
626
|
+
/* Location type. */
|
1110
627
|
#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
|
1111
|
-
typedef struct YYLTYPE
|
628
|
+
typedef struct YYLTYPE YYLTYPE;
|
629
|
+
struct YYLTYPE
|
1112
630
|
{
|
1113
631
|
int first_line;
|
1114
632
|
int first_column;
|
1115
633
|
int last_line;
|
1116
634
|
int last_column;
|
1117
|
-
}
|
1118
|
-
# define yyltype YYLTYPE /* obsolescent; will be withdrawn */
|
635
|
+
};
|
1119
636
|
# define YYLTYPE_IS_DECLARED 1
|
1120
637
|
# define YYLTYPE_IS_TRIVIAL 1
|
1121
638
|
#endif
|
1122
639
|
|
1123
640
|
|
641
|
+
|
642
|
+
|
643
|
+
int base_yyparse (core_yyscan_t yyscanner);
|
644
|
+
|
645
|
+
|
646
|
+
#endif /* !YY_BASE_YY_THIRD_PARTY_LIBPG_QUERY_GRAMMAR_GRAMMAR_OUT_HPP_INCLUDED */
|