Tom Lane writes:
> and here's a typical use:
>
> extern int pg_snprintf(char *str, size_t count, const char *fmt,...)
> /* This extension allows gcc to check the format string */
> __attribute__((format(PG_PRINTF_ATTRIBUTE, 3, 4)));
>
Hi Tom,
thanks for your explanation. I've checked the
markus.hoeni...@mhoenicka.de writes:
> thanks for your explanation. I've checked the sources, and
> interestingly src/dbi_main.c contains a declaration of dbi_conn_queryf():
> dbi_result dbi_conn_queryf(dbi_conn Conn, const char *formatstr, ...)
> __attribute__ ((format (printf, 2, 3)));
> in ad
Tom Lane writes:
> markus.hoeni...@mhoenicka.de writes:
> > thanks for your explanation. I've checked the sources, and
> > interestingly src/dbi_main.c contains a declaration of dbi_conn_queryf():
>
> > dbi_result dbi_conn_queryf(dbi_conn Conn, const char *formatstr, ...)
> > __attribute__
3 matches
Mail list logo