| From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
|---|---|
| To: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
| Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Catching missing Datum conversions |
| Date: | 2021-11-29 15:05:28 |
| Message-ID: | CA+TgmoYz6pjb0aOU7A=MBYt4BVjnUmHg7J_Soc823rV559LLNQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Fri, Jul 19, 2019 at 7:55 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> When reviewing a recent patch, I missed a place where Datum was being
> converted to another type implicitly (ie without going though a
> DatumGetXXX() macro). Thanks to Jeff for fixing that (commit
> b538c90b), but I was curious to see if I could convince my compiler to
> tell me about that sort of thing.
This is a very easy mistake to make, so if you ever feel like
returning to this topic in earnest, I think it could be a worthwhile
expenditure of time.
--
Robert Haas
EDB: http://www.enterprisedb.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Euler Taveira | 2021-11-29 15:10:09 | Re: row filtering for logical replication |
| Previous Message | Kuntal Ghosh | 2021-11-29 15:04:14 | Re: Add connection active, idle time to pg_stat_activity |