[BUGS] BUG #5083: Problem create account.

2009-09-27 Thread Jesper

The following bug has been logged online:

Bug reference:  5083
Logged by:  Jesper
Email address:  sol...@hotmail.com
PostgreSQL version: 8,3
Operating system:   Vista
Description:Problem create account.
Details: 

Hello.

I've been trying create an account with you.
I need to get holdem manager to work.

But when I create it cancel when I try to install.

error " Account already created " or " could't create" I have vista. Does it
not work then ? 

Best rewards
Jesper Berggren

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


[BUGS] BUG #1488: CREATE TABLESPACE does not work

2005-02-20 Thread Jesper Udby

The following bug has been logged online:

Bug reference:  1488
Logged by:  Jesper Udby
Email address:  [EMAIL PROTECTED]
PostgreSQL version: 8.0.1
Operating system:   Win32 XP Pro SP2
Description:CREATE TABLESPACE does not work
Details: 

Hello.

Trying to create a tablespace fails with msg "ERROR:  could not set
permissions on directory "...": Permission denied".

E.g. 

CREATE TABLESPACE pgtest LOCATION 'c:\\pgtest';

(Directory c:\\pgtest exists and is readable etc.)

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


[BUGS] BUG #6167: pg_dump fails on table lock

2011-08-17 Thread Jesper Engman

The following bug has been logged online:

Bug reference:  6167
Logged by:  Jesper Engman
Email address:  jes...@engman.net
PostgreSQL version: 8.3.10
Operating system:   Linux
Description:pg_dump fails on table lock
Details: 

I have tables that exists for short time periods, sometimes for as short as
5 min. pg_dump is starting to fail due to a problem to lock these tables:

pg_dump: SQL command failed
pg_dump: Error message from server: ERROR: relation
"vehicle_change_partitions.vehicle_change_export_p4368494" does not exist
pg_dump: The command was: LOCK TABLE
vehicle_change_partitions.vehicle_change_export_p4368494 IN ACCESS SHARE
MODE
Backup failed: PGPASSWORD=x && export PGPASSWORD && export PGOPTIONS="-c
statement_timeout=0 -c maintenance_work_mem=2147483647" && /usr/bin/pg_dump
-h xxx.xxx.xxx.xxx -U postgres --ignore-version -Fc -Z 6  >
/vol/nfs_backup/postgres_dumps/2011_07_13/_2011_07_13
Account:  Backup failed

How is this possible - pg_dump is a serializable transaction? It doesn't
seem to be tripped up by some other backend function since this actually
fails on the lock.

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


Re: [BUGS] BUG #6167: pg_dump fails on table lock

2011-08-18 Thread Jesper Engman
DDL is not excluded from MVCC, right? This kind of concurrency should
be handled and it's generally managed just fine. I just did a lab test
attempting to drop a table while pg_dump is running on the same db and
it simply waits to drop the table until pg_dump is done. That is the
expected behavior.

There is some discussion about concurrency and DDL changes in:

http://archives.postgresql.org/pgsql-bugs/2010-02/msg00187.php

But in that case, some specialized backend functions like
pg_get_indexdef is using committed state and that doesn't seem to
occur in this case.

I wonder if there is a small time span between when pg_dump starts and
when all locks have been acquired that may be the problem (if a table
is dropped during that time span). Is there such a small time of
vulnerability?

The database in question does not have a ton of tables like this -
about 10 tables and the tables exists for about 5 min. But this runs
on many databases (more than a thousand). So, if there is a window of
vulnerability (if only small) - chances are we're hitting it.

Excluding tables from the dump is not an option - that will be an
incomplete backup.

On Thu, Aug 18, 2011 at 4:03 AM, Simon Riggs  wrote:
> On Thu, Aug 18, 2011 at 2:05 AM, Jesper Engman  wrote:
>>
>> The following bug has been logged online:
>>
>> Bug reference:      6167
>> Logged by:          Jesper Engman
>> Email address:      jes...@engman.net
>> PostgreSQL version: 8.3.10
>> Operating system:   Linux
>> Description:        pg_dump fails on table lock
>> Details:
>>
>> I have tables that exists for short time periods, sometimes for as short as
>> 5 min. pg_dump is starting to fail due to a problem to lock these tables:
>>
>> pg_dump: SQL command failed
>> pg_dump: Error message from server: ERROR: relation
>> "vehicle_change_partitions.vehicle_change_export_p4368494" does not exist
>> pg_dump: The command was: LOCK TABLE
>> vehicle_change_partitions.vehicle_change_export_p4368494 IN ACCESS SHARE
>> MODE
>> Backup failed: PGPASSWORD=x && export PGPASSWORD && export PGOPTIONS="-c
>> statement_timeout=0 -c maintenance_work_mem=2147483647" && /usr/bin/pg_dump
>> -h xxx.xxx.xxx.xxx -U postgres --ignore-version -Fc -Z 6  >
>> /vol/nfs_backup/postgres_dumps/2011_07_13/_2011_07_13
>> Account:  Backup failed
>>
>> How is this possible - pg_dump is a serializable transaction? It doesn't
>> seem to be tripped up by some other backend function since this actually
>> fails on the lock.
>
>
> Well, its not a bug.
>
> You've asked to dump a table and then dropped the table concurrently
> with the attempt to dump the table.
>
> Exclude the tables you don't wish to have dumped using command line options.
>
> I don't think we will put in an option to silently exclude missing
> tables, not least because it would be technically difficult.
>
> --
>  Simon Riggs   http://www.2ndQuadrant.com/
>  PostgreSQL Development, 24x7 Support, Training & Services
>

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs