pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martijn van Oosterhout <kleptog@svana.org>
To: Mark Dilger <pgsql@markdilger.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [SQL] Interval subtracting
Date: Thu, 2 Mar 2006 19:43:46 +0100
Message-ID: <20060302184346.GC3126@svana.org> (raw)
In-Reply-To: <44073422.7060606@markdilger.com>
References: <200603012326.k21NQOv08610@candle.pha.pa.us>
	<4406331A.6080307@markdilger.com>
	<17317.1141257505@sss.pgh.pa.us>
	<44063632.20505@markdilger.com>
	<17752.1141259857@sss.pgh.pa.us>
	<440647D4.9060601@markdilger.com>
	<2476.1141310972@sss.pgh.pa.us>
	<44073422.7060606@markdilger.com>

On Thu, Mar 02, 2006 at 10:06:26AM -0800, Mark Dilger wrote:
> I used grep -R to find all locations where interval_justify_time is 
> mentioned, and for each one added an analogous entry for my new function 
> interval_justify. But I get lost where OID=1175 is associated with 
>   interval_justify_time.  I can't really just grep for 1175 and add analogous 
> entries of my new OID, because I don't know what all the tables mean.  
> (BTW, I grabbed the next slot in the table and used OID=2711, but I don't 
> know if that is the proper strategy for adding new OIDs.)
> 
> Is there an automated way of handling this task, such as a developer tool 
> that I didn't find?

In the include/catalog directory there are two script, unused_oids and
duplicate_oids. It tells you whats available.

Have a ncie day,
-- 
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachments:

  signature.asc (application/pgp-signature, 188B) download

view thread (62+ messages)  latest in thread

Message-ID: <20060302184346.GC3126@svana.org>
Permalink:  ../20060302184346.GC3126@svana.org/
Also on:    postgresql.org/message-id/20060302184346.GC3126@svana.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: kleptog@svana.org, pgsql@markdilger.com, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
  Subject: Re: [SQL] Interval subtracting
  In-Reply-To: <20060302184346.GC3126@svana.org>

* 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