Re: [ADMIN] Adding line to pg_hba.conf for a specific group makes superuser authentication fail in 9.0?

2011-07-27 Thread Glyn Astill
> From: Kevin Grittner >Glyn Astill wrote: > >>  How can I specifically catch superusers? > > Create a group (nobody?) that you don't grant to any users.  Only > superusers will be a member of it. > Ah of course, simple, thanks Kevin. I can't help but f

Re: [ADMIN] Adding line to pg_hba.conf for a specific group makes superuser authentication fail in 9.0?

2011-07-27 Thread Glyn Astill
> From: Tom Lane >G lyn Astill writes: >> I'm having what's hopefully a fairly trivial issue here with > pg_hba.conf in 9.0.4; when I add in the following line > >>     host    all        +ad_users  10.10.0.0/16          ldap details> > >> If I try to log in with a superuser account

[ADMIN] Adding line to pg_hba.conf for a specific group makes superuser authentication fail in 9.0?

2011-07-27 Thread Glyn Astill
Hi Guys, I'm having what's hopefully a fairly trivial issue here with pg_hba.conf in 9.0.4; when I add in the following line     hostall +ad_users 10.10.0.0/16 ldap If I try to log in with a superuser account from the 10.10.0.0/16 network it appears to try to authen

[ADMIN] Reindexing primary keys without locking

2011-06-01 Thread Glyn Astill
Hi Guys, Does anyone know of any tricks to replace primary key indexes without using reindex? Or any other method that will not lock the table for an extended amount of time on 8.4? I've got a bloated primary key index on a table and I'd like to try and clean it up without downtime. A quick s

Re: [ADMIN] Bloated indexes from pg_restore? (Was: Index fillfactor changed in pg9?)

2011-04-04 Thread Glyn Astill
--- On Mon, 4/4/11, Tom Lane wrote: > > --- On Mon, 4/4/11, Tom Lane > wrote: > >>> So it appears now that if I restore the > database using > >>> pg_restore, I end up with bloated indexes, > which are fixed > >>> with a vacuum full. > >>> > >>> The dump is a data only dump with the -Fc > flag

Re: [ADMIN] Bloated indexes from pg_restore? (Was: Index fillfactor changed in pg9?)

2011-04-04 Thread Glyn Astill
--- On Mon, 4/4/11, Tom Lane wrote: > > So it appears now that if I restore the database using > pg_restore, I end up with bloated indexes, which are fixed > with a vacuum full. > > > The dump is a data only dump with the -Fc flag, > > Data only dump?  Then what is the state of the > database yo

Re: [ADMIN] Bloated indexes from pg_restore? (Was: Index fillfactor changed in pg9?)

2011-04-04 Thread Glyn Astill
--- On Fri, 1/4/11, Glyn Astill wrote: > --- On Fri, 1/4/11, Kenneth Marshall wrote: > What > > happens > > if you run a REINDEX on both DB's to the index sizes? > > > > Regards, > > Ken > > > > Sorry for the lack of info there. Both are

Re: [ADMIN] Index fillfactor changed in pg9?

2011-04-01 Thread Glyn Astill
--- On Fri, 1/4/11, Kenneth Marshall wrote: > > > > Just testing some new hardware on 9.0.3 and have > restored one of our dumps from 8.4.7.  What I'm seeing > is although table sizes are the same, indexes are a lot > bigger, approx 50%. > > > > I've done a search and so far can't find anything

[ADMIN] Index fillfactor changed in pg9?

2011-04-01 Thread Glyn Astill
Hey Guys, Just testing some new hardware on 9.0.3 and have restored one of our dumps from 8.4.7. What I'm seeing is although table sizes are the same, indexes are a lot bigger, approx 50%. I've done a search and so far can't find anything, but have default fillfactors changed? Or is it someth

Re: [ADMIN] Dropping all constraints in database

2011-03-14 Thread Glyn Astill
> From: Lukasz Brodziak > Subject: [ADMIN] Dropping all constraints in database > To: pgsql-admin@postgresql.org > Date: Monday, 14 March, 2011, 9:26 > Hello, > > Is there a way of disabling/dropping all constrainsts in a > given > database? I need to restore a db which has duplicate values > in

Re: [ADMIN] Off topic - Japanese PostgreSQL community

2011-03-12 Thread Glyn Astill
Was thinking the same on Friday morning actually. The last post I see on the Pgpool-II mailing list is from Tastsuo about an hour before the tsunami hit. Hopefully they're all well, I'm sure Postgresql is probably a low priority at the moment. --- On Sat, 12/3/11, Benjamin Krajmalnik wrote:

Re: [ADMIN] parallel option in pg_restore

