[BUGS] postgresql 9.1 replicaiton query ( GNU/Linux replicate to Windows)

2012-03-12 Thread Nie, Guocong
Hi Team, I am doing postgresql 9.1 replication , the Master database is on GNU/Linux operation system , the Slave database is on Windows 32 bit system. But when I copy the Master database from Linux to Windows , then I am unlucky to bringup database on windows system. Could you please let me

Re: [BUGS] postgresql 9.1 replicaiton query ( GNU/Linux replicate to Windows)

2012-03-12 Thread Christopher Browne
On Mon, Mar 12, 2012 at 5:31 AM, Nie, Guocong wrote: > Hi Team, > > I am doing postgresql 9.1  replication , the Master database is on GNU/Linux > operation system , the Slave  database is on Windows 32 bit system.  But > when I copy the Master database from Linux to Windows , then I am unlucky to

Re: [BUGS] postgresql 9.1 replicaiton query ( GNU/Linux replicate to Windows)

2012-03-12 Thread Kevin Grittner
Christopher Browne wrote: > Nie, Guocong wrote: >> Could you please let me know how can I replicate database from >> Linux to Windows ? > > The built-in replication requires that you are using the same > version of PostgreSQL on the same OS platform. That doesn't seem > to be documented as cl

Re: [BUGS] BUG #6517: Volatile function erroneously optimized, does not consider change in schema path

2012-03-12 Thread Robert Haas
On Mon, Mar 5, 2012 at 6:52 AM, wrote: > I found some unexpected behaviour when changing the schema search path in > combination with plpgsql functions (may be true for other function types > too, did not check). This occurs both in 9.1.2 (on Fedora, 64 bit) and 8.4.9 > (Centos 6, 32 bit). I crea

Re: [BUGS] BUG #6513: explain (analyze, buffers) and toasted fields

2012-03-12 Thread Robert Haas
On Sun, Mar 4, 2012 at 11:22 PM, wrote: > I got hit by that bug when explored reasons of one very slow production > query again. > And I lost a lot time trying reproduce the problem query on production > server with explain analyze. > Finally I found I need some workaround to get explain perform

Re: [BUGS] BUG #6517: Volatile function erroneously optimized, does not consider change in schema path

2012-03-12 Thread Tom Lane
Robert Haas writes: > On Mon, Mar 5, 2012 at 6:52 AM, wrote: >> I found some unexpected behaviour when changing the schema search path in >> combination with plpgsql functions (may be true for other function types >> too, did not check). This occurs both in 9.1.2 (on Fedora, 64 bit) and 8.4.9 >>

Re: [BUGS] BUG #6513: explain (analyze, buffers) and toasted fields

2012-03-12 Thread Tom Lane
Robert Haas writes: > ... I think that if there's an actual bug here, it's that > EXPLAIN ANALYZE is skipping the formation of the actual output tuples, > and therefore it's doing less work than an actual execution of the > real query would. I am not sure whether it would be a good idea to > chan

Re: [BUGS] BUG #6517: Volatile function erroneously optimized, does not consider change in schema path

2012-03-12 Thread Robert Haas
On Mon, Mar 12, 2012 at 11:16 AM, Tom Lane wrote: > Robert Haas writes: >> On Mon, Mar 5, 2012 at 6:52 AM,   wrote: >>> I found some unexpected behaviour when changing the schema search path in >>> combination with plpgsql functions (may be true for other function types >>> too, did not check). T

Re: [BUGS] BUG #6484: pgstat wait timeout

2012-03-12 Thread Robert Haas
On Wed, Feb 22, 2012 at 6:04 PM, wrote: > The following bug has been logged on the website: > > Bug reference:      6484 > Logged by:          Charlie Neo > Email address:      c...@accessdata.com > PostgreSQL version: 9.0.6 > Operating system:   Windows Server 2008 R2 Enterprise > Description: >

Re: [BUGS] BUG #6520: BRT FATAL: COULD NOT CREATE ANY TCP/IP SOCKETS

2012-03-12 Thread Robert Haas
On Mon, Mar 5, 2012 at 11:44 AM, wrote: > The following bug has been logged on the website: > > Bug reference:      6520 > Logged by:          André Luis Kuhn > Email address:      andrre1...@msn.com > PostgreSQL version: 8.3.3 > Operating system:   Windows XP > Description: > > Após ter dado pro

Re: [BUGS] BUG #6512: Bug with prepared statement and timestamp + interval

2012-03-12 Thread Robert Haas
On Sat, Mar 3, 2012 at 7:47 PM, wrote: > The following bug has been logged on the website: > > Bug reference:      6512 > Logged by:          Stefano Baccianella > Email address:      stefano.bacciane...@gmail.com > PostgreSQL version: 9.1.1 > Operating system:   Windows 7 64bit > Description: >

Re: [BUGS] BUG #6517: Volatile function erroneously optimized, does not consider change in schema path

2012-03-12 Thread Jaime Casanova
On Mon, Mar 5, 2012 at 6:52 AM, wrote: > > set search_path to public; > > CREATE FUNCTION countusers() > RETURNS INT > AS $PROC$ > BEGIN >    RETURN count(*) FROM users; > END > $PROC$ LANGUAGE 'plpgsql' VOLATILE; > i think you can workaround your problem using EXECUTE: CREATE FUNCTION countuse

Re: [BUGS] BUG #6513: explain (analyze, buffers) and toasted fields

2012-03-12 Thread Marti Raudsepp
On Mon, Mar 12, 2012 at 17:23, Tom Lane wrote: > EXPLAIN ANALYZE *necessarily* does less work than the real query, > because it doesn't transmit the results to the client (which is going > to be a dominant cost in a lot of situations).  I'm not sure whether > running the I/O functions would provid

Re: [BUGS] check_locale() and the empty string

2012-03-12 Thread Jeff Davis
On Sun, 2012-03-11 at 11:20 -0700, Jeff Davis wrote: > The problem seems to be in check_locale(), which just checks for a > non-NULL return value from setlocale(). However, the manual for > setlocale() says: > > If locale is "", each part of the locale that should be modified > is set accordin

Re: [BUGS] BUG #6480: NLS text width problem

2012-03-12 Thread Sergey Burladyan
Tom Lane writes: > Ah, nevermind --- I re-read the patch and realized that it was already > doing exactly what I said. Committed, sorry for the noise. Great, thank you, Tom! -- Sergey Burladyan -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscript