Re: Xlogdump compiling error : undefined reference to `ber_sockbuf_io_udp'

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Adarsh Sharma <eddy(dot)adarsh(at)gmail(dot)com>
Cc: Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Xlogdump compiling error : undefined reference to `ber_sockbuf_io_udp'
Date: 2014-02-13 13:37:46
Message-ID: 20140213133746.GP6342@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adarsh Sharma escribió:

> [cur:1835/26FAFEF8, xid:471303469, rmid:11(Btree), len/tot_len:18/5754, info:8, prev:1835/26FAFEB0] insert_leaf: s/d/r:1663/1228184/1363155 tid 28366/20

> Is dere any document where i can co-relate this tid with relations/indexes
> in the database. I tried but not able to find :-
>
> wap_prod_adserve=# SELECT relname, oid FROM pg_class where oid=1363155 ;
> relname | oid
> ---------+-----
> (0 rows)

Probably the reason you don't find any rows is because you're querying
the wrong column. The "r" stands for relfilenode, and thus you must use
relfilenode in the WHERE clause, not oid:

SELECT relname, oid FROM pg_class where relfilenode=1363155 ;

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Johnston 2014-02-13 14:52:19 Re: Can not upgrade from 9.1 to 9.2 or 9.3, --HELP
Previous Message bobspero 2014-02-13 12:57:46 Can not upgrade from 9.1 to 9.2 or 9.3, --HELP