Re: Couple of minor fixes

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Couple of minor fixes
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0F8F6@algol.sollentuna.se
обсуждение исходный текст
Ответ на Couple of minor fixes  ("Magnus Hagander" <mha@sollentuna.net>)
Ответы Re: Couple of minor fixes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [WIP] Add relminxid column to pg_class
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Couple of minor fixes