2010-06-23 Thread Glyn Astill
--- On Wed, 23/6/10, Tom Lane wrote: > Glyn Astill > writes: > > Good point.  No I've not seen it on a file > smaller than 2GB, but the test I did was pretty basic - I > just trimmed down the size of all of my tables to create a > dump that was only 50Mb or so. 

Re: [ADMIN] parallel option in pg_restore

2010-06-23 Thread Glyn Astill
--- On Tue, 22/6/10, Kevin Grittner wrote: > Glyn Astill > wrote: > > > so far I can only get the same error with large dump > files. > > "Large" being a relative term -- > ever see it on a file smaller than 2GB? > Good point. No I've not see

Re: [ADMIN] parallel option in pg_restore

2010-06-22 Thread Glyn Astill
--- On Tue, 22/6/10, Igor Neyman wrote: > From: Igor Neyman > Subject: Re: [ADMIN] parallel option in pg_restore > To: "John Rouillard" > Cc: pgsql-admin@postgresql.org > Date: Tuesday, 22 June, 2010, 17:34 > > No piping, just regular restore from the backup file. > Same here. If only I co

Re: [ADMIN] parallel option in pg_restore

2010-06-22 Thread Glyn Astill
> From: Igor Neyman > Subject: Re: [ADMIN] parallel option in pg_restore > To: "Tom Lane" > Cc: pgsql-admin@postgresql.org > Date: Tuesday, 22 June, 2010, 16:05 > > -Original Message- > > From: Tom Lane [mailto:t...@sss.pgh.pa.us] > > > Sent: Tuesday, June 22, 2010 10:37 AM > > To: Igor

Re: [ADMIN] Querying the hostname of the server

2010-04-30 Thread Glyn Astill
--- On Fri, 30/4/10, Ross J. Reedstrom wrote: > > Hi, > > > > I have a number of PostgreSQL servers which I often > access through ssh > > tunnel with Pgadmin3. I would like to double check > which one I have landed > > on (if the tunnel is really configured the way I > want). Is there a way to

Re: [ADMIN] Can not access PostgreSQL 8.8 via ADO

2010-03-25 Thread Glyn Astill
--- On Thu, 25/3/10, Richard Broersma wrote: > wrote: > > Thanks for quick answer. Sorry, this was a misstype. > We are using 8.4 not > > 8.8. > > > > We are using the OLEDB-Provider for ADO. > > On 8.2 the connectionstring works, on 8,4 it does not > work. > > The database is local and accessed

Re: [ADMIN] tuning our database by increasing shared buffer

2009-06-24 Thread Glyn Astill
Run a vacuum verbose and look at the output at the end. Word is that as of 8.4 these parameters will autotune themselvs. --- On Wed, 24/6/09, Allgood, John wrote: > From: Allgood, John > Subject: Re: [ADMIN] tuning our database by increasing shared buffer > To: "Barbara Stephenson" , "Tom Lan

Re: [ADMIN] Postgesql and SSL

2009-03-01 Thread Glyn Astill
have you generated the ssl certificates too? --- On Sun, 1/3/09, Lukas wrote: > From: Lukas > Subject: Re: [ADMIN] Postgesql and SSL > To: pgsql-admin@postgresql.org > Date: Sunday, 1 March, 2009, 8:37 AM > Hello again, > > nope, no use of it.. Situation stays the same.. Does any > one have

Re: [ADMIN] Postgesql and SSL

2009-02-28 Thread Glyn Astill
You defo have all the required openssl headers and libs and configure succeeds? It's a longshot, but I wonder if the prefix is somehow making configure read the string wrong? I've never really needed to use prefix, but what happend if you try ./configure --prefix='/DB' --with-openssl or perhap

Re: [ADMIN] pgbouncer compilation errors

