pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: David Terrell <dbt@meat.net>
Cc: Brent Verner <brent@rcfile.org>
Cc: Murray Prior Hobbs <murray@efone.com>
Cc: Lamar Owen <lamar.owen@wgcr.org>
Cc: pgsql-hackers@postgresql.org
Subject: Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems)
Date: Mon, 21 Jan 2002 12:03:24 -0500
Message-ID: <9784.1011632604@sss.pgh.pa.us> (raw)
In-Reply-To: <200201211309.g0LD9a421146@candle.pha.pa.us>
References: <200201211309.g0LD9a421146@candle.pha.pa.us>

Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Interesting LAZY has better efficiency.

"Efficiency" by what measure?  I would think that batch resolution of
symbols would be faster than taking a trap for each one.

> Seems we should just keep LAZY
> as our default for future releases and tell people if they link to bad
> object files, they should expect trouble.

(a) How are they going to find out if the object files are bad, other
than by crashing their database?  I *really* don't like the attitude
that a backend crash is okay.  Under any circumstances, development
or not.

(b) Badness may depend on context, eg LD_LIBRARY_PATH.  So it's not
really safe to assume that if it worked before then you don't have to
worry about it crashing you in production.

			regards, tom lane



view thread (17+ messages)  latest in thread

Message-ID: <9784.1011632604@sss.pgh.pa.us>
Permalink:  ../9784.1011632604@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9784.1011632604@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, chriskl@familyhealth.com.au, dbt@meat.net, brent@rcfile.org, murray@efone.com, lamar.owen@wgcr.org, pgsql-hackers@postgresql.org
  Subject: Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems)
  In-Reply-To: <9784.1011632604@sss.pgh.pa.us>

* 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