pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jacktby@gmail.com <jacktby@gmail.com>
To: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Does it equal to execute "CREATE ACCESS METHOD"?
Date: Sat, 29 Oct 2022 23:25:56 +0800
Message-ID: <2022102923255412632450@gmail.com> (raw)

Sorry, I open another mail list to ask this question.

When I add 
"{ oid => '6015', oid_symbol => 'SPB_AM_OID',
  descr => 'SPB index access method',
  amname => 'spb', amhandler => 'spbhandler', amtype => 'i' },"
in pg_am.dat
and  add
"{ oid => '388', descr => 'spb index access method handler',
  proname => 'spbhandler', provolatile => 'v',
  prorettype => 'index_am_handler', proargtypes => 'internal',
  prosrc => 'spbhandler' }," in pg_proc.dat,

so when I use the make install && cd contrib;make install;
whether it equals to execute create access method?

by the way, I've added the spb codes in src/access/spb, so don't worry about the spbhandler.

And Sorry for the another mail "access method xxx does not exist", you suggest me add new 
Am Index in contrib, But I need to modify gist to spb, so that's not my require. And I need to know
add those in pg_proc.dat and pg_am.dat, if it won't create access method for spb, what else I need to 
do?


--------------



jacktby@gmail.com




view thread (5+ messages)  latest in thread

Message-ID: <2022102923255412632450@gmail.com>
Permalink:  ../2022102923255412632450@gmail.com/
Also on:    postgresql.org/message-id/2022102923255412632450@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: jacktby@gmail.com
  Subject: Re: Does it equal to execute "CREATE ACCESS METHOD"?
  In-Reply-To: <2022102923255412632450@gmail.com>
  References: <2022102923255412632450@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox