Re: [BUGS] General PostgresSQL Query

2006-03-04 Thread Bruce Momjian
Raymond Henick wrote: > PostGresSQL team: > > Hi, I am currently working for a small software company and we are > unable to find tuning specific documentation for our servers running > postgres. I know this email is for bug submission however > if you could direct this email through the pro

Re: [BUGS] BUG #2298: Bug using copy

2006-03-04 Thread Bruce Momjian
Read the COPY manual page. Permissions for COPY are based on the server user, not the psql user. Try psql \copy. --- Nahum Castro wrote: > > The following bug has been logged online: > > Bug reference: 2298 > Logged

Re: [BUGS] BUG #2292: Calling conventions in docs

2006-03-04 Thread Stephan Szabo
On Thu, 2 Mar 2006, Adriaan van Os wrote: > Tom Lane wrote: > > > Adriaan van Os <[EMAIL PROTECTED]> writes: > >> The manual is simply taking an old prejudice as a fact. > > > > No, it is stating a fact as as fact. The existence of one > > counterexample does not disprove the generalization. > >

Re: [BUGS] BUG #2299: pg_dump error w/ renamed primary keys

2006-03-04 Thread Tom Lane
"Gavin Scott" <[EMAIL PROTECTED]> writes: > If you rename a primary key, pg_dump tries to recreate it with the original > name. Here is how to recreate: >> CREATE TABLE foo ( id integer ); >> ALTER TABLE foo ADD CONSTRAINT foo_pkey PRIMARY KEY (id); >> ALTER TABLE foo_pkey RENAME TO bar_pkey; Th

Re: [BUGS] BUG #2300: Error in upper function

2006-03-04 Thread Alvaro Herrera
Kashin Oleg wrote: > My database is with UTF8 encoding. When I use function "upper" for any filed > of table I get the next error > "Invalid multibyte character for locale". Did you select a locale appropiate for UTF8 as well? It's pretty easy to get into trouble if you select a non-matching pai

[BUGS] BUG #2299: pg_dump error w/ renamed primary keys

2006-03-04 Thread Gavin Scott
The following bug has been logged online: Bug reference: 2299 Logged by: Gavin Scott Email address: [EMAIL PROTECTED] PostgreSQL version: 8.1.3 Operating system: fedora core 4 Description:pg_dump error w/ renamed primary keys Details: If you rename a primary key, pg

Re: [BUGS] BUG #2294: SPI_connect() fails in trigger when a Foreignkey constraint exists on same table as trigger.

2006-03-04 Thread Jim Fitzgerald
Tom - Indeed, its entirely possible I forgot to reLOAD the library, especially given that it appears to work for you with this correction. I'll give it another go in a clean environment and see how it goes. Thanks -Jim - Original Message - From: "Tom Lane" <[EMAIL PROTECTED]> To:

Re: [BUGS] BUG #2096: bug in a SPI sample document

2006-03-04 Thread NAKANO Yoshihisa
Bruce Momjian wrote: This documentation bug has been fixed. We currently have: => SELECT * FROM a; x --- 1 -- no rows in a (0) + 1 (1 row) => INSERT INTO a VALUES (execq('SELECT * FROM a', 0) + 1); INFO: EXECQ:

[BUGS] BUG #2300: Error in upper function

2006-03-04 Thread Kashin Oleg
The following bug has been logged online: Bug reference: 2300 Logged by: Kashin Oleg Email address: [EMAIL PROTECTED] PostgreSQL version: 8.1 Operating system: Suse 9.1 Description:Error in upper function Details: My database is with UTF8 encoding. When I use functi

[BUGS] General PostgresSQL Query

2006-03-04 Thread Raymond Henick
PostGresSQL team: Hi, I am currently working for a small software company and we are unable to find tuning specific documentation for our servers running postgres.  I know this email is for bug submission however if you could direct this email through the proper lines I would be very gratefu

[BUGS] BUG #2298: Bug using copy

2006-03-04 Thread Nahum Castro
The following bug has been logged online: Bug reference: 2298 Logged by: Nahum Castro Email address: [EMAIL PROTECTED] PostgreSQL version: 8.1.1 Operating system: Linux Kernel 2.6.22 Description:Bug using copy Details: When I try to copy from a file using psql I get

Re: [BUGS] BUG #2294: SPI_connect() fails in trigger when a Foreignkey constraint exists on same table as trigger.

2006-03-04 Thread Jim Fitzgerald
Tom - Yes, what your suggesting would make sense WRT the ri_triggers however it doesn't explain the results that are actually appearing using the given code in the bug report. If one compiles this code (with or without the missing SPI_finish() call) the failure still exists. In my opinion

[BUGS] BUG #2297: plpgsql function causes disconnect sometimes

2006-03-04 Thread bernd
The following bug has been logged online: Bug reference: 2297 Logged by: bernd Email address: [EMAIL PROTECTED] PostgreSQL version: 8.1.3 Operating system: Linux Fedora Core 3 Description:plpgsql function causes disconnect sometimes Details: I'm trying to make some

Re: [BUGS] BUG #2292: Calling conventions in docs

2006-03-04 Thread Adriaan van Os
Tom Lane wrote: Adriaan van Os <[EMAIL PROTECTED]> writes: The manual is simply taking an old prejudice as a fact. No, it is stating a fact as as fact. The existence of one counterexample does not disprove the generalization. Keep dreaming. Ignorance rules the world. Adriaan van Os