Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix: display boolean values as true/false instead of t/f in Data Explorer (#5935)
devin-ai-integration[bot]c2b28538d111
diff --git a/backend/src/ee/services/pam-web-access/pam-postgres-session-handler.ts b/backend/src/ee/services/pam-web-access/pam-postgres-session-handler.tsindex 8b7b88eeaa..d60d1277ed 100644--- a/backend/src/ee/services/pam-web-access/pam-postgres-session-handler.ts+++ b/backend/src/ee/services/pam-web-access/pam-postgres-session-handler.ts@@ -45,7 +45,16 @@ export const handlePostgresSession = async (connectionTimeoutMillis: 30_000,statement_timeout: 30_000,types: {- getTypeParser: () => (val: string | Buffer) => (typeof val === "string" ? val : val.toString("hex"))+ getTypeParser: (oid: number) => {+ // Boolean (OID 16): Postgres wire protocol sends 't'/'f' — expand to 'true'/'false'+ // so the Data Explorer UI displays human-readable literals.+ if (oid === 16)+ return (val: string | Buffer) => {+ const raw = typeof val === "string" ? val : val.toString("utf8");+ return raw === "t" ? "true" : "false";+ };+ return (val: string | Buffer) => (typeof val === "string" ? val : val.toString("hex"));+ }}});