Re: Oversize proc sources (was Re: [BUGS] Backend dies creating plpgsql procedures (with reproducible example!)) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Oversize proc sources (was Re: [BUGS] Backend dies creating plpgsql procedures (with reproducible example!))
Date
Msg-id 199907161622.MAA16543@candle.pha.pa.us
Whole thread Raw
In response to Oversize proc sources (was Re: [BUGS] Backend dies creating plpgsql procedures (with reproducible example!))  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> It's not real clear to me *why* we are keeping an index on the prosrc
> field of pg_proc, but we evidently are, so plpgsql source code can't
> safely exceed 4k per proc as things stand.
>
> In short, it was only by chance that you were able to put this set of
> procs into 6.4 in the first place :-(
>
> Can any hackers comment on whether pg_proc_prosrc_index is really
> necessary??  Just dropping it would allow plpgsql sources to approach 8k,
> and I can't think of any scenario where it's needed...
>
> BTW, Jan has been muttering about compressing plpgsql source, which
> would provide some more breathing room for big procs, but not before 6.6.

Good question.

--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-hackers by date:

Previous
From: "Ansley, Michael"
Date:
Subject: Contributing
Next
From: "Ross J. Reedstrom"
Date:
Subject: [leon@udmnet.ru: [GENERAL] Weird behavior of 'default user']