[BUGS] SPI_getvalue calls output function w/o pushing existing SPI connection + 2 extra issues

2006-12-11 Thread J. Greg Davidson
I have a user defined type implemented in C and SPI which has been crashing a lot. I found a small enough case to trace the whole thing with gdb and found that while connected to SPI I was doing a get_value on a type T implemented in C and SPI. SPI_getvalue led to a call to T's output routine whi

Re: [BUGS] BUG #2823: API largeobject calls

2006-12-11 Thread Tom Lane
"Gregor" <[EMAIL PROTECTED]> writes: > API funtions lo_open, lo_write, lo_import don't work. You need to do lo_open/lo_write/etc inside a transaction block, because the LO handle returned by lo_open is only good until end of transaction. (And yes, zero is a valid handle.) See the example program

Re: [BUGS] GRANT RULE IN 8.2

2006-12-11 Thread Milen A. Radev
Prischepa Vladimir написа: > PostgreSQL 8.2 / WIN XP > > When I execute sql with GRANT RULE statement. > In sistem table "pg_class", field "relacl" don't change. Statament 'R' is > not introduce in Access privileges. Another privileges work god. > > P.S. In 8.0 version all good ! Please,

Re: [BUGS] BUG #2821: xid cannot be casted to a different type

2006-12-11 Thread Edwin Groothuis
On Sun, Dec 10, 2006 at 03:20:50PM -0500, Tom Lane wrote: > "Edwin Groothuis" <[EMAIL PROTECTED]> writes: > > This statement is part of a longer one, which we used on 8.0 > > to determine the status of the locks on the database: > > > select relation,transaction::bigint,count(*) as waiting

[BUGS] BUG #2823: API largeobject calls

2006-12-11 Thread Gregor
The following bug has been logged online: Bug reference: 2823 Logged by: Gregor Email address: [EMAIL PROTECTED] PostgreSQL version: 8.2, 8.1 Operating system: Windows Description:API largeobject calls Details: Hello, API funtions lo_open, lo_write, lo_import don't

Re: [BUGS] BUG #2821: xid cannot be casted to a different type

2006-12-11 Thread Edwin Groothuis
On Sun, Dec 10, 2006 at 05:47:16PM -0500, Tom Lane wrote: > > Except that there isn't a custom cast... > Better look harder; there's *something* nonstandard about your 8.0 > database. Thanks for the push, I found it: It is part of slony which isn't on the new databases: mail=> select oid,* from p

[BUGS] GRANT RULE IN 8.2

2006-12-11 Thread Prischepa Vladimir
PostgreSQL 8.2 / WIN XP When I execute sql with GRANT RULE statement. In sistem table "pg_class", field "relacl" don't change. Statament 'R' is not introduce in Access privileges. Another privileges work god. P.S. In 8.0 version all good !

Re: [BUGS] BUG #2822: Missing support for IBM852

2006-12-11 Thread Heikki Linnakangas
Filip Hrbek wrote: We needed to run a client in IBM852 code page, but this one is unsupported by PostgreSQL. We added this feature to pgs and we would like to give it back to postgresql-devel (we have prepared a patch), because we think it might be useful for many PostgreSQL users. Thank you.

[BUGS] BUG #2822: Missing support for IBM852

2006-12-11 Thread Filip Hrbek
The following bug has been logged online: Bug reference: 2822 Logged by: Filip Hrbek Email address: [EMAIL PROTECTED] PostgreSQL version: All Operating system: All Description:Missing support for IBM852 Details: This is more feature request than a bug report, if it