Fixes for compiler warnings

From: Alan Li <alanwli(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Fixes for compiler warnings
Date: 2009-01-17 09:44:07
Message-ID: bc34668d0901170144p35d0ee5es9ced4fc7378f9ab@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Attached are patches to fix the following compiler warnings that I see when
using gcc 4.3.2.

MASTER warning:
tablecmds.c: In function 'DropErrorMsgWrongType':
tablecmds.c:601: warning: format not a string literal and no format
arguments

REL8_3_STABLE warnings:
utility.c: In function 'DropErrorMsgWrongType':
utility.c:129: warning: format not a string literal and no format arguments
trigger.c: In function 'ConvertTriggerToFK':
trigger.c:600: warning: format not a string literal and no format arguments
trigger.c:616: warning: format not a string literal and no format arguments
trigger.c:628: warning: format not a string literal and no format arguments
guc.c: In function 'set_config_option':
guc.c:4424: warning: format not a string literal and no format arguments
describe.c: In function 'describeOneTableDetails':
describe.c:1294: warning: format not a string literal and no format
arguments

Alan

Attachment Content-Type Size
trunk.diff text/x-patch 852 bytes
8_3.diff text/x-patch 5.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2009-01-17 11:26:21 Re: Autovacuum daemon terminated by signal 11
Previous Message Simon Riggs 2009-01-17 08:54:38 MemoryContextSwitchTo (Re: [GENERAL] Autovacuum daemon terminated by signal 11)