~ubuntu-branches/ubuntu/trusty/postgresql-9.3/trusty-proposed

« back to all changes in this revision

Viewing changes to src/backend/access/gin/ginvacuum.c

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2016-03-31 11:04:53 UTC
  • mfrom: (1.1.11) (18.1.4 trusty-security)
  • Revision ID: package-import@ubuntu.com-20160331110453-h6xfs9f11suj3mze
Tags: 9.3.12-0ubuntu0.14.04
* New upstream bug fix release. (LP: #1564268)
  - See http://www.postgresql.org/about/news/1656/ for details.

Show diffs side-by-side

added added

removed removed

Lines of Context:
756
756
                LockBuffer(buffer, GIN_SHARE);
757
757
                page = (Page) BufferGetPage(buffer);
758
758
 
759
 
                if (GinPageIsDeleted(page))
 
759
                if (PageIsNew(page) || GinPageIsDeleted(page))
760
760
                {
761
761
                        Assert(blkno != GIN_ROOT_BLKNO);
762
762
                        RecordFreeIndexPage(index, blkno);