pgsql: Avoid unreferenced-function warning on low-functionality platfor

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid unreferenced-function warning on low-functionality platfor
Date: 2017-07-08 16:42:33
Message-ID: E1dTsoT-0004sa-1F@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Avoid unreferenced-function warning on low-functionality platforms.

On platforms lacking both locale_t and ICU, collationcmds.c failed
to make any use of its static function is_all_ascii(), thus probably
drawing a compiler warning. Oversight in my commit ddb5fdc06.
Per buildfarm member gaur.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ec4073f64130b40fabaa1b38ad402babda3a48eb

Modified Files
--------------
src/backend/commands/collationcmds.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2017-07-09 07:45:52 pgsql: MSVC: Repair libpq.rc generator.
Previous Message Alvaro Herrera 2017-07-07 21:12:02 pgsql: Fix typo