Re: Couple of minor fixes - Mailing list pgsql-patches

From Magnus Hagander
Subject Re: Couple of minor fixes
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0F8F6@algol.sollentuna.se
Whole thread Raw
In response to Couple of minor fixes  ("Magnus Hagander" <mha@sollentuna.net>)
Responses Re: Couple of minor fixes  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
> > > 2) timezone/localtime.c, transtime() has a const arcument in the
> > > implementation but non-const in declaration.
> >
> > I did this the other way (make implementation match declaration).
> > I think the coding was in fact correct per spec, because
> const-ness of
> > an argument value is not part of the function signature.
>
> Ok.

Came across another one of those. schemacmds.h has:
extern void AlterSchemaOwner_oid(const Oid schemaOid, Oid newOwnerId);

but schemacmds.c has:
void
AlterSchemaOwner_oid(Oid oid, Oid newOwnerId)


//Magnus

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [WIP] Add relminxid column to pg_class
Next
From: Tom Lane
Date:
Subject: Re: Couple of minor fixes