export interface PostgresError extends Error { code: string; detail?: string; schema?: string; table?: string; constraint?: string; }