2009-01-22 Thread Glyn Astill
> configure:2629: checking how to run the C preprocessor > configure:2669: gcc -E conftest.c > configure:2675: $? = 0 > configure:2706: gcc -E conftest.c > conftest.c:8:28: error: ac_nonexistent.h: No such file or > directory > configure:2712: $? = 1 > configure: failed program was: > | /* confd

Re: [ADMIN] [GENERAL] Planner picking topsey turvey plan?

2008-12-06 Thread Glyn Astill
MAIL PROTECTED], pgsql-admin@postgresql.org > Date: Saturday, 6 December, 2008, 8:35 PM > what does explain analyze yourqueryhere say? > > On Sat, Dec 6, 2008 at 1:33 PM, Glyn Astill > <[EMAIL PROTECTED]> wrote: > > Anyone? > > > > > > --- On Fri, 5/

Re: [ADMIN] [GENERAL] Planner picking topsey turvey plan?

2008-12-06 Thread Glyn Astill
Anyone? --- On Fri, 5/12/08, Glyn Astill <[EMAIL PROTECTED]> wrote: > From: Glyn Astill <[EMAIL PROTECTED]> > Subject: [GENERAL] Planner picking topsey turvey plan? > To: [EMAIL PROTECTED] > Date: Friday, 5 December, 2008, 2:23 PM > Hi people, > > Does anyo

Re: [ADMIN] Lock them out?

2008-11-03 Thread Glyn Astill
> From: Carol Walter <[EMAIL PROTECTED]> > I'm running PostgreSQL version 8.2.10 on Solaris 10. > How can I lock > everyone out except the postgres user? > Do it in pg_hba.conf -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http:/

Re: [ADMIN] Regaining superuser access

2008-09-18 Thread Glyn Astill
> The server only has one superuser, and for some reason he > decided to > remove the logon privilege on this user in PgAdmin III. So > now he has > lost superuser access to the database server. > > Is there some way to override this setting? Or some way to > trick > PostgreSQL into creating a ne

Re: [ADMIN] DB Dump Size

2008-08-18 Thread Glyn Astill
> I am also curious as to why an SQL dump from the production > server would > come out to 2.8G but a dump of an exact replica on a test > box would come > out to 3.0G. What determines the size and makeup of an SQL > dump? Why not repeat the dump without any compression then compare them with a f

Re: [ADMIN] ask...!!!

2008-07-01 Thread Glyn Astill
You need to output it into a directory you have permission to write to. Either change the permissions on documents, or write it into somewhere you definately do have permissions (e.g. /tmp/log.sql) and then move it to the desired location. - Original Message From: ria ulfa <[EMAIL PROTEC

Re: [ADMIN] pg_restore test procedures (a bit OT)

2008-05-19 Thread Glyn Astill
Thanks Phillip, I think the source of my problem was me being dumb and only capturing stdout, rather than stderr and stdout! I needed the "2>&1" on the end. - Original Message > From: Phillip Smith <[EMAIL PROTECTED]> > To: Glyn Astill <[EMAIL PROTECT

[ADMIN] pg_restore test procedures (a bit OT)

2008-05-16 Thread Glyn Astill
Hi chaps, I was just wondering if anyone has any clever way of testing their backups taken with pg_dump on a daily basis? On a slightly separate note, I've setup a daily restore onto a staging server that I intend to also use to test the dumps, at the moment I've just set up a cron job. I'm su

Re: [ADMIN] Urgent :: PostgreSQL on Vista Home Premium

2008-05-01 Thread Glyn Astill
Also check your DEP settings - Original Message > From: Scott Marlowe <[EMAIL PROTECTED]> > To: Kranti K K Parisa™ <[EMAIL PROTECTED]> > Cc: pgsql-admin@postgresql.org > Sent: Thursday, 1 May, 2008 4:33:45 PM > Subject: Re: [ADMIN] Urgent :: PostgreSQL on Vista Home Premium > > On Thu, M

[ADMIN] Problem with PgTcl auditing function on trigger

2008-01-04 Thread Glyn Astill
Hi people, I've tried posting on the general list about this, but I never get a reply, so I'm trying here. I have a function that is run each time an INSERT, DELETE or UPDATE happens on a row and log into an audit table. It is based on the info here: http://www.alberton.info/postgresql_table_au

Re: [ADMIN] Shutting down warm standby server? "

2008-01-02 Thread Glyn Astill
Aha.. excellent, thanks Tom! Sorry, I shall try to RTFM in the future. --- Tom Lane <[EMAIL PROTECTED]> wrote: > Glyn Astill <[EMAIL PROTECTED]> writes: > > I've setup a warm standby reading WAL files, however when I try > to > > shut it down I get the

[ADMIN] Shutting down warm standby server? "

2008-01-02 Thread Glyn Astill
Hi people, I've setup a warm standby reading WAL files, however when I try to shut it down I get the message "server does not shut down". Can someone help please, I presume it has something to do with the server being busy waiting for the next WAL file? What is the correct way to shut down a serv

Re: [ADMIN] Encrypting a single column

2007-12-14 Thread Glyn Astill
I guess a simpler way to say this is; is there a way we can make a column in postgres to be encrypted but entirely transparent to the user? Could we do this with phgcrypto + some form of trigger or view etc? --- Glyn Astill <[EMAIL PROTECTED]> wrote: > Hi people, > > We nee

[ADMIN] Encrypting a single column

2007-12-14 Thread Glyn Astill
Hi people, We need to encrypt an individual column in a table. I've noticed that pgcrypto can do this. However we have one problem, our software runs through a closed source "connectivity kit" that allows it to use a postgres dbms, so our programs cant sent an individual sql statement to give the