{"id":18417860,"url":"https://github.com/danieljdufour/bigintarray","last_synced_at":"2025-08-09T23:08:36.114Z","repository":{"id":249746209,"uuid":"832425183","full_name":"DanielJDufour/bigintarray","owner":"DanielJDufour","description":"Like intarray module for PostgreSQL, but for Big Integers","archived":false,"fork":false,"pushed_at":"2024-07-24T02:43:42.000Z","size":16,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-30T02:20:06.223Z","etag":null,"topics":["postgresql","sql"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DanielJDufour.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-23T02:17:48.000Z","updated_at":"2025-06-27T09:27:16.000Z","dependencies_parsed_at":"2024-11-08T09:47:13.827Z","dependency_job_id":null,"html_url":"https://github.com/DanielJDufour/bigintarray","commit_stats":null,"previous_names":["danieljdufour/bigintarray"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DanielJDufour/bigintarray","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielJDufour%2Fbigintarray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielJDufour%2Fbigintarray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielJDufour%2Fbigintarray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielJDufour%2Fbigintarray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielJDufour","download_url":"https://codeload.github.com/DanielJDufour/bigintarray/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielJDufour%2Fbigintarray/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269649848,"owners_count":24453541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["postgresql","sql"],"created_at":"2024-11-06T04:11:53.405Z","updated_at":"2025-08-09T23:08:36.088Z","avatar_url":"https://github.com/DanielJDufour.png","language":"Makefile","readme":"# bigintarray\nLike [intarray](https://www.postgresql.org/docs/current/intarray.html) module for PostgreSQL, but for [Big Integers](https://www.postgresql.org/docs/current/datatype-numeric.html#DATATYPE-NUMERIC-TABLE)\n\n## typical installation\n```sh\ngit clone https://github.com/DanielJDufour/bigintarray\n\ncd bigintarray\n\nmake install\n\nmake installcheck\n\npsql -c \"CREATE EXTENSION bigintarray\";\n```\n\n## alternative installation\nSometimes you aren't allowed to add custom extensions, like in a cloud environment.  In that case, you can install by either copying the contents of [bigintarray--0.0.1.sql](https://raw.githubusercontent.com/DanielJDufour/bigintarray/main/bigintarray--0.0.1.sql) into your database initialization code or running the following commands\n```sh\n# download code for the extension\nwget https://raw.githubusercontent.com/DanielJDufour/bigintarray/main/bigintarray--0.0.1.sql\n\n# create functions and operators by directly executing SQL statements\npsql -h 0.0.0.0 -p 5432 --username postgres database \u003c ./bigintarray--0.0.1.sql;\n```\n\n## references\ndescriptions are based on [intarray](https://www.postgresql.org/docs/current/intarray.html).\n| Operator | Description | Status |\n| -- | -- | --- |\n| bigint[] \u0026\u0026 bigint[] → boolean | Do arrays overlap (have at least one element in common)? | ✓ (Built-In) |\n| bigint[] @\u003e bigint[] → boolean | Does left array contain right array? | ✓ (Built-In) |\n| bigint[] \u003c@ bigint[] → boolean | Is left array contained in right array? | ✓ (Built-In) |\n| # bigint[] → integer | Returns the number of elements in the array | ✓ |\n| bigint[] # bigint → integer | Returns index of the first array element matching the right argument, or 0 if no match. (Same as idx function.) | X |\n| bigint[] + bigint → bigint[] | Adds element to end of array. | ✓ |\n| bigint[] + bigint[] → bigint[] | Concatenates the arrays. | ✓ |\n| bigint[] - bigint[] → bigint[] | Removes elements of the right array from the left array. | ✓ |\n| bigint[] \\| bigint → bigint[] | Computes the union of the arguments. | ✓ |\n| bigint[] \\| bigint[] → bigint[] | Computes the union of the arguments. | ✓ |\n| bigint[] \u0026 bigint[] → bigint[] | Computes the intersection of the arguments. | ✓ |\n| bigint[] @@ query_bigint → boolean | Does array satisfy query? (see below) | X |\n| query_bigint ~~ bigint[] → boolean | Does array satisfy query? (commutator of @@) | X |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieljdufour%2Fbigintarray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanieljdufour%2Fbigintarray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieljdufour%2Fbigintarray/lists"}