{"id":20644032,"url":"https://github.com/adjust/ajbool","last_synced_at":"2026-03-07T06:31:24.896Z","repository":{"id":52669793,"uuid":"71115024","full_name":"adjust/ajbool","owner":"adjust","description":"triple bool for postgres","archived":false,"fork":false,"pushed_at":"2025-03-14T16:43:04.000Z","size":89,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":65,"default_branch":"master","last_synced_at":"2025-04-16T02:06:28.915Z","etag":null,"topics":["adjust-kpis-team","adjust-pg-extension"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adjust.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-10-17T08:15:49.000Z","updated_at":"2025-03-14T16:43:08.000Z","dependencies_parsed_at":"2022-08-22T03:21:29.662Z","dependency_job_id":"565f3f0a-c9f0-433c-94c2-4122541370bc","html_url":"https://github.com/adjust/ajbool","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/adjust/ajbool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fajbool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fajbool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fajbool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fajbool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adjust","download_url":"https://codeload.github.com/adjust/ajbool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fajbool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30209086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T05:23:27.321Z","status":"ssl_error","status_checked_at":"2026-03-07T05:00:17.256Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["adjust-kpis-team","adjust-pg-extension"],"created_at":"2024-11-16T16:14:36.789Z","updated_at":"2026-03-07T06:31:24.868Z","avatar_url":"https://github.com/adjust.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CI](https://github.com/adjust/ajbool/actions/workflows/main.yml/badge.svg)](https://github.com/adjust/ajbool/actions/workflows/main.yml)\n\n# ajbool\n\nA special boolean type that allows 'unknown' state without beeing NULL.\nThe intent is to allow a triple boolean value that can be used as PRIMARY key.\nExpected intput is 't', 'f', 'u' for true, false and unknown.\nNote ajbool can still be set to NULL if needed.\n\n## usage\n\nTypecast\n\n```\nSELECT true::ajbool, false::ajbool, NULL::bool::ajbool;\n ajbool | ajbool | ajbool\n--------+--------+--------\n t      | f      | u\n(1 row)\n\nSELECT 't'::ajbool::bool, 'f'::ajbool::bool, 'u'::ajbool::bool;\n bool | bool | bool\n------+------+------\n t    | f    | NULL\n\n```\n\n##Parallelism Support\n\nPostgreSQL 9.6 introduced parallelism safety markings for functions.\nThe ajbool-00.0.1--0.0.2.sql in the extensions directory makrs these\nas safe.  You should run this file after upgrading PostgreSQL.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadjust%2Fajbool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadjust%2Fajbool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadjust%2Fajbool/lists"}