Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Nov 25, 2024
1 parent c3fe53e commit 88880b7
Show file tree
Hide file tree
Showing 9 changed files with 5,215 additions and 181 deletions.
2 changes: 1 addition & 1 deletion cibuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export DEBUG=${DEBUG:-false}
export PGDATA=${PGROOT}/base
export PGUSER=${PGUSER:-postgres}
export PGPATCH=${WORKSPACE}/patches
export TOTAL_MEMORY=${TOTAL_MEMORY:-512MB}
export TOTAL_MEMORY=${TOTAL_MEMORY:-256MB}
export WASI=${WASI:-false}
# 72 - 144228352
# -sINITIAL_HEAP not compatible with IMPORTED_MEMORY (which is enabled indirectly via SHARED_MEMORY, RELOCATABLE, ASYNCIFY_LAZY_LOAD_CODE)
Expand Down
6 changes: 0 additions & 6 deletions cibuild/linkimports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,10 @@ _shmem_request_hook
_shmem_startup_hook
_stderr
_TopMemoryContext
__ZNSt12length_errorD1Ev
__ZNSt20bad_array_new_lengthD1Ev
__ZNSt16invalid_argumentD1Ev
""".splitlines():
if sym and not sym in matches:
matches.append(sym)
# __ZNSt13runtime_errorD1Ev : i32 std::length_error::~length_error(i32)
# __ZNSt20bad_array_new_lengthD1Ev : std::bad_array_new_length::~bad_array_new_length()
# __ZNSt16invalid_argumentD1Ev : std::invalid_argument::~invalid_argument()
matches.sort()
for sym in matches:
Expand Down
4,283 changes: 4,281 additions & 2 deletions patches/exports/pglite

Large diffs are not rendered by default.

302 changes: 156 additions & 146 deletions patches/imports/pgcore
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
___memory_base
___table_base
_check_encoding_conversion_args
_latin2mic
_mic2latin
_latin2mic_with_table
_mic2latin_with_table
_local2local
_report_invalid_encoding
_report_untranslatable_char
___stack_pointer
___memory_base
___table_base
_SearchSysCache1
_errstart_cold
_errmsg_internal
Expand Down Expand Up @@ -255,9 +256,6 @@ _internalerrquery
_strchr
_scanner_init
_scanner_finish
___stack_pointer
___memory_base
___table_base
_error_context_stack
_TopMemoryContext
_CurrentMemoryContext
Expand Down Expand Up @@ -288,141 +286,9 @@ _SPI_connect_ext
_plpgsql_compile
_ResourceOwnerDelete
_pg_re_throw
_check_encoding_conversion_args
_pg_encoding_verifymbchar
_report_invalid_encoding
_report_untranslatable_char
___stack_pointer
___memory_base
_check_encoding_conversion_args
_report_invalid_encoding
_report_untranslatable_char
___memory_base
_check_encoding_conversion_args
_latin2mic
_mic2latin
___memory_base
_check_encoding_conversion_args
_latin2mic
_mic2latin
_latin2mic_with_table
_mic2latin_with_table
_local2local
___memory_base
_palloc0
_AllocSetContextCreateInternal
_strcmp
_errstart_cold
_errcode
_errmsg
_errfinish
_puts
___errno_location
_strtoul
_SplitIdentifierString
_defGetBoolean
_defGetStreamingMode
_defGetString
_pg_strcasecmp
_errmsg_internal
_CacheRegisterSyscacheCallback
_hash_create
_CacheRegisterRelcacheCallback
_MemoryContextAllocZero
_is_publishable_relation
_errstart
_RelationIdGetRelation
_ExecStoreHeapTuple
_MakeTupleTableSlot
_execute_attr_map_slot
_get_namespace_name
_MemoryContextReset
_MakePerTupleExprContext
_slot_getsomeattrs_int
_MakeSingleTupleTableSlot
_memcpy
_ExecStoreVirtualTuple
_OutputPluginPrepareWrite
_logicalrep_write_insert
_logicalrep_write_update
_logicalrep_write_delete
_OutputPluginWrite
_RelationClose
_ExecDropSingleTupleTableSlot
_logicalrep_write_truncate
_logicalrep_write_message
_OutputPluginUpdateProgress
_pfree
_logicalrep_write_commit
_logicalrep_write_begin_prepare
_replorigin_by_oid
_logicalrep_write_origin
_logicalrep_write_prepare
_logicalrep_write_commit_prepared
_logicalrep_write_rollback_prepared
_hash_destroy
_logicalrep_write_stream_start
_logicalrep_write_stream_stop
_logicalrep_write_stream_abort
_hash_seq_init
_hash_seq_search
_list_delete_cell
_logicalrep_write_stream_commit
_logicalrep_write_stream_prepare
_hash_search
_get_rel_namespace
_GetRelationPublications
_GetSchemaPublications
_get_rel_relispartition
_get_rel_relkind
_list_free_deep
_GetPublicationByName
_lappend
_list_free
_bms_free
_free_attrmap
_MemoryContextDelete
_get_partition_ancestors
_GetTopMostAncestorInPublication
_list_member_oid
_CreateTupleDescCopyConstr
_build_attrmap_by_name_if_req
_SearchSysCacheExists
_SearchSysCache2
_SysCacheGetAttr
_ReleaseSysCache
_text_to_cstring
_MemoryContextStrdup
_MemoryContextSetIdentifier
_CreateExecutorState
_MemoryContextAllocZeroAligned
_addRTEPermissionInfo
_list_make1_impl
_ExecInitRangeTable
_GetCurrentCommandId
_stringToNode
_make_orclause
_ExecPrepareExpr
_pub_collist_to_bitmapset
_bms_num_members
_bms_equal
_logicalrep_write_begin
_list_member_xid
_lappend_xid
_bms_is_member
_logicalrep_write_typ
_logicalrep_write_rel
___stack_pointer
___memory_base
___table_base
_CurrentMemoryContext
_TTSOpsVirtual
_CacheMemoryContext
_TTSOpsHeapTuple
_check_encoding_conversion_args
_report_invalid_encoding
_pg_encoding_verifymbchar
___memory_base
_errstart_cold
_errmsg_internal
_errfinish
Expand Down Expand Up @@ -491,6 +357,8 @@ _close
_strncmp
___errno_location
_time
_pg_printf
_abort
_memset
_getenv
_strlcpy
Expand Down Expand Up @@ -567,9 +435,6 @@ _sigwait
_localtime
_strftime
_pg_md5_encrypt
___stack_pointer
___memory_base
___table_base
_WalReceiverFunctions
_MyLatch
_pg_lsn_in
Expand All @@ -582,6 +447,22 @@ _pgresStatus
_stdout
_stdin
_pg_scram_mech
___memory_base
___table_base
_check_encoding_conversion_args
_report_invalid_encoding
_pg_encoding_verifymbchar
___memory_base
___table_base
_check_encoding_conversion_args
_latin2mic
_mic2latin
_latin2mic_with_table
_mic2latin_with_table
_local2local
___stack_pointer
___memory_base
___table_base
_palloc0
_pfree
_strcmp
Expand All @@ -605,18 +486,147 @@ _pg_any_to_server
_palloc
_memcmp
_memmove
___stack_pointer
___memory_base
___table_base
_lowerstr
_CurrentMemoryContext
___memory_base
___table_base
_check_encoding_conversion_args
_latin2mic
_mic2latin
___memory_base
___table_base
_check_encoding_conversion_args
_report_invalid_encoding
_pg_encoding_verifymbchar
_report_untranslatable_char
___stack_pointer
___memory_base
___table_base
_palloc0
_AllocSetContextCreateInternal
_strcmp
_errstart_cold
_errcode
_errmsg
_errfinish
_puts
___errno_location
_strtoul
_SplitIdentifierString
_defGetBoolean
_defGetStreamingMode
_defGetString
_pg_strcasecmp
_errmsg_internal
_CacheRegisterSyscacheCallback
_hash_create
_CacheRegisterRelcacheCallback
_MemoryContextAllocZero
_is_publishable_relation
_errstart
_RelationIdGetRelation
_ExecStoreHeapTuple
_MakeTupleTableSlot
_execute_attr_map_slot
_get_namespace_name
_MemoryContextReset
_MakePerTupleExprContext
_slot_getsomeattrs_int
_MakeSingleTupleTableSlot
_memcpy
_ExecStoreVirtualTuple
_OutputPluginPrepareWrite
_logicalrep_write_insert
_logicalrep_write_update
_logicalrep_write_delete
_OutputPluginWrite
_RelationClose
_ExecDropSingleTupleTableSlot
_logicalrep_write_truncate
_logicalrep_write_message
_OutputPluginUpdateProgress
_pfree
_logicalrep_write_commit
_logicalrep_write_begin_prepare
_replorigin_by_oid
_logicalrep_write_origin
_logicalrep_write_prepare
_logicalrep_write_commit_prepared
_logicalrep_write_rollback_prepared
_hash_destroy
_logicalrep_write_stream_start
_logicalrep_write_stream_stop
_logicalrep_write_stream_abort
_hash_seq_init
_hash_seq_search
_list_delete_cell
_logicalrep_write_stream_commit
_logicalrep_write_stream_prepare
_hash_search
_get_rel_namespace
_GetRelationPublications
_GetSchemaPublications
_get_rel_relispartition
_get_rel_relkind
_list_free_deep
_GetPublicationByName
_lappend
_list_free
_bms_free
_free_attrmap
_MemoryContextDelete
_get_partition_ancestors
_GetTopMostAncestorInPublication
_list_member_oid
_CreateTupleDescCopyConstr
_build_attrmap_by_name_if_req
_SearchSysCacheExists
_SearchSysCache2
_SysCacheGetAttr
_ReleaseSysCache
_text_to_cstring
_MemoryContextStrdup
_MemoryContextSetIdentifier
_CreateExecutorState
_MemoryContextAllocZeroAligned
_addRTEPermissionInfo
_list_make1_impl
_ExecInitRangeTable
_GetCurrentCommandId
_stringToNode
_make_orclause
_ExecPrepareExpr
_pub_collist_to_bitmapset
_bms_num_members
_bms_equal
_logicalrep_write_begin
_list_member_xid
_lappend_xid
_bms_is_member
_logicalrep_write_typ
_logicalrep_write_rel
_CurrentMemoryContext
_TTSOpsVirtual
_CacheMemoryContext
_TTSOpsHeapTuple
___memory_base
___table_base
_check_encoding_conversion_args
_latin2mic
_mic2latin
_latin2mic_with_table
_mic2latin_with_table
_local2local
___memory_base
___table_base
_check_encoding_conversion_args
_pg_encoding_verifymbchar
_report_invalid_encoding
_report_untranslatable_char
___stack_pointer
___memory_base
___table_base
_check_encoding_conversion_args
_pg_encoding_verifymbchar
_report_invalid_encoding
_report_untranslatable_char
Loading

0 comments on commit 88880b7

Please sign in to comment.