Tom Lane wrote: > ... BTW, another reason to choose identical APIs for frontend and backend > versions of these functions is that it greatly eases use of them in shared > frontend/backend code. As I notice somebody has *already done* in > common/relpath.c. I'm not exactly sure how those psprintf calls are > working at all in frontend builds.
There's psprintf in src/common/fe_memutils.c, too, using the backend's API, which is why this works. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers