Message-ID: From: "faviansamatha (@faviansamatha)" To: "postgresql-interfaces/psqlodbc" Date: Tue, 08 Apr 2025 21:28:28 +0000 Subject: [postgresql-interfaces/psqlodbc] PR #103: chore: replace unsafe string-to-number conversions List-Id: X-GitHub-Author-Id: 60306813 X-GitHub-Author-Login: faviansamatha X-GitHub-Issue: 103 X-GitHub-Repo: postgresql-interfaces/psqlodbc X-GitHub-State: merged X-GitHub-Type: pull_request X-GitHub-Url: https://github.com/postgresql-interfaces/psqlodbc/pull/103 Content-Type: text/plain; charset=utf-8 The following functions ``` atoi() atol() atoll() atof() ``` have been deprecated by the `strto...` variants. This commit adds a new set of macros prefixed with `pg_` in `psqlodbc.h` to convert the `ato..()` calls to their respective `strto...` versions.