Putting index entries to XLog - Mailing list pgsql-general

From Carsten Kropf
Subject Putting index entries to XLog
Date
Msg-id E1CDBE02-E4E9-455E-AC97-24B8FB23D505@fh-hof.de
Whole thread Raw
Responses Re: Putting index entries to XLog  (Martijn van Oosterhout <kleptog@svana.org>)
Re: Putting index entries to XLog  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-general
Hi *,
I have encountered a problem while implementing an index structure. I don't have any access to the RM (I don't know,
howto set it up properly) using my index. However, when I don't have the situation of working with a temporary table, I
needto put entries using XLogInsert(...). The problem for me is, that based on the fact, that I don't have the access
tothe RM, I can't put proper entries to the xlog facility. How can I achieve that my index structure can be stored
properlyat least? 
I'm getting lots of errors, when I just put a XLogRecPtr with data {1,1} as LSN of the page. On the other hand when
doingXLogInsert calls to work with the component properly I don't know which data to put in there. When I'm using some
kindof RM_ID (like RM_GIST_ID or something like that) I'm getting problems because I don't know which code to insert
there.I decided to take RM_GIST_ID and an invalid code (so it won't call any of the xlog gist implementations upon
recovery)which, however failed, too. Unfortunately my task is to implement a certain structure with PostgreSQL, so all
ofmy current work actually depend on this action. 
I hope that somebody will be able to help me according to this issue.
Thanks in advance

Best regards
    Carsten Kropf

pgsql-general by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: C function to create tsquery not working
Next
From: Alex Hunsaker
Date:
Subject: Re: Restricting the CREATEROLE privilege