duckdb 0.10.1-dev6.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- package/.github/workflows/NodeJS.yml +11 -18
- package/binding.gyp +4 -1
- package/package.json +1 -1
- package/src/database.cpp +1 -0
- package/src/duckdb/extension/icu/icu-strptime.cpp +46 -4
- package/src/duckdb/extension/icu/icu-table-range.cpp +5 -0
- package/src/duckdb/extension/icu/icu-timezone.cpp +28 -4
- package/src/duckdb/extension/json/buffered_json_reader.cpp +6 -5
- package/src/duckdb/extension/json/include/buffered_json_reader.hpp +3 -3
- package/src/duckdb/extension/json/include/json_transform.hpp +2 -0
- package/src/duckdb/extension/json/json_functions/json_create.cpp +6 -0
- package/src/duckdb/extension/json/json_functions/json_transform.cpp +8 -9
- package/src/duckdb/extension/json/json_functions.cpp +1 -2
- package/src/duckdb/extension/json/json_scan.cpp +1 -0
- package/src/duckdb/extension/parquet/column_reader.cpp +17 -1
- package/src/duckdb/extension/parquet/column_writer.cpp +151 -20
- package/src/duckdb/extension/parquet/include/column_writer.hpp +3 -4
- package/src/duckdb/extension/parquet/parquet_extension.cpp +14 -9
- package/src/duckdb/extension/parquet/parquet_timestamp.cpp +10 -0
- package/src/duckdb/extension/parquet/parquet_writer.cpp +4 -0
- package/src/duckdb/src/catalog/catalog.cpp +94 -10
- package/src/duckdb/src/catalog/catalog_entry/duck_table_entry.cpp +9 -5
- package/src/duckdb/src/catalog/catalog_entry/table_catalog_entry.cpp +1 -0
- package/src/duckdb/src/catalog/catalog_entry/ub_duckdb_catalog_entries.cpp +16 -0
- package/src/duckdb/src/catalog/catalog_entry/view_catalog_entry.cpp +28 -0
- package/src/duckdb/src/catalog/default/default_functions.cpp +3 -0
- package/src/duckdb/src/catalog/default/default_views.cpp +3 -3
- package/src/duckdb/src/catalog/default/ub_duckdb_catalog_default_entries.cpp +5 -0
- package/src/duckdb/src/catalog/dependency_catalog_set.cpp +1 -3
- package/src/duckdb/src/catalog/dependency_manager.cpp +2 -5
- package/src/duckdb/src/catalog/ub_duckdb_catalog.cpp +10 -0
- package/src/duckdb/src/common/adbc/adbc.cpp +1 -1
- package/src/duckdb/src/common/adbc/driver_manager.cpp +2 -1
- package/src/duckdb/src/common/adbc/nanoarrow/ub_duckdb_adbc_nanoarrow.cpp +5 -0
- package/src/duckdb/src/common/adbc/ub_duckdb_adbc.cpp +3 -0
- package/src/duckdb/src/common/allocator.cpp +34 -8
- package/src/duckdb/src/common/arrow/appender/fixed_size_list_data.cpp +39 -0
- package/src/duckdb/src/common/arrow/appender/ub_duckdb_common_arrow_appender.cpp +6 -0
- package/src/duckdb/src/common/arrow/appender/union_data.cpp +2 -1
- package/src/duckdb/src/common/arrow/arrow_appender.cpp +5 -5
- package/src/duckdb/src/common/arrow/arrow_converter.cpp +17 -0
- package/src/duckdb/src/common/arrow/ub_duckdb_common_arrow.cpp +4 -0
- package/src/duckdb/src/common/compressed_file_system.cpp +1 -0
- package/src/duckdb/src/common/crypto/ub_duckdb_common_crypto.cpp +2 -0
- package/src/duckdb/src/common/enum_util.cpp +153 -13
- package/src/duckdb/src/common/enums/logical_operator_type.cpp +0 -2
- package/src/duckdb/src/common/enums/physical_operator_type.cpp +2 -2
- package/src/duckdb/src/common/enums/ub_duckdb_common_enums.cpp +12 -0
- package/src/duckdb/src/common/exception/conversion_exception.cpp +23 -0
- package/src/duckdb/src/common/exception.cpp +7 -14
- package/src/duckdb/src/common/extra_type_info.cpp +6 -5
- package/src/duckdb/src/common/gzip_file_system.cpp +5 -4
- package/src/duckdb/src/common/local_file_system.cpp +85 -10
- package/src/duckdb/src/common/operator/cast_operators.cpp +413 -305
- package/src/duckdb/src/common/operator/ub_duckdb_common_operators.cpp +4 -0
- package/src/duckdb/src/common/progress_bar/ub_duckdb_progress_bar.cpp +3 -0
- package/src/duckdb/src/common/re2_regex.cpp +2 -1
- package/src/duckdb/src/common/row_operations/row_heap_scatter.cpp +2 -2
- package/src/duckdb/src/common/row_operations/row_matcher.cpp +1 -0
- package/src/duckdb/src/common/row_operations/row_scatter.cpp +2 -2
- package/src/duckdb/src/common/row_operations/ub_duckdb_row_operations.cpp +9 -0
- package/src/duckdb/src/common/serializer/binary_serializer.cpp +3 -3
- package/src/duckdb/src/common/serializer/ub_duckdb_common_serializer.cpp +7 -0
- package/src/duckdb/src/common/sort/partition_state.cpp +2 -3
- package/src/duckdb/src/common/sort/ub_duckdb_sort.cpp +7 -0
- package/src/duckdb/src/common/string_util.cpp +3 -3
- package/src/duckdb/src/common/types/bit.cpp +7 -6
- package/src/duckdb/src/common/types/blob.cpp +20 -9
- package/src/duckdb/src/common/types/column/column_data_allocator.cpp +8 -6
- package/src/duckdb/src/common/types/column/column_data_collection.cpp +11 -1
- package/src/duckdb/src/common/types/column/column_data_collection_segment.cpp +5 -0
- package/src/duckdb/src/common/types/column/partitioned_column_data.cpp +1 -1
- package/src/duckdb/src/common/types/column/ub_duckdb_common_types_column.cpp +6 -0
- package/src/duckdb/src/common/types/data_chunk.cpp +1 -1
- package/src/duckdb/src/common/types/date.cpp +1 -1
- package/src/duckdb/src/common/types/hugeint.cpp +3 -2
- package/src/duckdb/src/common/types/interval.cpp +1 -1
- package/src/duckdb/src/common/types/list_segment.cpp +2 -1
- package/src/duckdb/src/common/types/row/partitioned_tuple_data.cpp +3 -9
- package/src/duckdb/src/common/types/row/tuple_data_allocator.cpp +7 -7
- package/src/duckdb/src/common/types/row/tuple_data_collection.cpp +10 -27
- package/src/duckdb/src/common/types/row/tuple_data_scatter_gather.cpp +168 -88
- package/src/duckdb/src/common/types/row/ub_duckdb_common_types_row.cpp +11 -0
- package/src/duckdb/src/common/types/selection_vector.cpp +1 -1
- package/src/duckdb/src/common/types/string_heap.cpp +5 -1
- package/src/duckdb/src/common/types/string_type.cpp +18 -4
- package/src/duckdb/src/common/types/time.cpp +4 -2
- package/src/duckdb/src/common/types/timestamp.cpp +32 -6
- package/src/duckdb/src/common/types/ub_duckdb_common_types.cpp +28 -0
- package/src/duckdb/src/common/types/uhugeint.cpp +3 -2
- package/src/duckdb/src/common/types/uuid.cpp +11 -0
- package/src/duckdb/src/common/types/validity_mask.cpp +4 -3
- package/src/duckdb/src/common/types/value.cpp +17 -6
- package/src/duckdb/src/common/types/vector.cpp +243 -68
- package/src/duckdb/src/common/types.cpp +7 -5
- package/src/duckdb/src/common/ub_duckdb_common.cpp +34 -0
- package/src/duckdb/src/common/value_operations/ub_duckdb_value_operations.cpp +2 -0
- package/src/duckdb/src/common/vector_operations/generators.cpp +2 -1
- package/src/duckdb/src/common/vector_operations/vector_cast.cpp +4 -4
- package/src/duckdb/src/common/vector_operations/vector_copy.cpp +2 -2
- package/src/duckdb/src/common/vector_operations/vector_hash.cpp +17 -6
- package/src/duckdb/src/core_functions/aggregate/algebraic/ub_duckdb_aggr_algebraic.cpp +5 -0
- package/src/duckdb/src/core_functions/aggregate/distributive/arg_min_max.cpp +30 -6
- package/src/duckdb/src/core_functions/aggregate/distributive/bitagg.cpp +1 -1
- package/src/duckdb/src/core_functions/aggregate/distributive/bitstring_agg.cpp +12 -5
- package/src/duckdb/src/core_functions/aggregate/distributive/minmax.cpp +2 -2
- package/src/duckdb/src/core_functions/aggregate/distributive/string_agg.cpp +2 -1
- package/src/duckdb/src/core_functions/aggregate/distributive/ub_duckdb_aggr_distributive.cpp +13 -0
- package/src/duckdb/src/core_functions/aggregate/holistic/mode.cpp +2 -1
- package/src/duckdb/src/core_functions/aggregate/holistic/quantile.cpp +2 -9
- package/src/duckdb/src/core_functions/aggregate/holistic/ub_duckdb_aggr_holistic.cpp +5 -0
- package/src/duckdb/src/core_functions/aggregate/nested/ub_duckdb_aggr_nested.cpp +3 -0
- package/src/duckdb/src/core_functions/aggregate/regression/ub_duckdb_aggr_regr.cpp +8 -0
- package/src/duckdb/src/core_functions/function_list.cpp +1 -0
- package/src/duckdb/src/core_functions/scalar/bit/bitstring.cpp +2 -2
- package/src/duckdb/src/core_functions/scalar/bit/ub_duckdb_func_bit.cpp +2 -0
- package/src/duckdb/src/core_functions/scalar/blob/ub_duckdb_func_blob.cpp +3 -0
- package/src/duckdb/src/core_functions/scalar/date/date_diff.cpp +8 -0
- package/src/duckdb/src/core_functions/scalar/date/date_part.cpp +22 -3
- package/src/duckdb/src/core_functions/scalar/date/make_date.cpp +29 -7
- package/src/duckdb/src/core_functions/scalar/date/to_interval.cpp +3 -1
- package/src/duckdb/src/core_functions/scalar/date/ub_duckdb_func_date.cpp +12 -0
- package/src/duckdb/src/core_functions/scalar/debug/ub_duckdb_func_debug.cpp +2 -0
- package/src/duckdb/src/core_functions/scalar/enum/ub_duckdb_func_enum.cpp +2 -0
- package/src/duckdb/src/core_functions/scalar/generic/ub_duckdb_func_generic.cpp +9 -0
- package/src/duckdb/src/core_functions/scalar/list/array_slice.cpp +12 -8
- package/src/duckdb/src/core_functions/scalar/list/list_aggregates.cpp +2 -1
- package/src/duckdb/src/core_functions/scalar/list/list_reduce.cpp +6 -5
- package/src/duckdb/src/core_functions/scalar/list/list_sort.cpp +5 -3
- package/src/duckdb/src/core_functions/scalar/list/list_value.cpp +28 -12
- package/src/duckdb/src/core_functions/scalar/list/ub_duckdb_func_list.cpp +11 -0
- package/src/duckdb/src/core_functions/scalar/map/map.cpp +129 -160
- package/src/duckdb/src/core_functions/scalar/map/ub_duckdb_func_map_nested.cpp +8 -0
- package/src/duckdb/src/core_functions/scalar/math/numeric.cpp +19 -16
- package/src/duckdb/src/core_functions/scalar/math/ub_duckdb_func_math.cpp +1 -0
- package/src/duckdb/src/core_functions/scalar/operators/bitwise.cpp +4 -4
- package/src/duckdb/src/core_functions/scalar/operators/ub_duckdb_func_ops.cpp +1 -0
- package/src/duckdb/src/core_functions/scalar/random/ub_duckdb_func_random.cpp +3 -0
- package/src/duckdb/src/core_functions/scalar/string/hex.cpp +2 -1
- package/src/duckdb/src/core_functions/scalar/string/pad.cpp +2 -2
- package/src/duckdb/src/core_functions/scalar/string/repeat.cpp +1 -1
- package/src/duckdb/src/core_functions/scalar/string/replace.cpp +1 -1
- package/src/duckdb/src/core_functions/scalar/string/string_split.cpp +2 -1
- package/src/duckdb/src/core_functions/scalar/string/translate.cpp +1 -1
- package/src/duckdb/src/core_functions/scalar/string/ub_duckdb_func_string.cpp +26 -0
- package/src/duckdb/src/core_functions/scalar/struct/ub_duckdb_func_struct.cpp +3 -0
- package/src/duckdb/src/core_functions/scalar/union/ub_duckdb_func_union.cpp +4 -0
- package/src/duckdb/src/core_functions/ub_duckdb_core_functions.cpp +3 -0
- package/src/duckdb/src/execution/adaptive_filter.cpp +1 -1
- package/src/duckdb/src/execution/aggregate_hashtable.cpp +1 -1
- package/src/duckdb/src/execution/column_binding_resolver.cpp +7 -1
- package/src/duckdb/src/execution/expression_executor/execute_case.cpp +2 -2
- package/src/duckdb/src/execution/expression_executor/execute_cast.cpp +2 -0
- package/src/duckdb/src/execution/expression_executor/execute_function.cpp +2 -2
- package/src/duckdb/src/execution/expression_executor/execute_operator.cpp +1 -1
- package/src/duckdb/src/execution/expression_executor/ub_duckdb_expression_executor.cpp +11 -0
- package/src/duckdb/src/execution/expression_executor.cpp +5 -2
- package/src/duckdb/src/execution/index/art/art.cpp +12 -6
- package/src/duckdb/src/execution/index/art/art_key.cpp +3 -3
- package/src/duckdb/src/execution/index/art/leaf.cpp +2 -2
- package/src/duckdb/src/execution/index/art/node16.cpp +2 -2
- package/src/duckdb/src/execution/index/art/node256.cpp +3 -3
- package/src/duckdb/src/execution/index/art/node48.cpp +5 -5
- package/src/duckdb/src/execution/index/art/prefix.cpp +1 -1
- package/src/duckdb/src/execution/index/art/ub_duckdb_art_index_execution.cpp +12 -0
- package/src/duckdb/src/execution/index/art/ub_duckdb_execution_index_art.cpp +11 -0
- package/src/duckdb/src/execution/index/fixed_size_buffer.cpp +6 -5
- package/src/duckdb/src/execution/index/ub_duckdb_execution_index.cpp +3 -0
- package/src/duckdb/src/execution/nested_loop_join/ub_duckdb_nested_loop_join.cpp +3 -0
- package/src/duckdb/src/execution/operator/aggregate/aggregate_object.cpp +1 -1
- package/src/duckdb/src/execution/operator/aggregate/physical_hash_aggregate.cpp +3 -4
- package/src/duckdb/src/execution/operator/aggregate/physical_streaming_window.cpp +0 -1
- package/src/duckdb/src/execution/operator/aggregate/physical_ungrouped_aggregate.cpp +3 -4
- package/src/duckdb/src/execution/operator/aggregate/ub_duckdb_operator_aggregate.cpp +9 -0
- package/src/duckdb/src/execution/operator/csv_scanner/buffer_manager/csv_buffer.cpp +1 -1
- package/src/duckdb/src/execution/operator/csv_scanner/buffer_manager/csv_buffer_manager.cpp +8 -3
- package/src/duckdb/src/execution/operator/csv_scanner/buffer_manager/csv_file_handle.cpp +1 -1
- package/src/duckdb/src/execution/operator/csv_scanner/scanner/base_scanner.cpp +5 -5
- package/src/duckdb/src/execution/operator/csv_scanner/scanner/column_count_scanner.cpp +2 -3
- package/src/duckdb/src/execution/operator/csv_scanner/scanner/scanner_boundary.cpp +5 -1
- package/src/duckdb/src/execution/operator/csv_scanner/scanner/skip_scanner.cpp +2 -2
- package/src/duckdb/src/execution/operator/csv_scanner/scanner/string_value_scanner.cpp +151 -79
- package/src/duckdb/src/execution/operator/csv_scanner/sniffer/csv_sniffer.cpp +11 -6
- package/src/duckdb/src/execution/operator/csv_scanner/sniffer/dialect_detection.cpp +27 -6
- package/src/duckdb/src/execution/operator/csv_scanner/sniffer/header_detection.cpp +71 -18
- package/src/duckdb/src/execution/operator/csv_scanner/sniffer/type_detection.cpp +22 -11
- package/src/duckdb/src/execution/operator/csv_scanner/sniffer/type_refinement.cpp +6 -4
- package/src/duckdb/src/execution/operator/csv_scanner/sniffer/type_replacement.cpp +5 -3
- package/src/duckdb/src/execution/operator/csv_scanner/sniffer/ub_duckdb_operator_csv_sniffer.cpp +7 -0
- package/src/duckdb/src/execution/operator/csv_scanner/state_machine/csv_state_machine.cpp +3 -3
- package/src/duckdb/src/execution/operator/csv_scanner/state_machine/csv_state_machine_cache.cpp +30 -5
- package/src/duckdb/src/execution/operator/csv_scanner/table_function/csv_file_scanner.cpp +6 -2
- package/src/duckdb/src/execution/operator/csv_scanner/table_function/global_csv_state.cpp +47 -46
- package/src/duckdb/src/execution/operator/csv_scanner/ub_duckdb_operator_csv_scanner.cpp +10 -0
- package/src/duckdb/src/execution/operator/csv_scanner/util/csv_error.cpp +102 -54
- package/src/duckdb/src/execution/operator/csv_scanner/util/csv_reader_options.cpp +8 -1
- package/src/duckdb/src/execution/operator/filter/ub_duckdb_operator_filter.cpp +2 -0
- package/src/duckdb/src/execution/operator/helper/physical_limit.cpp +54 -36
- package/src/duckdb/src/execution/operator/helper/physical_limit_percent.cpp +56 -32
- package/src/duckdb/src/execution/operator/helper/physical_streaming_limit.cpp +9 -13
- package/src/duckdb/src/execution/operator/helper/physical_transaction.cpp +12 -0
- package/src/duckdb/src/execution/operator/helper/physical_verify_vector.cpp +221 -0
- package/src/duckdb/src/execution/operator/helper/ub_duckdb_operator_helper.cpp +18 -0
- package/src/duckdb/src/execution/operator/join/physical_asof_join.cpp +1 -0
- package/src/duckdb/src/execution/operator/join/physical_hash_join.cpp +23 -8
- package/src/duckdb/src/execution/operator/join/physical_range_join.cpp +8 -3
- package/src/duckdb/src/execution/operator/join/ub_duckdb_operator_join.cpp +16 -0
- package/src/duckdb/src/execution/operator/order/physical_order.cpp +2 -3
- package/src/duckdb/src/execution/operator/order/physical_top_n.cpp +2 -7
- package/src/duckdb/src/execution/operator/order/ub_duckdb_operator_order.cpp +3 -0
- package/src/duckdb/src/execution/operator/persistent/physical_batch_copy_to_file.cpp +451 -55
- package/src/duckdb/src/execution/operator/persistent/physical_batch_insert.cpp +312 -150
- package/src/duckdb/src/execution/operator/persistent/physical_copy_to_file.cpp +200 -75
- package/src/duckdb/src/execution/operator/persistent/physical_delete.cpp +1 -0
- package/src/duckdb/src/execution/operator/persistent/physical_insert.cpp +6 -5
- package/src/duckdb/src/execution/operator/persistent/ub_duckdb_operator_persistent.cpp +10 -0
- package/src/duckdb/src/execution/operator/projection/physical_pivot.cpp +3 -2
- package/src/duckdb/src/execution/operator/projection/ub_duckdb_operator_projection.cpp +5 -0
- package/src/duckdb/src/execution/operator/scan/ub_duckdb_operator_scan.cpp +7 -0
- package/src/duckdb/src/execution/operator/schema/ub_duckdb_operator_schema.cpp +12 -0
- package/src/duckdb/src/execution/operator/set/physical_recursive_cte.cpp +25 -0
- package/src/duckdb/src/execution/operator/set/ub_duckdb_operator_set.cpp +4 -0
- package/src/duckdb/src/execution/perfect_aggregate_hashtable.cpp +4 -4
- package/src/duckdb/src/execution/physical_plan/plan_aggregate.cpp +2 -2
- package/src/duckdb/src/execution/physical_plan/plan_comparison_join.cpp +2 -2
- package/src/duckdb/src/execution/physical_plan/plan_copy_to_file.cpp +7 -17
- package/src/duckdb/src/execution/physical_plan/plan_distinct.cpp +10 -0
- package/src/duckdb/src/execution/physical_plan/plan_insert.cpp +7 -0
- package/src/duckdb/src/execution/physical_plan/plan_limit.cpp +45 -13
- package/src/duckdb/src/execution/physical_plan/ub_duckdb_physical_plan.cpp +44 -0
- package/src/duckdb/src/execution/physical_plan_generator.cpp +5 -3
- package/src/duckdb/src/execution/radix_partitioned_hashtable.cpp +13 -12
- package/src/duckdb/src/execution/ub_duckdb_execution.cpp +15 -0
- package/src/duckdb/src/execution/window_executor.cpp +71 -61
- package/src/duckdb/src/execution/window_segment_tree.cpp +6 -6
- package/src/duckdb/src/extension_forward_decl/icu.cpp +59 -0
- package/src/duckdb/src/function/aggregate/algebraic/ub_duckdb_aggr_algebraic.cpp +5 -0
- package/src/duckdb/src/function/aggregate/distributive/first.cpp +2 -2
- package/src/duckdb/src/function/aggregate/distributive/ub_duckdb_aggr_distr.cpp +3 -0
- package/src/duckdb/src/function/aggregate/holistic/ub_duckdb_aggr_holistic.cpp +5 -0
- package/src/duckdb/src/function/aggregate/nested/ub_duckdb_aggr_nested.cpp +3 -0
- package/src/duckdb/src/function/aggregate/regression/ub_duckdb_aggr_regr.cpp +8 -0
- package/src/duckdb/src/function/aggregate/sorted_aggregate_function.cpp +3 -2
- package/src/duckdb/src/function/aggregate/ub_duckdb_func_aggr.cpp +3 -0
- package/src/duckdb/src/function/cast/array_casts.cpp +2 -4
- package/src/duckdb/src/function/cast/bit_cast.cpp +13 -13
- package/src/duckdb/src/function/cast/cast_function_set.cpp +2 -0
- package/src/duckdb/src/function/cast/decimal_cast.cpp +38 -44
- package/src/duckdb/src/function/cast/default_casts.cpp +5 -2
- package/src/duckdb/src/function/cast/enum_casts.cpp +5 -5
- package/src/duckdb/src/function/cast/list_casts.cpp +24 -14
- package/src/duckdb/src/function/cast/string_cast.cpp +48 -30
- package/src/duckdb/src/function/cast/struct_cast.cpp +2 -2
- package/src/duckdb/src/function/cast/time_casts.cpp +12 -0
- package/src/duckdb/src/function/cast/ub_duckdb_func_cast.cpp +17 -0
- package/src/duckdb/src/function/cast/union/ub_duckdb_union_cast.cpp +2 -0
- package/src/duckdb/src/function/cast/union_casts.cpp +13 -15
- package/src/duckdb/src/function/cast/vector_cast_helpers.cpp +1 -1
- package/src/duckdb/src/function/cast_rules.cpp +2 -1
- package/src/duckdb/src/function/pragma/ub_duckdb_func_pragma.cpp +3 -0
- package/src/duckdb/src/function/scalar/bit/ub_duckdb_func_bit.cpp +2 -0
- package/src/duckdb/src/function/scalar/blob/ub_duckdb_func_blob.cpp +3 -0
- package/src/duckdb/src/function/scalar/compressed_materialization/compress_integral.cpp +7 -6
- package/src/duckdb/src/function/scalar/compressed_materialization/compress_string.cpp +3 -3
- package/src/duckdb/src/function/scalar/compressed_materialization/ub_duckdb_func_compressed_materialization.cpp +3 -0
- package/src/duckdb/src/function/scalar/date/ub_duckdb_func_date.cpp +12 -0
- package/src/duckdb/src/function/scalar/enum/ub_duckdb_func_enum.cpp +2 -0
- package/src/duckdb/src/function/scalar/generic/ub_duckdb_func_generic.cpp +8 -0
- package/src/duckdb/src/function/scalar/generic/ub_duckdb_func_generic_main.cpp +2 -0
- package/src/duckdb/src/function/scalar/list/list_resize.cpp +3 -1
- package/src/duckdb/src/function/scalar/list/list_zip.cpp +3 -4
- package/src/duckdb/src/function/scalar/list/ub_duckdb_func_list.cpp +11 -0
- package/src/duckdb/src/function/scalar/list/ub_duckdb_func_list_nested.cpp +5 -0
- package/src/duckdb/src/function/scalar/map/ub_duckdb_func_map_nested.cpp +7 -0
- package/src/duckdb/src/function/scalar/math/ub_duckdb_func_math.cpp +4 -0
- package/src/duckdb/src/function/scalar/nested_functions.cpp +7 -3
- package/src/duckdb/src/function/scalar/operators/arithmetic.cpp +1 -1
- package/src/duckdb/src/function/scalar/operators/multiply.cpp +4 -2
- package/src/duckdb/src/function/scalar/operators/subtract.cpp +9 -3
- package/src/duckdb/src/function/scalar/operators/ub_duckdb_func_ops.cpp +6 -0
- package/src/duckdb/src/function/scalar/operators/ub_duckdb_func_ops_main.cpp +5 -0
- package/src/duckdb/src/function/scalar/sequence/ub_duckdb_func_seq.cpp +2 -0
- package/src/duckdb/src/function/scalar/strftime_format.cpp +21 -20
- package/src/duckdb/src/function/scalar/string/like.cpp +14 -3
- package/src/duckdb/src/function/scalar/string/regexp/regexp_extract_all.cpp +4 -2
- package/src/duckdb/src/function/scalar/string/regexp/ub_duckdb_func_string_regexp.cpp +3 -0
- package/src/duckdb/src/function/scalar/string/regexp.cpp +6 -4
- package/src/duckdb/src/function/scalar/string/suffix.cpp +1 -1
- package/src/duckdb/src/function/scalar/string/ub_duckdb_func_string.cpp +31 -0
- package/src/duckdb/src/function/scalar/string/ub_duckdb_func_string_main.cpp +12 -0
- package/src/duckdb/src/function/scalar/struct/ub_duckdb_func_struct.cpp +4 -0
- package/src/duckdb/src/function/scalar/struct/ub_duckdb_func_struct_main.cpp +2 -0
- package/src/duckdb/src/function/scalar/system/ub_duckdb_func_system.cpp +2 -0
- package/src/duckdb/src/function/scalar/ub_duckdb_func_scalar.cpp +9 -0
- package/src/duckdb/src/function/scalar/union/ub_duckdb_func_union.cpp +4 -0
- package/src/duckdb/src/function/table/arrow/arrow_array_scan_state.cpp +28 -2
- package/src/duckdb/src/function/table/arrow/ub_duckdb_arrow_conversion.cpp +2 -0
- package/src/duckdb/src/function/table/arrow.cpp +23 -6
- package/src/duckdb/src/function/table/arrow_conversion.cpp +75 -33
- package/src/duckdb/src/function/table/copy_csv.cpp +8 -3
- package/src/duckdb/src/function/table/range.cpp +5 -0
- package/src/duckdb/src/function/table/read_csv.cpp +9 -8
- package/src/duckdb/src/function/table/read_file.cpp +1 -1
- package/src/duckdb/src/function/table/sniff_csv.cpp +5 -5
- package/src/duckdb/src/function/table/system/duckdb_columns.cpp +6 -2
- package/src/duckdb/src/function/table/system/duckdb_secrets.cpp +5 -1
- package/src/duckdb/src/function/table/system/duckdb_sequences.cpp +3 -1
- package/src/duckdb/src/function/table/system/duckdb_settings.cpp +13 -1
- package/src/duckdb/src/function/table/system/test_all_types.cpp +64 -0
- package/src/duckdb/src/function/table/system/ub_duckdb_table_func_system.cpp +23 -0
- package/src/duckdb/src/function/table/ub_duckdb_func_table.cpp +16 -0
- package/src/duckdb/src/function/table/version/pragma_version.cpp +11 -2
- package/src/duckdb/src/function/table/version/ub_duckdb_func_table_version.cpp +2 -0
- package/src/duckdb/src/function/ub_duckdb_function.cpp +14 -0
- package/src/duckdb/src/include/duckdb/catalog/catalog.hpp +11 -1
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/view_catalog_entry.hpp +2 -0
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/allocator.hpp +8 -11
- package/src/duckdb/src/include/duckdb/common/arrow/appender/enum_data.hpp +2 -2
- package/src/duckdb/src/include/duckdb/common/arrow/appender/fixed_size_list_data.hpp +14 -0
- package/src/duckdb/src/include/duckdb/common/arrow/appender/list.hpp +1 -0
- package/src/duckdb/src/include/duckdb/common/arrow/appender/list_data.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/arrow/appender/varchar_data.hpp +2 -2
- package/src/duckdb/src/include/duckdb/common/bitpacking.hpp +2 -2
- package/src/duckdb/src/include/duckdb/common/bswap.hpp +6 -2
- package/src/duckdb/src/include/duckdb/common/enum_util.hpp +32 -0
- package/src/duckdb/src/include/duckdb/common/enums/catalog_lookup_behavior.hpp +21 -0
- package/src/duckdb/src/include/duckdb/common/enums/logical_operator_type.hpp +0 -1
- package/src/duckdb/src/include/duckdb/common/enums/physical_operator_type.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/enums/prepared_statement_mode.hpp +20 -0
- package/src/duckdb/src/include/duckdb/common/enums/statement_type.hpp +2 -0
- package/src/duckdb/src/include/duckdb/common/exception/conversion_exception.hpp +6 -0
- package/src/duckdb/src/include/duckdb/common/exception/parser_exception.hpp +4 -0
- package/src/duckdb/src/include/duckdb/common/exception.hpp +2 -0
- package/src/duckdb/src/include/duckdb/common/extra_type_info.hpp +3 -3
- package/src/duckdb/src/include/duckdb/common/file_opener.hpp +6 -5
- package/src/duckdb/src/include/duckdb/common/file_system.hpp +4 -2
- package/src/duckdb/src/include/duckdb/common/helper.hpp +7 -0
- package/src/duckdb/src/include/duckdb/common/limits.hpp +2 -2
- package/src/duckdb/src/include/duckdb/common/local_file_system.hpp +3 -0
- package/src/duckdb/src/include/duckdb/common/numeric_utils.hpp +64 -0
- package/src/duckdb/src/include/duckdb/common/operator/cast_operators.hpp +34 -33
- package/src/duckdb/src/include/duckdb/common/operator/decimal_cast_operators.hpp +150 -124
- package/src/duckdb/src/include/duckdb/common/operator/integer_cast_operator.hpp +5 -5
- package/src/duckdb/src/include/duckdb/common/radix.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/serializer/deserializer.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/sort/duckdb_pdqsort.hpp +4 -4
- package/src/duckdb/src/include/duckdb/common/types/bit.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/types/blob.hpp +4 -1
- package/src/duckdb/src/include/duckdb/common/types/cast_helpers.hpp +15 -13
- package/src/duckdb/src/include/duckdb/common/types/column/column_data_allocator.hpp +5 -0
- package/src/duckdb/src/include/duckdb/common/types/column/column_data_collection.hpp +2 -0
- package/src/duckdb/src/include/duckdb/common/types/column/column_data_collection_segment.hpp +3 -0
- package/src/duckdb/src/include/duckdb/common/types/column/partitioned_column_data.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/types/row/partitioned_tuple_data.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/types/row/tuple_data_states.hpp +4 -1
- package/src/duckdb/src/include/duckdb/common/types/selection_vector.hpp +2 -1
- package/src/duckdb/src/include/duckdb/common/types/string_heap.hpp +2 -0
- package/src/duckdb/src/include/duckdb/common/types/string_type.hpp +11 -4
- package/src/duckdb/src/include/duckdb/common/types/time.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/types/timestamp.hpp +7 -2
- package/src/duckdb/src/include/duckdb/common/types/uuid.hpp +3 -0
- package/src/duckdb/src/include/duckdb/common/types/value.hpp +7 -0
- package/src/duckdb/src/include/duckdb/common/types/vector.hpp +40 -7
- package/src/duckdb/src/include/duckdb/common/types/vector_buffer.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/types.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/vector_operations/general_cast.hpp +12 -4
- package/src/duckdb/src/include/duckdb/common/vector_operations/generic_executor.hpp +6 -6
- package/src/duckdb/src/include/duckdb/common/vector_operations/vector_operations.hpp +3 -2
- package/src/duckdb/src/include/duckdb/common/windows_undefs.hpp +4 -0
- package/src/duckdb/src/include/duckdb/core_functions/aggregate/regression/regr_count.hpp +1 -1
- package/src/duckdb/src/include/duckdb/core_functions/scalar/list_functions.hpp +9 -0
- package/src/duckdb/src/include/duckdb/execution/column_binding_resolver.hpp +2 -1
- package/src/duckdb/src/include/duckdb/execution/executor.hpp +10 -0
- package/src/duckdb/src/include/duckdb/execution/expression_executor_state.hpp +1 -1
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/base_scanner.hpp +262 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/column_count_scanner.hpp +70 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_buffer.hpp +103 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_buffer_manager.hpp +74 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_casting.hpp +154 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_error.hpp +130 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_file_handle.hpp +60 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_file_scanner.hpp +70 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_option.hpp +155 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_reader_options.hpp +166 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_sniffer.hpp +191 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_state.hpp +30 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_state_machine.hpp +99 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_state_machine_cache.hpp +91 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/global_csv_state.hpp +80 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/quote_rules.hpp +21 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/scanner_boundary.hpp +93 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/skip_scanner.hpp +60 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/state_machine_options.hpp +35 -0
- package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/string_value_scanner.hpp +200 -0
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_limit.hpp +13 -10
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_limit_percent.hpp +5 -11
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_streaming_limit.hpp +4 -6
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_verify_vector.hpp +51 -0
- package/src/duckdb/src/include/duckdb/execution/operator/join/physical_hash_join.hpp +3 -0
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/batch_memory_manager.hpp +165 -0
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/batch_task_manager.hpp +48 -0
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_batch_copy_to_file.hpp +10 -17
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_batch_insert.hpp +4 -0
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_copy_to_file.hpp +2 -0
- package/src/duckdb/src/include/duckdb/execution/physical_operator_states.hpp +10 -6
- package/src/duckdb/src/include/duckdb/execution/physical_plan_generator.hpp +0 -2
- package/src/duckdb/src/include/duckdb/execution/window_executor.hpp +2 -1
- package/src/duckdb/src/include/duckdb/execution/window_segment_tree.hpp +1 -1
- package/src/duckdb/src/include/duckdb/function/cast/cast_function_set.hpp +1 -0
- package/src/duckdb/src/include/duckdb/function/cast/default_casts.hpp +14 -5
- package/src/duckdb/src/include/duckdb/function/cast/vector_cast_helpers.hpp +27 -43
- package/src/duckdb/src/include/duckdb/function/compression_function.hpp +4 -4
- package/src/duckdb/src/include/duckdb/function/copy_function.hpp +3 -3
- package/src/duckdb/src/include/duckdb/function/function.hpp +1 -1
- package/src/duckdb/src/include/duckdb/function/scalar/list/contains_or_position.hpp +1 -0
- package/src/duckdb/src/include/duckdb/function/scalar/nested_functions.hpp +1 -1
- package/src/duckdb/src/include/duckdb/function/scalar_function.hpp +1 -1
- package/src/duckdb/src/include/duckdb/function/table/arrow.hpp +10 -4
- package/src/duckdb/src/include/duckdb/function/table/read_csv.hpp +8 -6
- package/src/duckdb/src/include/duckdb/function/table_function.hpp +3 -3
- package/src/duckdb/src/include/duckdb/main/attached_database.hpp +3 -0
- package/src/duckdb/src/include/duckdb/main/capi/cast/from_decimal.hpp +6 -4
- package/src/duckdb/src/include/duckdb/main/capi/cast/to_decimal.hpp +17 -10
- package/src/duckdb/src/include/duckdb/main/client_config.hpp +2 -0
- package/src/duckdb/src/include/duckdb/main/client_context.hpp +17 -3
- package/src/duckdb/src/include/duckdb/main/client_context_file_opener.hpp +2 -2
- package/src/duckdb/src/include/duckdb/main/client_context_state.hpp +20 -0
- package/src/duckdb/src/include/duckdb/main/client_data.hpp +1 -1
- package/src/duckdb/src/include/duckdb/main/database.hpp +3 -2
- package/src/duckdb/src/include/duckdb/main/database_manager.hpp +2 -1
- package/src/duckdb/src/include/duckdb/main/extension/generated_extension_loader.hpp +1 -1
- package/src/duckdb/src/include/duckdb/main/extension_entries.hpp +230 -199
- package/src/duckdb/src/include/duckdb/main/extension_helper.hpp +18 -0
- package/src/duckdb/src/include/duckdb/main/relation/read_csv_relation.hpp +1 -1
- package/src/duckdb/src/include/duckdb/main/relation/table_function_relation.hpp +2 -0
- package/src/duckdb/src/include/duckdb/main/relation.hpp +1 -1
- package/src/duckdb/src/include/duckdb/main/secret/secret_manager.hpp +4 -0
- package/src/duckdb/src/include/duckdb/main/settings.hpp +54 -10
- package/src/duckdb/src/include/duckdb/optimizer/join_order/relation_manager.hpp +2 -1
- package/src/duckdb/src/include/duckdb/optimizer/rule/ordered_aggregate_optimizer.hpp +2 -0
- package/src/duckdb/src/include/duckdb/parallel/concurrentqueue.hpp +21 -5
- package/src/duckdb/src/include/duckdb/parallel/event.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parallel/executor_task.hpp +37 -0
- package/src/duckdb/src/include/duckdb/parallel/interrupt.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parallel/pipeline.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parallel/task.hpp +0 -20
- package/src/duckdb/src/include/duckdb/parallel/task_scheduler.hpp +4 -2
- package/src/duckdb/src/include/duckdb/parser/expression/window_expression.hpp +10 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/alter_info.hpp +2 -1
- package/src/duckdb/src/include/duckdb/parser/parsed_data/alter_table_info.hpp +0 -24
- package/src/duckdb/src/include/duckdb/parser/parsed_data/comment_on_column_info.hpp +46 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_view_info.hpp +2 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/extra_drop_info.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parser/parsed_data/parse_info.hpp +3 -2
- package/src/duckdb/src/include/duckdb/parser/tableref/pivotref.hpp +3 -3
- package/src/duckdb/src/include/duckdb/parser/transformer.hpp +3 -3
- package/src/duckdb/src/include/duckdb/planner/binder.hpp +11 -4
- package/src/duckdb/src/include/duckdb/planner/bound_result_modifier.hpp +59 -23
- package/src/duckdb/src/include/duckdb/planner/expression.hpp +1 -0
- package/src/duckdb/src/include/duckdb/planner/expression_binder/column_alias_binder.hpp +2 -2
- package/src/duckdb/src/include/duckdb/planner/expression_iterator.hpp +11 -3
- package/src/duckdb/src/include/duckdb/planner/extension_callback.hpp +6 -0
- package/src/duckdb/src/include/duckdb/planner/operator/list.hpp +0 -1
- package/src/duckdb/src/include/duckdb/planner/operator/logical_insert.hpp +1 -1
- package/src/duckdb/src/include/duckdb/planner/operator/logical_limit.hpp +5 -9
- package/src/duckdb/src/include/duckdb/planner/subquery/rewrite_correlated_expressions.hpp +0 -15
- package/src/duckdb/src/include/duckdb/storage/arena_allocator.hpp +5 -0
- package/src/duckdb/src/include/duckdb/storage/buffer/buffer_pool.hpp +40 -5
- package/src/duckdb/src/include/duckdb/storage/compression/alp/algorithm/alp.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/compression/alp/alp_analyze.hpp +5 -1
- package/src/duckdb/src/include/duckdb/storage/compression/alp/alp_compress.hpp +4 -4
- package/src/duckdb/src/include/duckdb/storage/compression/alp/alp_utils.hpp +2 -1
- package/src/duckdb/src/include/duckdb/storage/compression/alprd/algorithm/alprd.hpp +10 -8
- package/src/duckdb/src/include/duckdb/storage/compression/alprd/alprd_analyze.hpp +5 -1
- package/src/duckdb/src/include/duckdb/storage/compression/alprd/alprd_compress.hpp +3 -3
- package/src/duckdb/src/include/duckdb/storage/compression/chimp/algorithm/bit_reader.hpp +11 -10
- package/src/duckdb/src/include/duckdb/storage/compression/chimp/algorithm/bit_utils.hpp +3 -1
- package/src/duckdb/src/include/duckdb/storage/compression/chimp/algorithm/chimp128.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/compression/chimp/algorithm/leading_zero_buffer.hpp +5 -3
- package/src/duckdb/src/include/duckdb/storage/compression/chimp/chimp_scan.hpp +2 -1
- package/src/duckdb/src/include/duckdb/storage/data_pointer.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/data_table.hpp +3 -1
- package/src/duckdb/src/include/duckdb/storage/index.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/partial_block_manager.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/standard_buffer_manager.hpp +3 -0
- package/src/duckdb/src/include/duckdb/storage/storage_manager.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/table/append_state.hpp +0 -2
- package/src/duckdb/src/include/duckdb/storage/table/column_checkpoint_state.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/table/column_data.hpp +5 -3
- package/src/duckdb/src/include/duckdb/storage/table/column_segment.hpp +2 -2
- package/src/duckdb/src/include/duckdb/storage/table/row_group.hpp +5 -0
- package/src/duckdb/src/include/duckdb/storage/table/row_group_collection.hpp +9 -2
- package/src/duckdb/src/include/duckdb/storage/table/scan_state.hpp +2 -6
- package/src/duckdb/src/include/duckdb/storage/table/segment_tree.hpp +3 -3
- package/src/duckdb/src/include/duckdb/storage/temporary_file_manager.hpp +169 -0
- package/src/duckdb/src/include/duckdb/transaction/duck_transaction_manager.hpp +11 -1
- package/src/duckdb/src/include/duckdb/transaction/meta_transaction.hpp +6 -1
- package/src/duckdb/src/include/duckdb/transaction/transaction.hpp +1 -1
- package/src/duckdb/src/include/duckdb.h +119 -67
- package/src/duckdb/src/main/appender.cpp +2 -1
- package/src/duckdb/src/main/attached_database.cpp +49 -27
- package/src/duckdb/src/main/capi/appender-c.cpp +1 -1
- package/src/duckdb/src/main/capi/cast/ub_duckdb_main_capi_cast.cpp +3 -0
- package/src/duckdb/src/main/capi/cast/utils-c.cpp +1 -1
- package/src/duckdb/src/main/capi/data_chunk-c.cpp +9 -1
- package/src/duckdb/src/main/capi/datetime-c.cpp +14 -8
- package/src/duckdb/src/main/capi/duckdb_value-c.cpp +29 -2
- package/src/duckdb/src/main/capi/helper-c.cpp +2 -0
- package/src/duckdb/src/main/capi/hugeint-c.cpp +2 -1
- package/src/duckdb/src/main/capi/logical_types-c.cpp +35 -1
- package/src/duckdb/src/main/capi/result-c.cpp +9 -0
- package/src/duckdb/src/main/capi/ub_duckdb_main_capi.cpp +19 -0
- package/src/duckdb/src/main/chunk_scan_state/ub_duckdb_main_chunk_scan_state.cpp +2 -0
- package/src/duckdb/src/main/client_context.cpp +133 -33
- package/src/duckdb/src/main/client_context_file_opener.cpp +8 -7
- package/src/duckdb/src/main/config.cpp +2 -0
- package/src/duckdb/src/main/connection_manager.cpp +8 -0
- package/src/duckdb/src/main/database.cpp +13 -4
- package/src/duckdb/src/main/database_manager.cpp +10 -1
- package/src/duckdb/src/main/extension/extension_helper.cpp +8 -5
- package/src/duckdb/src/main/extension/extension_install.cpp +1 -1
- package/src/duckdb/src/main/extension/ub_duckdb_main_extension.cpp +6 -0
- package/src/duckdb/src/main/prepared_statement_data.cpp +23 -6
- package/src/duckdb/src/main/query_profiler.cpp +9 -7
- package/src/duckdb/src/main/relation/read_csv_relation.cpp +17 -12
- package/src/duckdb/src/main/relation/ub_duckdb_main_relation.cpp +26 -0
- package/src/duckdb/src/main/relation/value_relation.cpp +2 -0
- package/src/duckdb/src/main/secret/secret.cpp +1 -1
- package/src/duckdb/src/main/secret/secret_manager.cpp +41 -8
- package/src/duckdb/src/main/secret/secret_storage.cpp +8 -2
- package/src/duckdb/src/main/settings/settings.cpp +42 -2
- package/src/duckdb/src/main/settings/ub_duckdb_main_settings.cpp +2 -0
- package/src/duckdb/src/main/ub_duckdb_main.cpp +25 -0
- package/src/duckdb/src/optimizer/compressed_materialization/ub_duckdb_optimizer_compressed_materialization.cpp +4 -0
- package/src/duckdb/src/optimizer/filter_combiner.cpp +20 -14
- package/src/duckdb/src/optimizer/in_clause_rewriter.cpp +5 -1
- package/src/duckdb/src/optimizer/join_order/relation_manager.cpp +23 -11
- package/src/duckdb/src/optimizer/join_order/ub_duckdb_optimizer_join_order.cpp +12 -0
- package/src/duckdb/src/optimizer/matcher/ub_duckdb_optimizer_matcher.cpp +2 -0
- package/src/duckdb/src/optimizer/pullup/ub_duckdb_optimizer_pullup.cpp +6 -0
- package/src/duckdb/src/optimizer/pushdown/pushdown_limit.cpp +1 -1
- package/src/duckdb/src/optimizer/pushdown/ub_duckdb_optimizer_pushdown.cpp +12 -0
- package/src/duckdb/src/optimizer/remove_unused_columns.cpp +7 -6
- package/src/duckdb/src/optimizer/rule/ordered_aggregate_optimizer.cpp +8 -6
- package/src/duckdb/src/optimizer/rule/regex_optimizations.cpp +1 -1
- package/src/duckdb/src/optimizer/rule/ub_duckdb_optimizer_rules.cpp +16 -0
- package/src/duckdb/src/optimizer/statistics/expression/propagate_cast.cpp +71 -1
- package/src/duckdb/src/optimizer/statistics/expression/ub_duckdb_optimizer_statistics_expr.cpp +11 -0
- package/src/duckdb/src/optimizer/statistics/operator/propagate_join.cpp +1 -1
- package/src/duckdb/src/optimizer/statistics/operator/propagate_limit.cpp +5 -1
- package/src/duckdb/src/optimizer/statistics/operator/ub_duckdb_optimizer_statistics_op.cpp +11 -0
- package/src/duckdb/src/optimizer/topn_optimizer.cpp +12 -11
- package/src/duckdb/src/optimizer/ub_duckdb_optimizer.cpp +20 -0
- package/src/duckdb/src/parallel/executor.cpp +8 -19
- package/src/duckdb/src/parallel/executor_task.cpp +6 -2
- package/src/duckdb/src/parallel/pipeline.cpp +12 -6
- package/src/duckdb/src/parallel/pipeline_executor.cpp +1 -1
- package/src/duckdb/src/parallel/pipeline_finish_event.cpp +2 -2
- package/src/duckdb/src/parallel/pipeline_initialize_event.cpp +1 -2
- package/src/duckdb/src/parallel/task_scheduler.cpp +15 -8
- package/src/duckdb/src/parallel/ub_duckdb_parallel.cpp +15 -0
- package/src/duckdb/src/parser/constraints/ub_duckdb_constraints.cpp +5 -0
- package/src/duckdb/src/parser/expression/ub_duckdb_expression.cpp +18 -0
- package/src/duckdb/src/parser/parsed_data/alter_table_info.cpp +0 -18
- package/src/duckdb/src/parser/parsed_data/comment_on_column_info.cpp +44 -0
- package/src/duckdb/src/parser/parsed_data/create_view_info.cpp +1 -0
- package/src/duckdb/src/parser/parsed_data/extra_drop_info.cpp +2 -0
- package/src/duckdb/src/parser/parsed_data/ub_duckdb_parsed_data.cpp +24 -0
- package/src/duckdb/src/parser/parser.cpp +1 -1
- package/src/duckdb/src/parser/query_error_context.cpp +15 -1
- package/src/duckdb/src/parser/query_node/ub_duckdb_query_node.cpp +5 -0
- package/src/duckdb/src/parser/statement/export_statement.cpp +2 -1
- package/src/duckdb/src/parser/statement/relation_statement.cpp +2 -2
- package/src/duckdb/src/parser/statement/ub_duckdb_statement.cpp +25 -0
- package/src/duckdb/src/parser/tableref/pivotref.cpp +3 -3
- package/src/duckdb/src/parser/tableref/showref.cpp +2 -0
- package/src/duckdb/src/parser/tableref/ub_duckdb_parser_tableref.cpp +8 -0
- package/src/duckdb/src/parser/transform/constraint/ub_duckdb_transformer_constraint.cpp +2 -0
- package/src/duckdb/src/parser/transform/expression/transform_boolean_test.cpp +1 -1
- package/src/duckdb/src/parser/transform/expression/transform_cast.cpp +10 -2
- package/src/duckdb/src/parser/transform/expression/transform_constant.cpp +7 -7
- package/src/duckdb/src/parser/transform/expression/transform_interval.cpp +2 -1
- package/src/duckdb/src/parser/transform/expression/ub_duckdb_transformer_expression.cpp +20 -0
- package/src/duckdb/src/parser/transform/helpers/transform_typename.cpp +2 -2
- package/src/duckdb/src/parser/transform/helpers/ub_duckdb_transformer_helpers.cpp +8 -0
- package/src/duckdb/src/parser/transform/statement/transform_comment_on.cpp +3 -8
- package/src/duckdb/src/parser/transform/statement/transform_pivot_stmt.cpp +3 -1
- package/src/duckdb/src/parser/transform/statement/transform_show_select.cpp +2 -3
- package/src/duckdb/src/parser/transform/statement/ub_duckdb_transformer_statement.cpp +37 -0
- package/src/duckdb/src/parser/transform/tableref/transform_join.cpp +16 -0
- package/src/duckdb/src/parser/transform/tableref/transform_pivot.cpp +49 -32
- package/src/duckdb/src/parser/transform/tableref/ub_duckdb_transformer_tableref.cpp +8 -0
- package/src/duckdb/src/parser/ub_duckdb_parser.cpp +15 -0
- package/src/duckdb/src/planner/binder/expression/bind_lambda.cpp +11 -4
- package/src/duckdb/src/planner/binder/expression/bind_operator_expression.cpp +4 -1
- package/src/duckdb/src/planner/binder/expression/bind_star_expression.cpp +71 -5
- package/src/duckdb/src/planner/binder/expression/bind_window_expression.cpp +35 -1
- package/src/duckdb/src/planner/binder/expression/ub_duckdb_bind_expression.cpp +20 -0
- package/src/duckdb/src/planner/binder/query_node/bind_select_node.cpp +55 -51
- package/src/duckdb/src/planner/binder/query_node/plan_query_node.cpp +1 -11
- package/src/duckdb/src/planner/binder/query_node/plan_subquery.cpp +2 -2
- package/src/duckdb/src/planner/binder/query_node/ub_duckdb_bind_query_node.cpp +12 -0
- package/src/duckdb/src/planner/binder/statement/bind_create.cpp +12 -6
- package/src/duckdb/src/planner/binder/statement/bind_drop.cpp +1 -1
- package/src/duckdb/src/planner/binder/statement/bind_export.cpp +8 -2
- package/src/duckdb/src/planner/binder/statement/bind_insert.cpp +6 -3
- package/src/duckdb/src/planner/binder/statement/bind_simple.cpp +13 -2
- package/src/duckdb/src/planner/binder/statement/ub_duckdb_bind_statement.cpp +26 -0
- package/src/duckdb/src/planner/binder/tableref/bind_basetableref.cpp +15 -4
- package/src/duckdb/src/planner/binder/tableref/bind_joinref.cpp +9 -2
- package/src/duckdb/src/planner/binder/tableref/bind_pivot.cpp +93 -45
- package/src/duckdb/src/planner/binder/tableref/bind_subqueryref.cpp +6 -1
- package/src/duckdb/src/planner/binder/tableref/ub_duckdb_bind_tableref.cpp +17 -0
- package/src/duckdb/src/planner/binder.cpp +22 -23
- package/src/duckdb/src/planner/bound_result_modifier.cpp +67 -4
- package/src/duckdb/src/planner/expression/bound_cast_expression.cpp +5 -1
- package/src/duckdb/src/planner/expression/bound_window_expression.cpp +3 -0
- package/src/duckdb/src/planner/expression/ub_duckdb_planner_expression.cpp +19 -0
- package/src/duckdb/src/planner/expression_binder/column_alias_binder.cpp +14 -9
- package/src/duckdb/src/planner/expression_binder/having_binder.cpp +17 -9
- package/src/duckdb/src/planner/expression_binder/lateral_binder.cpp +61 -37
- package/src/duckdb/src/planner/expression_binder/qualify_binder.cpp +8 -4
- package/src/duckdb/src/planner/expression_binder/ub_duckdb_expression_binders.cpp +20 -0
- package/src/duckdb/src/planner/expression_binder/where_binder.cpp +3 -2
- package/src/duckdb/src/planner/expression_iterator.cpp +73 -52
- package/src/duckdb/src/planner/filter/ub_duckdb_planner_filter.cpp +4 -0
- package/src/duckdb/src/planner/logical_operator_visitor.cpp +4 -14
- package/src/duckdb/src/planner/operator/logical_limit.cpp +14 -6
- package/src/duckdb/src/planner/operator/ub_duckdb_planner_operator.cpp +43 -0
- package/src/duckdb/src/planner/parsed_data/ub_duckdb_planner_parsed_data.cpp +2 -0
- package/src/duckdb/src/planner/planner.cpp +3 -0
- package/src/duckdb/src/planner/subquery/flatten_dependent_join.cpp +46 -18
- package/src/duckdb/src/planner/subquery/rewrite_correlated_expressions.cpp +39 -33
- package/src/duckdb/src/planner/subquery/ub_duckdb_planner_subquery.cpp +4 -0
- package/src/duckdb/src/planner/ub_duckdb_planner.cpp +15 -0
- package/src/duckdb/src/storage/arena_allocator.cpp +9 -0
- package/src/duckdb/src/storage/buffer/block_handle.cpp +7 -2
- package/src/duckdb/src/storage/buffer/block_manager.cpp +7 -3
- package/src/duckdb/src/storage/buffer/buffer_pool.cpp +121 -24
- package/src/duckdb/src/storage/buffer/ub_duckdb_storage_buffer.cpp +6 -0
- package/src/duckdb/src/storage/checkpoint/ub_duckdb_storage_checkpoint.cpp +5 -0
- package/src/duckdb/src/storage/checkpoint/write_overflow_strings_to_disk.cpp +4 -4
- package/src/duckdb/src/storage/compression/chimp/ub_duckdb_storage_compression_chimp.cpp +6 -0
- package/src/duckdb/src/storage/compression/dictionary_compression.cpp +6 -5
- package/src/duckdb/src/storage/compression/fsst.cpp +3 -2
- package/src/duckdb/src/storage/compression/rle.cpp +1 -1
- package/src/duckdb/src/storage/compression/string_uncompressed.cpp +4 -4
- package/src/duckdb/src/storage/compression/ub_duckdb_storage_compression.cpp +12 -0
- package/src/duckdb/src/storage/data_table.cpp +6 -3
- package/src/duckdb/src/storage/local_storage.cpp +5 -2
- package/src/duckdb/src/storage/metadata/metadata_manager.cpp +4 -4
- package/src/duckdb/src/storage/metadata/metadata_reader.cpp +1 -1
- package/src/duckdb/src/storage/metadata/metadata_writer.cpp +1 -1
- package/src/duckdb/src/storage/metadata/ub_duckdb_storage_metadata.cpp +4 -0
- package/src/duckdb/src/storage/partial_block_manager.cpp +1 -1
- package/src/duckdb/src/storage/serialization/serialize_create_info.cpp +2 -0
- package/src/duckdb/src/storage/serialization/serialize_expression.cpp +3 -0
- package/src/duckdb/src/storage/serialization/serialize_logical_operator.cpp +5 -29
- package/src/duckdb/src/storage/serialization/serialize_nodes.cpp +22 -4
- package/src/duckdb/src/storage/serialization/serialize_parse_info.cpp +12 -32
- package/src/duckdb/src/storage/serialization/ub_duckdb_storage_serialization.cpp +16 -0
- package/src/duckdb/src/storage/standard_buffer_manager.cpp +29 -397
- package/src/duckdb/src/storage/statistics/string_stats.cpp +1 -1
- package/src/duckdb/src/storage/statistics/ub_duckdb_storage_statistics.cpp +10 -0
- package/src/duckdb/src/storage/storage_info.cpp +1 -1
- package/src/duckdb/src/storage/table/column_checkpoint_state.cpp +3 -3
- package/src/duckdb/src/storage/table/column_data.cpp +7 -16
- package/src/duckdb/src/storage/table/column_data_checkpointer.cpp +4 -1
- package/src/duckdb/src/storage/table/column_segment.cpp +68 -78
- package/src/duckdb/src/storage/table/list_column_data.cpp +1 -0
- package/src/duckdb/src/storage/table/row_group.cpp +17 -7
- package/src/duckdb/src/storage/table/row_group_collection.cpp +28 -27
- package/src/duckdb/src/storage/table/ub_duckdb_storage_table.cpp +17 -0
- package/src/duckdb/src/storage/table/update_segment.cpp +7 -7
- package/src/duckdb/src/storage/temporary_file_manager.cpp +334 -0
- package/src/duckdb/src/storage/ub_duckdb_storage.cpp +20 -0
- package/src/duckdb/src/storage/write_ahead_log.cpp +3 -2
- package/src/duckdb/src/transaction/commit_state.cpp +4 -2
- package/src/duckdb/src/transaction/duck_transaction_manager.cpp +32 -17
- package/src/duckdb/src/transaction/meta_transaction.cpp +24 -0
- package/src/duckdb/src/transaction/transaction_context.cpp +0 -9
- package/src/duckdb/src/transaction/ub_duckdb_transaction.cpp +11 -0
- package/src/duckdb/src/transaction/undo_buffer.cpp +1 -1
- package/src/duckdb/third_party/jaro_winkler/details/common.hpp +1 -1
- package/src/duckdb/third_party/libpg_query/include/nodes/parsenodes.hpp +2 -0
- package/src/duckdb/third_party/libpg_query/include/parser/gram.hpp +1032 -551
- package/src/duckdb/third_party/libpg_query/src_backend_parser_gram.cpp +24122 -24304
- package/src/duckdb/third_party/mbedtls/include/mbedtls/mbedtls_config.h +0 -3
- package/src/duckdb/third_party/mbedtls/library/entropy_poll.cpp +32 -4
- package/src/duckdb/third_party/miniz/miniz_wrapper.hpp +4 -4
- package/src/duckdb/third_party/tdigest/t_digest.hpp +3 -3
- package/src/duckdb/ub_src_common_arrow_appender.cpp +2 -0
- package/src/duckdb/ub_src_common_exception.cpp +2 -0
- package/src/duckdb/ub_src_execution_operator_helper.cpp +2 -0
- package/src/duckdb/ub_src_execution_operator_persistent.cpp +0 -2
- package/src/duckdb/ub_src_execution_physical_plan.cpp +0 -2
- package/src/duckdb/ub_src_parser_parsed_data.cpp +1 -1
- package/src/duckdb/ub_src_planner_operator.cpp +0 -2
- package/src/duckdb/ub_src_storage.cpp +2 -0
- package/test/columns.test.ts +1 -1
- package/test/test_all_types.test.ts +1 -1
@@ -1,14 +1,14 @@
|
|
1
|
-
/* A Bison parser, made by GNU Bison 3.
|
1
|
+
/* A Bison parser, made by GNU Bison 2.3. */
|
2
2
|
|
3
|
-
/*
|
3
|
+
/* Skeleton interface for Bison's Yacc-like parsers in C
|
4
4
|
|
5
|
-
Copyright (C) 1984, 1989
|
6
|
-
Inc.
|
5
|
+
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
6
|
+
Free Software Foundation, 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
|
-
|
10
|
+
the Free Software Foundation; either version 2, or (at your option)
|
11
|
+
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,7 +16,9 @@
|
|
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
|
19
|
+
along with this program; if not, write to the Free Software
|
20
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
21
|
+
Boston, MA 02110-1301, USA. */
|
20
22
|
|
21
23
|
/* As a special exception, you may create a larger work that contains
|
22
24
|
part or all of the Bison parser skeleton and distribute that work
|
@@ -31,539 +33,1023 @@
|
|
31
33
|
This special exception was added by the Free Software Foundation in
|
32
34
|
version 2.2 of Bison. */
|
33
35
|
|
34
|
-
/*
|
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. */
|
36
|
+
/* Tokens. */
|
49
37
|
#ifndef YYTOKENTYPE
|
50
38
|
# define YYTOKENTYPE
|
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
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
POSTFIXOP = 756, /* POSTFIXOP */
|
556
|
-
UMINUS = 757 /* UMINUS */
|
557
|
-
};
|
558
|
-
typedef enum yytokentype yytoken_kind_t;
|
39
|
+
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
40
|
+
know about them. */
|
41
|
+
enum yytokentype {
|
42
|
+
IDENT = 258,
|
43
|
+
FCONST = 259,
|
44
|
+
SCONST = 260,
|
45
|
+
BCONST = 261,
|
46
|
+
XCONST = 262,
|
47
|
+
Op = 263,
|
48
|
+
ICONST = 264,
|
49
|
+
PARAM = 265,
|
50
|
+
TYPECAST = 266,
|
51
|
+
DOT_DOT = 267,
|
52
|
+
COLON_EQUALS = 268,
|
53
|
+
EQUALS_GREATER = 269,
|
54
|
+
INTEGER_DIVISION = 270,
|
55
|
+
POWER_OF = 271,
|
56
|
+
LAMBDA_ARROW = 272,
|
57
|
+
DOUBLE_ARROW = 273,
|
58
|
+
LESS_EQUALS = 274,
|
59
|
+
GREATER_EQUALS = 275,
|
60
|
+
NOT_EQUALS = 276,
|
61
|
+
ABORT_P = 277,
|
62
|
+
ABSOLUTE_P = 278,
|
63
|
+
ACCESS = 279,
|
64
|
+
ACTION = 280,
|
65
|
+
ADD_P = 281,
|
66
|
+
ADMIN = 282,
|
67
|
+
AFTER = 283,
|
68
|
+
AGGREGATE = 284,
|
69
|
+
ALL = 285,
|
70
|
+
ALSO = 286,
|
71
|
+
ALTER = 287,
|
72
|
+
ALWAYS = 288,
|
73
|
+
ANALYSE = 289,
|
74
|
+
ANALYZE = 290,
|
75
|
+
AND = 291,
|
76
|
+
ANTI = 292,
|
77
|
+
ANY = 293,
|
78
|
+
ARRAY = 294,
|
79
|
+
AS = 295,
|
80
|
+
ASC_P = 296,
|
81
|
+
ASOF = 297,
|
82
|
+
ASSERTION = 298,
|
83
|
+
ASSIGNMENT = 299,
|
84
|
+
ASYMMETRIC = 300,
|
85
|
+
AT = 301,
|
86
|
+
ATTACH = 302,
|
87
|
+
ATTRIBUTE = 303,
|
88
|
+
AUTHORIZATION = 304,
|
89
|
+
BACKWARD = 305,
|
90
|
+
BEFORE = 306,
|
91
|
+
BEGIN_P = 307,
|
92
|
+
BETWEEN = 308,
|
93
|
+
BIGINT = 309,
|
94
|
+
BINARY = 310,
|
95
|
+
BIT = 311,
|
96
|
+
BOOLEAN_P = 312,
|
97
|
+
BOTH = 313,
|
98
|
+
BY = 314,
|
99
|
+
CACHE = 315,
|
100
|
+
CALL_P = 316,
|
101
|
+
CALLED = 317,
|
102
|
+
CASCADE = 318,
|
103
|
+
CASCADED = 319,
|
104
|
+
CASE = 320,
|
105
|
+
CAST = 321,
|
106
|
+
CATALOG_P = 322,
|
107
|
+
CENTURIES_P = 323,
|
108
|
+
CENTURY_P = 324,
|
109
|
+
CHAIN = 325,
|
110
|
+
CHAR_P = 326,
|
111
|
+
CHARACTER = 327,
|
112
|
+
CHARACTERISTICS = 328,
|
113
|
+
CHECK_P = 329,
|
114
|
+
CHECKPOINT = 330,
|
115
|
+
CLASS = 331,
|
116
|
+
CLOSE = 332,
|
117
|
+
CLUSTER = 333,
|
118
|
+
COALESCE = 334,
|
119
|
+
COLLATE = 335,
|
120
|
+
COLLATION = 336,
|
121
|
+
COLUMN = 337,
|
122
|
+
COLUMNS = 338,
|
123
|
+
COMMENT = 339,
|
124
|
+
COMMENTS = 340,
|
125
|
+
COMMIT = 341,
|
126
|
+
COMMITTED = 342,
|
127
|
+
COMPRESSION = 343,
|
128
|
+
CONCURRENTLY = 344,
|
129
|
+
CONFIGURATION = 345,
|
130
|
+
CONFLICT = 346,
|
131
|
+
CONNECTION = 347,
|
132
|
+
CONSTRAINT = 348,
|
133
|
+
CONSTRAINTS = 349,
|
134
|
+
CONTENT_P = 350,
|
135
|
+
CONTINUE_P = 351,
|
136
|
+
CONVERSION_P = 352,
|
137
|
+
COPY = 353,
|
138
|
+
COST = 354,
|
139
|
+
CREATE_P = 355,
|
140
|
+
CROSS = 356,
|
141
|
+
CSV = 357,
|
142
|
+
CUBE = 358,
|
143
|
+
CURRENT_P = 359,
|
144
|
+
CURSOR = 360,
|
145
|
+
CYCLE = 361,
|
146
|
+
DATA_P = 362,
|
147
|
+
DATABASE = 363,
|
148
|
+
DAY_P = 364,
|
149
|
+
DAYS_P = 365,
|
150
|
+
DEALLOCATE = 366,
|
151
|
+
DEC = 367,
|
152
|
+
DECADE_P = 368,
|
153
|
+
DECADES_P = 369,
|
154
|
+
DECIMAL_P = 370,
|
155
|
+
DECLARE = 371,
|
156
|
+
DEFAULT = 372,
|
157
|
+
DEFAULTS = 373,
|
158
|
+
DEFERRABLE = 374,
|
159
|
+
DEFERRED = 375,
|
160
|
+
DEFINER = 376,
|
161
|
+
DELETE_P = 377,
|
162
|
+
DELIMITER = 378,
|
163
|
+
DELIMITERS = 379,
|
164
|
+
DEPENDS = 380,
|
165
|
+
DESC_P = 381,
|
166
|
+
DESCRIBE = 382,
|
167
|
+
DETACH = 383,
|
168
|
+
DICTIONARY = 384,
|
169
|
+
DISABLE_P = 385,
|
170
|
+
DISCARD = 386,
|
171
|
+
DISTINCT = 387,
|
172
|
+
DO = 388,
|
173
|
+
DOCUMENT_P = 389,
|
174
|
+
DOMAIN_P = 390,
|
175
|
+
DOUBLE_P = 391,
|
176
|
+
DROP = 392,
|
177
|
+
EACH = 393,
|
178
|
+
ELSE = 394,
|
179
|
+
ENABLE_P = 395,
|
180
|
+
ENCODING = 396,
|
181
|
+
ENCRYPTED = 397,
|
182
|
+
END_P = 398,
|
183
|
+
ENUM_P = 399,
|
184
|
+
ESCAPE = 400,
|
185
|
+
EVENT = 401,
|
186
|
+
EXCEPT = 402,
|
187
|
+
EXCLUDE = 403,
|
188
|
+
EXCLUDING = 404,
|
189
|
+
EXCLUSIVE = 405,
|
190
|
+
EXECUTE = 406,
|
191
|
+
EXISTS = 407,
|
192
|
+
EXPLAIN = 408,
|
193
|
+
EXPORT_P = 409,
|
194
|
+
EXPORT_STATE = 410,
|
195
|
+
EXTENSION = 411,
|
196
|
+
EXTERNAL = 412,
|
197
|
+
EXTRACT = 413,
|
198
|
+
FALSE_P = 414,
|
199
|
+
FAMILY = 415,
|
200
|
+
FETCH = 416,
|
201
|
+
FILTER = 417,
|
202
|
+
FIRST_P = 418,
|
203
|
+
FLOAT_P = 419,
|
204
|
+
FOLLOWING = 420,
|
205
|
+
FOR = 421,
|
206
|
+
FORCE = 422,
|
207
|
+
FOREIGN = 423,
|
208
|
+
FORWARD = 424,
|
209
|
+
FREEZE = 425,
|
210
|
+
FROM = 426,
|
211
|
+
FULL = 427,
|
212
|
+
FUNCTION = 428,
|
213
|
+
FUNCTIONS = 429,
|
214
|
+
GENERATED = 430,
|
215
|
+
GLOB = 431,
|
216
|
+
GLOBAL = 432,
|
217
|
+
GRANT = 433,
|
218
|
+
GRANTED = 434,
|
219
|
+
GROUP_P = 435,
|
220
|
+
GROUPING = 436,
|
221
|
+
GROUPING_ID = 437,
|
222
|
+
GROUPS = 438,
|
223
|
+
HANDLER = 439,
|
224
|
+
HAVING = 440,
|
225
|
+
HEADER_P = 441,
|
226
|
+
HOLD = 442,
|
227
|
+
HOUR_P = 443,
|
228
|
+
HOURS_P = 444,
|
229
|
+
IDENTITY_P = 445,
|
230
|
+
IF_P = 446,
|
231
|
+
IGNORE_P = 447,
|
232
|
+
ILIKE = 448,
|
233
|
+
IMMEDIATE = 449,
|
234
|
+
IMMUTABLE = 450,
|
235
|
+
IMPLICIT_P = 451,
|
236
|
+
IMPORT_P = 452,
|
237
|
+
IN_P = 453,
|
238
|
+
INCLUDE_P = 454,
|
239
|
+
INCLUDING = 455,
|
240
|
+
INCREMENT = 456,
|
241
|
+
INDEX = 457,
|
242
|
+
INDEXES = 458,
|
243
|
+
INHERIT = 459,
|
244
|
+
INHERITS = 460,
|
245
|
+
INITIALLY = 461,
|
246
|
+
INLINE_P = 462,
|
247
|
+
INNER_P = 463,
|
248
|
+
INOUT = 464,
|
249
|
+
INPUT_P = 465,
|
250
|
+
INSENSITIVE = 466,
|
251
|
+
INSERT = 467,
|
252
|
+
INSTALL = 468,
|
253
|
+
INSTEAD = 469,
|
254
|
+
INT_P = 470,
|
255
|
+
INTEGER = 471,
|
256
|
+
INTERSECT = 472,
|
257
|
+
INTERVAL = 473,
|
258
|
+
INTO = 474,
|
259
|
+
INVOKER = 475,
|
260
|
+
IS = 476,
|
261
|
+
ISNULL = 477,
|
262
|
+
ISOLATION = 478,
|
263
|
+
JOIN = 479,
|
264
|
+
JSON = 480,
|
265
|
+
KEY = 481,
|
266
|
+
LABEL = 482,
|
267
|
+
LANGUAGE = 483,
|
268
|
+
LARGE_P = 484,
|
269
|
+
LAST_P = 485,
|
270
|
+
LATERAL_P = 486,
|
271
|
+
LEADING = 487,
|
272
|
+
LEAKPROOF = 488,
|
273
|
+
LEFT = 489,
|
274
|
+
LEVEL = 490,
|
275
|
+
LIKE = 491,
|
276
|
+
LIMIT = 492,
|
277
|
+
LISTEN = 493,
|
278
|
+
LOAD = 494,
|
279
|
+
LOCAL = 495,
|
280
|
+
LOCATION = 496,
|
281
|
+
LOCK_P = 497,
|
282
|
+
LOCKED = 498,
|
283
|
+
LOGGED = 499,
|
284
|
+
MACRO = 500,
|
285
|
+
MAP = 501,
|
286
|
+
MAPPING = 502,
|
287
|
+
MATCH = 503,
|
288
|
+
MATERIALIZED = 504,
|
289
|
+
MAXVALUE = 505,
|
290
|
+
METHOD = 506,
|
291
|
+
MICROSECOND_P = 507,
|
292
|
+
MICROSECONDS_P = 508,
|
293
|
+
MILLENNIA_P = 509,
|
294
|
+
MILLENNIUM_P = 510,
|
295
|
+
MILLISECOND_P = 511,
|
296
|
+
MILLISECONDS_P = 512,
|
297
|
+
MINUTE_P = 513,
|
298
|
+
MINUTES_P = 514,
|
299
|
+
MINVALUE = 515,
|
300
|
+
MODE = 516,
|
301
|
+
MONTH_P = 517,
|
302
|
+
MONTHS_P = 518,
|
303
|
+
MOVE = 519,
|
304
|
+
NAME_P = 520,
|
305
|
+
NAMES = 521,
|
306
|
+
NATIONAL = 522,
|
307
|
+
NATURAL = 523,
|
308
|
+
NCHAR = 524,
|
309
|
+
NEW = 525,
|
310
|
+
NEXT = 526,
|
311
|
+
NO = 527,
|
312
|
+
NONE = 528,
|
313
|
+
NOT = 529,
|
314
|
+
NOTHING = 530,
|
315
|
+
NOTIFY = 531,
|
316
|
+
NOTNULL = 532,
|
317
|
+
NOWAIT = 533,
|
318
|
+
NULL_P = 534,
|
319
|
+
NULLIF = 535,
|
320
|
+
NULLS_P = 536,
|
321
|
+
NUMERIC = 537,
|
322
|
+
OBJECT_P = 538,
|
323
|
+
OF = 539,
|
324
|
+
OFF = 540,
|
325
|
+
OFFSET = 541,
|
326
|
+
OIDS = 542,
|
327
|
+
OLD = 543,
|
328
|
+
ON = 544,
|
329
|
+
ONLY = 545,
|
330
|
+
OPERATOR = 546,
|
331
|
+
OPTION = 547,
|
332
|
+
OPTIONS = 548,
|
333
|
+
OR = 549,
|
334
|
+
ORDER = 550,
|
335
|
+
ORDINALITY = 551,
|
336
|
+
OTHERS = 552,
|
337
|
+
OUT_P = 553,
|
338
|
+
OUTER_P = 554,
|
339
|
+
OVER = 555,
|
340
|
+
OVERLAPS = 556,
|
341
|
+
OVERLAY = 557,
|
342
|
+
OVERRIDING = 558,
|
343
|
+
OWNED = 559,
|
344
|
+
OWNER = 560,
|
345
|
+
PARALLEL = 561,
|
346
|
+
PARSER = 562,
|
347
|
+
PARTIAL = 563,
|
348
|
+
PARTITION = 564,
|
349
|
+
PASSING = 565,
|
350
|
+
PASSWORD = 566,
|
351
|
+
PERCENT = 567,
|
352
|
+
PERSISTENT = 568,
|
353
|
+
PIVOT = 569,
|
354
|
+
PIVOT_LONGER = 570,
|
355
|
+
PIVOT_WIDER = 571,
|
356
|
+
PLACING = 572,
|
357
|
+
PLANS = 573,
|
358
|
+
POLICY = 574,
|
359
|
+
POSITION = 575,
|
360
|
+
POSITIONAL = 576,
|
361
|
+
PRAGMA_P = 577,
|
362
|
+
PRECEDING = 578,
|
363
|
+
PRECISION = 579,
|
364
|
+
PREPARE = 580,
|
365
|
+
PREPARED = 581,
|
366
|
+
PRESERVE = 582,
|
367
|
+
PRIMARY = 583,
|
368
|
+
PRIOR = 584,
|
369
|
+
PRIVILEGES = 585,
|
370
|
+
PROCEDURAL = 586,
|
371
|
+
PROCEDURE = 587,
|
372
|
+
PROGRAM = 588,
|
373
|
+
PUBLICATION = 589,
|
374
|
+
QUALIFY = 590,
|
375
|
+
QUOTE = 591,
|
376
|
+
RANGE = 592,
|
377
|
+
READ_P = 593,
|
378
|
+
REAL = 594,
|
379
|
+
REASSIGN = 595,
|
380
|
+
RECHECK = 596,
|
381
|
+
RECURSIVE = 597,
|
382
|
+
REF = 598,
|
383
|
+
REFERENCES = 599,
|
384
|
+
REFERENCING = 600,
|
385
|
+
REFRESH = 601,
|
386
|
+
REINDEX = 602,
|
387
|
+
RELATIVE_P = 603,
|
388
|
+
RELEASE = 604,
|
389
|
+
RENAME = 605,
|
390
|
+
REPEATABLE = 606,
|
391
|
+
REPLACE = 607,
|
392
|
+
REPLICA = 608,
|
393
|
+
RESET = 609,
|
394
|
+
RESPECT_P = 610,
|
395
|
+
RESTART = 611,
|
396
|
+
RESTRICT = 612,
|
397
|
+
RETURNING = 613,
|
398
|
+
RETURNS = 614,
|
399
|
+
REVOKE = 615,
|
400
|
+
RIGHT = 616,
|
401
|
+
ROLE = 617,
|
402
|
+
ROLLBACK = 618,
|
403
|
+
ROLLUP = 619,
|
404
|
+
ROW = 620,
|
405
|
+
ROWS = 621,
|
406
|
+
RULE = 622,
|
407
|
+
SAMPLE = 623,
|
408
|
+
SAVEPOINT = 624,
|
409
|
+
SCHEMA = 625,
|
410
|
+
SCHEMAS = 626,
|
411
|
+
SCOPE = 627,
|
412
|
+
SCROLL = 628,
|
413
|
+
SEARCH = 629,
|
414
|
+
SECOND_P = 630,
|
415
|
+
SECONDS_P = 631,
|
416
|
+
SECRET = 632,
|
417
|
+
SECURITY = 633,
|
418
|
+
SELECT = 634,
|
419
|
+
SEMI = 635,
|
420
|
+
SEQUENCE = 636,
|
421
|
+
SEQUENCES = 637,
|
422
|
+
SERIALIZABLE = 638,
|
423
|
+
SERVER = 639,
|
424
|
+
SESSION = 640,
|
425
|
+
SET = 641,
|
426
|
+
SETOF = 642,
|
427
|
+
SETS = 643,
|
428
|
+
SHARE = 644,
|
429
|
+
SHOW = 645,
|
430
|
+
SIMILAR = 646,
|
431
|
+
SIMPLE = 647,
|
432
|
+
SKIP = 648,
|
433
|
+
SMALLINT = 649,
|
434
|
+
SNAPSHOT = 650,
|
435
|
+
SOME = 651,
|
436
|
+
SQL_P = 652,
|
437
|
+
STABLE = 653,
|
438
|
+
STANDALONE_P = 654,
|
439
|
+
START = 655,
|
440
|
+
STATEMENT = 656,
|
441
|
+
STATISTICS = 657,
|
442
|
+
STDIN = 658,
|
443
|
+
STDOUT = 659,
|
444
|
+
STORAGE = 660,
|
445
|
+
STORED = 661,
|
446
|
+
STRICT_P = 662,
|
447
|
+
STRIP_P = 663,
|
448
|
+
STRUCT = 664,
|
449
|
+
SUBSCRIPTION = 665,
|
450
|
+
SUBSTRING = 666,
|
451
|
+
SUMMARIZE = 667,
|
452
|
+
SYMMETRIC = 668,
|
453
|
+
SYSID = 669,
|
454
|
+
SYSTEM_P = 670,
|
455
|
+
TABLE = 671,
|
456
|
+
TABLES = 672,
|
457
|
+
TABLESAMPLE = 673,
|
458
|
+
TABLESPACE = 674,
|
459
|
+
TEMP = 675,
|
460
|
+
TEMPLATE = 676,
|
461
|
+
TEMPORARY = 677,
|
462
|
+
TEXT_P = 678,
|
463
|
+
THEN = 679,
|
464
|
+
TIES = 680,
|
465
|
+
TIME = 681,
|
466
|
+
TIMESTAMP = 682,
|
467
|
+
TO = 683,
|
468
|
+
TRAILING = 684,
|
469
|
+
TRANSACTION = 685,
|
470
|
+
TRANSFORM = 686,
|
471
|
+
TREAT = 687,
|
472
|
+
TRIGGER = 688,
|
473
|
+
TRIM = 689,
|
474
|
+
TRUE_P = 690,
|
475
|
+
TRUNCATE = 691,
|
476
|
+
TRUSTED = 692,
|
477
|
+
TRY_CAST = 693,
|
478
|
+
TYPE_P = 694,
|
479
|
+
TYPES_P = 695,
|
480
|
+
UNBOUNDED = 696,
|
481
|
+
UNCOMMITTED = 697,
|
482
|
+
UNENCRYPTED = 698,
|
483
|
+
UNION = 699,
|
484
|
+
UNIQUE = 700,
|
485
|
+
UNKNOWN = 701,
|
486
|
+
UNLISTEN = 702,
|
487
|
+
UNLOGGED = 703,
|
488
|
+
UNPIVOT = 704,
|
489
|
+
UNTIL = 705,
|
490
|
+
UPDATE = 706,
|
491
|
+
USE_P = 707,
|
492
|
+
USER = 708,
|
493
|
+
USING = 709,
|
494
|
+
VACUUM = 710,
|
495
|
+
VALID = 711,
|
496
|
+
VALIDATE = 712,
|
497
|
+
VALIDATOR = 713,
|
498
|
+
VALUE_P = 714,
|
499
|
+
VALUES = 715,
|
500
|
+
VARCHAR = 716,
|
501
|
+
VARIADIC = 717,
|
502
|
+
VARYING = 718,
|
503
|
+
VERBOSE = 719,
|
504
|
+
VERSION_P = 720,
|
505
|
+
VIEW = 721,
|
506
|
+
VIEWS = 722,
|
507
|
+
VIRTUAL = 723,
|
508
|
+
VOLATILE = 724,
|
509
|
+
WEEK_P = 725,
|
510
|
+
WEEKS_P = 726,
|
511
|
+
WHEN = 727,
|
512
|
+
WHERE = 728,
|
513
|
+
WHITESPACE_P = 729,
|
514
|
+
WINDOW = 730,
|
515
|
+
WITH = 731,
|
516
|
+
WITHIN = 732,
|
517
|
+
WITHOUT = 733,
|
518
|
+
WORK = 734,
|
519
|
+
WRAPPER = 735,
|
520
|
+
WRITE_P = 736,
|
521
|
+
XML_P = 737,
|
522
|
+
XMLATTRIBUTES = 738,
|
523
|
+
XMLCONCAT = 739,
|
524
|
+
XMLELEMENT = 740,
|
525
|
+
XMLEXISTS = 741,
|
526
|
+
XMLFOREST = 742,
|
527
|
+
XMLNAMESPACES = 743,
|
528
|
+
XMLPARSE = 744,
|
529
|
+
XMLPI = 745,
|
530
|
+
XMLROOT = 746,
|
531
|
+
XMLSERIALIZE = 747,
|
532
|
+
XMLTABLE = 748,
|
533
|
+
YEAR_P = 749,
|
534
|
+
YEARS_P = 750,
|
535
|
+
YES_P = 751,
|
536
|
+
ZONE = 752,
|
537
|
+
NOT_LA = 753,
|
538
|
+
NULLS_LA = 754,
|
539
|
+
WITH_LA = 755,
|
540
|
+
POSTFIXOP = 756,
|
541
|
+
UMINUS = 757
|
542
|
+
};
|
559
543
|
#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
|
+
|
560
1048
|
|
561
|
-
/* Value type. */
|
562
1049
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
563
|
-
union YYSTYPE
|
564
|
-
{
|
1050
|
+
typedef union YYSTYPE
|
565
1051
|
#line 14 "third_party/libpg_query/grammar/grammar.y"
|
566
|
-
|
1052
|
+
{
|
567
1053
|
core_YYSTYPE core_yystype;
|
568
1054
|
/* these fields must match core_YYSTYPE: */
|
569
1055
|
int ival;
|
@@ -609,33 +1095,28 @@ union YYSTYPE
|
|
609
1095
|
PGSubLinkType subquerytype;
|
610
1096
|
PGViewCheckOption viewcheckoption;
|
611
1097
|
PGInsertColumnOrder bynameorposition;
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
# define YYSTYPE_IS_TRIVIAL 1
|
1098
|
+
}
|
1099
|
+
/* Line 1529 of yacc.c. */
|
1100
|
+
#line 1101 "third_party/libpg_query/grammar/grammar_out.hpp"
|
1101
|
+
YYSTYPE;
|
1102
|
+
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
618
1103
|
# define YYSTYPE_IS_DECLARED 1
|
1104
|
+
# define YYSTYPE_IS_TRIVIAL 1
|
619
1105
|
#endif
|
620
1106
|
|
621
|
-
|
1107
|
+
|
1108
|
+
|
622
1109
|
#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
|
623
|
-
typedef struct YYLTYPE
|
624
|
-
struct YYLTYPE
|
1110
|
+
typedef struct YYLTYPE
|
625
1111
|
{
|
626
1112
|
int first_line;
|
627
1113
|
int first_column;
|
628
1114
|
int last_line;
|
629
1115
|
int last_column;
|
630
|
-
};
|
1116
|
+
} YYLTYPE;
|
1117
|
+
# define yyltype YYLTYPE /* obsolescent; will be withdrawn */
|
631
1118
|
# define YYLTYPE_IS_DECLARED 1
|
632
1119
|
# define YYLTYPE_IS_TRIVIAL 1
|
633
1120
|
#endif
|
634
1121
|
|
635
1122
|
|
636
|
-
|
637
|
-
|
638
|
-
int base_yyparse (core_yyscan_t yyscanner);
|
639
|
-
|
640
|
-
|
641
|
-
#endif /* !YY_BASE_YY_THIRD_PARTY_LIBPG_QUERY_GRAMMAR_GRAMMAR_OUT_HPP_INCLUDED */
|