pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: wieck@debis.com
To: dipanc@yahoo.com
Cc: pgsql-sql@hub.org
Subject: Re: [SQL] pqReadData()  error
Date: Thu, 25 Nov 1999 13:37:11 +0100 (MET)
Message-ID: <m11qy99-0003kGC@orion.SAPserv.Hamburg.dsh.de> (raw)
In-Reply-To: <19991125122345.9506.rocketmail@web114.yahoomail.com>

>
> Hi,
>
> I am creating functions from saved in text files on
> PostgreSQL 6.5 on linux by
> $ psql mydb2 <myfunc.txt
>
> If the function is large ( more than say 50 lines) or

    Maybe the functions text portion exceeds 2K?

    There  is  an  index on functions source text in version 6.5.
    It's totally useless, left over from the history.  Now  there
    is  some problem with btree indices when the items exceed 2K,
    that can crash the backend.

    I've removed this index in the actual 7.0 tree.  It's  not  a
    trivial   task   and   requires   an  initdb  run  after  the
    modification. If you want to give it a try, I might help  you
    to do it.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#========================================= wieck@debis.com (Jan Wieck) #





view thread (4+ messages)  latest in thread

Message-ID: <m11qy99-0003kGC@orion.SAPserv.Hamburg.dsh.de>
Permalink:  ../m11qy99-0003kGC@orion.SAPserv.Hamburg.dsh.de/
Also on:    postgresql.org/message-id/m11qy99-0003kGC@orion.SAPserv.Hamburg.dsh.de

 · 

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-sql@postgresql.org
  Cc: wieck@debis.com, dipanc@yahoo.com, pgsql-sql@hub.org
  Subject: Re: [SQL] pqReadData()  error
  In-Reply-To: <m11qy99-0003kGC@orion.SAPserv.Hamburg.dsh.de>
  References: <19991125122345.9506.rocketmail@web114.yahoomail.com> <m11qy99-0003kGC@orion.SAPserv.Hamburg.dsh.de>

* 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