Information schema tweak?

Started by Christopher Kings-Lynnealmost 21 years ago3 messages
#1Christopher Kings-Lynne
chriskl@familyhealth.com.au

The current _pg_keypositions function generates the numbers from 1 to 32
using a massive union, shouldn't it just use generate_series instead (to
make it faster/simpler)?

Chris

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Christopher Kings-Lynne (#1)
Re: Information schema tweak?

Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:

The current _pg_keypositions function generates the numbers from 1 to 32
using a massive union,

Only for very small values of "current" ...

regards, tom lane

#3Christopher Kings-Lynne
chriskl@familyhealth.com.au
In reply to: Tom Lane (#2)
Re: Information schema tweak?

Only for very small values of "current" ...

Argh! Forgot it was a 7.4 server :) Oops.