From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
Cc: | Hannu Krosing <hannu(at)skype(dot)net>, Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: passing parameters to CREATE INDEX |
Date: | 2005-09-22 23:54:02 |
Message-ID: | 200509222354.j8MNs2o29770@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Added to TODO:
* Allow CREATE INDEX to take an additional parameter for use with
special index types
---------------------------------------------------------------------------
Martijn van Oosterhout wrote:
-- Start of PGP signed section.
> On Wed, Sep 21, 2005 at 08:47:04AM +0300, Hannu Krosing wrote:
> > On K, 2005-09-21 at 09:01 +0400, Oleg Bartunov wrote:
> > > it'd be nice if parameters could be passed at the creation time only and
> > > somehow stored, so other functions could retrieve them. It's not
> > > convenient but also safe.
> >
> > If not changing syntax is essential, then these could be passed by some
> > GUC variables at index create time, then stored.
> >
> > This way one could have as many configurables a one likes .
>
> The only major problem with that is that the parameters won't survive a
> dump/restore. I don't know enough about what's it's needed for to know
> if that's a problem...
>
> So even if an index can store the parameter itself, there would need to
> be a way for pg_dump to extract it.
> --
> Martijn van Oosterhout <kleptog(at)svana(dot)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.
-- End of PGP section, PGP failed!
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2005-09-22 23:54:52 | Re: Gerbil build farm failure |
Previous Message | Bruce Momjian | 2005-09-22 23:49:14 | Re: Table Partitioning is in 8.1 |