Re: logical changeset generation v6.8

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: logical changeset generation v6.8
Date: 2013-12-13 07:58:24
Message-ID: CAApHDvp0UZAaVEe6nGbDkCC3cTUA8Ca_YAtp3xaiaMbZD-DM6g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Dec 11, 2013 at 1:11 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>
> Committed #1 (again). Regarding this:
>
>
This introduced a new compiler warning on the visual studios build:
d:\postgres\b\src\backend\utils\cache\relcache.c(3958): warning C4715:
'RelationGetIndexAttrBitmap' : not all control paths return a value
[D:\Postgres\b\postgres.vcxproj]

The attached patch fixes it.

Regards

David Rowley

> + /* XXX: we could also do this unconditionally, the space is used
> anyway
> + if (copy_oid)
> + HeapTupleSetOid(key_tuple, HeapTupleGetOid(tp));
>
> I would like to put in a big +1 for doing that unconditionally. I
> didn't make that change before committing, but I think it'd be a very
> good idea.
>
> --
> Robert Haas
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>

Attachment Content-Type Size
relcache_fix_warning.patch application/octet-stream 429 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2013-12-13 08:40:50 Re: Show lossy heap block info in EXPLAIN ANALYZE for bitmap heap scan
Previous Message Dev Kumkar 2013-12-13 07:08:42 Re: [GENERAL] Case sensitivity