Skip site navigation (1) Skip section navigation (2)

Re: pgsql: Remove objname/objargs split for referring to objects

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Remove objname/objargs split for referring to objects
Date: 2017-03-15 15:18:29
Message-ID: 20170315151829.bhxsvrp75xdxhm3n@alvherre.pgsql (view raw, whole thread or download thread mbox)
Thread:
Lists: pgsql-committerspgsql-hackers
Peter Eisentraut wrote:
> Remove objname/objargs split for referring to objects

I don't know if this is the guilty commit, but I'm now getting these
compiler warnings:


/pgsql/source/master/src/backend/catalog/objectaddress.c: In function 'get_object_address':
/pgsql/source/master/src/backend/catalog/objectaddress.c:1624:33: warning: 'typenames[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
       ereport(ERROR,
                                 ^
/pgsql/source/master/src/backend/catalog/objectaddress.c:1578:8: note: 'typenames[1]' was declared here
  char    *typenames[2];
        ^
/pgsql/source/master/src/backend/catalog/objectaddress.c:1624:33: warning: 'typenames[0]' may be used uninitialized in this function [-Wmaybe-uninitialized]
       ereport(ERROR,
                                 ^
/pgsql/source/master/src/backend/catalog/objectaddress.c:1578:8: note: 'typenames[0]' was declared here
  char    *typenames[2];
        ^

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


In response to

Responses

pgsql-hackers by date

Next:From: Kevin GrittnerDate: 2017-03-15 15:20:07
Subject: Re: Re: [GSOC 17] Eliminate O(N^2) scaling from rw-conflict tracking in serializable transactions
Previous:From: Robert HaasDate: 2017-03-15 15:12:37
Subject: Re: Write Ahead Logging for Hash Indexes

pgsql-committers by date

Next:From: Stephen FrostDate: 2017-03-15 15:20:14
Subject: pgsql: Bump catversion for MACADDR8
Previous:From: Stephen FrostDate: 2017-03-15 15:16:44
Subject: pgsql: Add support for EUI-64 MAC addresses as macaddr8

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group