postgresql-interfaces/psqlodbc GitHub issues and pull requests (mirror)  
help / color / mirror / Atom feed
[postgresql-interfaces/psqlodbc] PR #103: chore: replace unsafe string-to-number conversions
4+ messages / 2 participants
[nested] [flat]

* [postgresql-interfaces/psqlodbc] PR #103: chore: replace unsafe string-to-number conversions
@ 2025-04-08 21:28  "faviansamatha (@faviansamatha)" <[email protected]>
  0 siblings, 0 replies; 4+ messages in thread

From: faviansamatha (@faviansamatha) @ 2025-04-08 21:28 UTC (permalink / raw)
  To: postgresql-interfaces/psqlodbc <[email protected]>

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. 

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [postgresql-interfaces/psqlodbc] PR #103: chore: replace unsafe string-to-number conversions
@ 2025-04-08 22:57  "faviansamatha (@faviansamatha)" <[email protected]>
  2 siblings, 0 replies; 4+ messages in thread

From: faviansamatha (@faviansamatha) @ 2025-04-08 22:57 UTC (permalink / raw)
  To: postgresql-interfaces/psqlodbc <[email protected]>

Looks like the wix installation step failed in the github actions workflow. They released v6.0 a few days ago iirc. 

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [postgresql-interfaces/psqlodbc] PR #103: chore: replace unsafe string-to-number conversions
@ 2025-04-09 12:40  "davecramer (@davecramer)" <[email protected]>
  2 siblings, 0 replies; 4+ messages in thread

From: davecramer (@davecramer) @ 2025-04-09 12:40 UTC (permalink / raw)
  To: postgresql-interfaces/psqlodbc <[email protected]>

Just rebase as I merged in a fix this morning https://github.com/postgresql-interfaces/psqlodbc/pull/104

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [postgresql-interfaces/psqlodbc] PR #103: chore: replace unsafe string-to-number conversions
@ 2025-04-09 16:24  "faviansamatha (@faviansamatha)" <[email protected]>
  2 siblings, 0 replies; 4+ messages in thread

From: faviansamatha (@faviansamatha) @ 2025-04-09 16:24 UTC (permalink / raw)
  To: postgresql-interfaces/psqlodbc <[email protected]>

Done! Just rebased

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2025-04-09 16:24 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-04-08 21:28 [postgresql-interfaces/psqlodbc] PR #103: chore: replace unsafe string-to-number conversions "faviansamatha (@faviansamatha)" <[email protected]>
2025-04-08 22:57 ` "faviansamatha (@faviansamatha)" <[email protected]>
2025-04-09 12:40 ` "davecramer (@davecramer)" <[email protected]>
2025-04-09 16:24 ` "faviansamatha (@faviansamatha)" <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox