Re: [BUGS] horology regression test failure

2005-12-21 Thread Martin Pitt
Hi! Tom Lane [2005-12-20 17:16 -0500]: > Martin Pitt <[EMAIL PROTECTED]> writes: > > ./configure --libdir=3D/usr/lib/postgresql/8.1/lib --bindir=3D/usr/lib/pos= > > tgresql/8.1/bin > > > is enough to reproduce the problem. With only --libdir, it works, and > > with only --bindir the test suite d

Better path-matching for package relocatability (was Re: [BUGS] horology regression test failure)

2005-12-21 Thread Tom Lane
Martin Pitt <[EMAIL PROTECTED]> writes: > Tom Lane [2005-12-20 16:39 -0500]: >> We could doubtless improve make_relative_path to some extent, but the >> mess you have above seems impossible to deal with. How is a mere >> program supposed to deduce where things were moved to, given only >> knowledg

[BUGS] BUG #2120: Crash when doing UTF8<->ISO_8859_8 encoding conversion

2005-12-21 Thread Sagi Bashari
The following bug has been logged online: Bug reference: 2120 Logged by: Sagi Bashari Email address: [EMAIL PROTECTED] PostgreSQL version: 8.1.1 Operating system: Debian Sarge Description:Crash when doing UTF8<->ISO_8859_8 encoding conversion Details: Postgresql cra

Re: [BUGS] horology regression test failure

2005-12-21 Thread Peter Eisentraut
Am Mittwoch, 21. Dezember 2005 08:21 schrieb Martin Pitt: > However, if --bindir etc. cannot be set, then maybe configure should > not offer these options? They can be set and support for that will not go away. But if you choose unfortunate combinations of locations, the installation becomes un

Re: [BUGS] horology regression test failure

2005-12-21 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Am Mittwoch, 21. Dezember 2005 08:21 schrieb Martin Pitt: >> However, if --bindir etc. cannot be set, then maybe configure should >> not offer these options? > They can be set and support for that will not go away. But if you choose > unfortunate co

Re: [BUGS] BUG #2120: Crash when doing UTF8<->ISO_8859_8 encoding conversion

2005-12-21 Thread Tom Lane
"Sagi Bashari" <[EMAIL PROTECTED]> writes: > Postgresql crashes when a client with ISO_8859_8 encoding tries to select > data from a utf8 database. It looks like somebody rearranged the pg_enc enum without bothering to fix the tables that are affected by this. utf8_and_iso8859.c is certainly brok

Re: [BUGS] horology regression test failure

2005-12-21 Thread Stephen Frost
* Tom Lane ([EMAIL PROTECTED]) wrote: > (I'm not sure about Debian's policy, but the RPMs do --disable-rpath for > unrelated policy reasons, so there shouldn't be any problem with > relocating an RPM-based installation...) Debian's policy is to do --disable-rpath also, which I hope Martin is doing

Re: [BUGS] BUG #2120: Crash when doing UTF8<->ISO_8859_8 encoding conversion

2005-12-21 Thread Tom Lane
Tatsuo Ishii <[EMAIL PROTECTED]> writes: >> It looks like somebody rearranged the pg_enc enum without bothering to >> fix the tables that are affected by this. > I will look into this. Thank you. It might be worth adding a comment to pg_wchar.h listing all the places that need to be fixed when e

Re: [BUGS] [HACKERS] Better path-matching for package relocatability (was Re:

2005-12-21 Thread Bruce Momjian
Tom Lane wrote: > Well, more generally what we need is a better match algorithm in > make_relative_path. After a few moment's thought I propose: > > * Determine the common prefix of the compiled-in target_path and > bin_path (for typical cases this would be "/usr" or "/usr/local"; > worst case is

Re: [BUGS] horology regression test failure

2005-12-21 Thread Martin Pitt
Hi! Stephen Frost [2005-12-21 21:06 -0500]: > * Tom Lane ([EMAIL PROTECTED]) wrote: > > (I'm not sure about Debian's policy, but the RPMs do --disable-rpath for > > unrelated policy reasons, so there shouldn't be any problem with > > relocating an RPM-based installation...) > > Debian's policy is