Re: [ADMIN] Schema diagramming tool?

2012-09-04 Thread Bob Lunney
SchemaSpy is kind of handy. Bob Sent from my iPhone On Sep 4, 2012, at 11:35 AM, Craig James wrote: > Can anyone recommend a good tool for producing a good drawing of an existing > database schema? I don't need a design tool, but rather one that can take an > existing schema

Re: [ADMIN] revoked permissions on table still allows users to see table's structure

2011-07-22 Thread Bob Lunney
ma seewhat to al_low; set search_path to seethat, seewhat, public; create table seethat.open(open_id int); create table seewhat.closed(closed_id int); set session authorization al_low; \d set session authorization dee_ny; \d Hope that helps! Bob Lunney - Original Message - From: Juan Cu

Re: [ADMIN] vacuumdb question/problem

2011-07-21 Thread Bob Lunney
drop and create new partitions to clear out and populate data quite quickly.  Check out http://www.postgresql.org/docs/8.4/interactive/ddl-partitioning.html for details of partitioning in PG 8.4. Good luck! Bob Lunney - Original Message - From: David Ondrejik To: pgsql-admin Cc: Se

Re: [ADMIN] Problem retrieving large records (bytea) data from a table

2011-07-20 Thread Bob Lunney
s (ACID properties) to manage the documents you may be stuck.  If not, replace doc_data with doc_filename (or maybe file_n is that column already) and move on from there. Good luck, Bob Lunney Στις Wednesday 20 July 2011 17:31:45 ο/η pasman pasmański έγραψε: > You may do a backup of this ta

Re: [ADMIN] Parallel pg_dump on a single database

2011-07-01 Thread Bob Lunney
overage of different table sets works great, and my overall dump times have been reduced to one-fifth the time it takes to run a single pg_dump.   BTW, I'm using PG 8.4.1, going to 8.4.8 soon, and its working great.  Thanks to all for the excellent database software. Regar

[ADMIN] Parallel pg_dump on a single database

2011-06-24 Thread Bob Lunney
store -Fc > /dev/null I get    pg_restore: [custom archiver] found unexpected block ID (4) when reading data -- expected 4238 I suspect that locks are colliding sometimes and not others, but I'm not sure.   Little help?   Thanks in advance, Bob Lunney -- Sent via pgsql-admin mailin

Re: [ADMIN] visualizing database schema - png/jpeg?

2011-05-19 Thread Bob Lunney
Schema Spy works for me. Bob Lunney --- On Wed, 5/18/11, neubyr wrote: > From: neubyr > Subject: [ADMIN] visualizing database schema - png/jpeg? > To: [email protected] > Date: Wednesday, May 18, 2011, 3:09 PM > Anyone knows of tools that can > generate PNG/JPE

Re: [ADMIN] best practice for moving millions of rows to child table when setting up partitioning?

2011-04-27 Thread Bob Lunney
Mark, Comments inline below for items 2 and 3. What you are planning should work like a charm. Bob Lunney --- On Wed, 4/27/11, Mark Stosberg wrote: > From: Mark Stosberg > Subject: [ADMIN] best practice for moving millions of rows to child table > when setting up partitioning? &g

Re: [ADMIN] PKs without indexes

2011-04-19 Thread Bob Lunney
purposes, so the list of tables should come from: select relname from pg_class c join pg_namespace n on c.relnamespace = n.oid where nspname = current_schema() and relkind = 'r' and c.oid not in ( select indrelid from pg_index where indisprimary or indisunique ) order by 1; Bob Lunney -- Sent via pgsql-admin mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] grant select script

2011-03-30 Thread Bob Lunney
Marc, Try pg_stat_user_tables - it will eliminate the tables in pg_catalog, information_schema, and the toast tables. Bob Lunney --- On Wed, 3/30/11, Marc Fromm wrote: From: Marc Fromm Subject: [ADMIN] grant select script To: "[email protected]" Date: Wednesday, March 30,

Re: [ADMIN] full vacuum of a very large table

2011-03-29 Thread Bob Lunney
ey will start using the new table. Foreign keys and other constraints may complicate things a bit, so check those out first. Also, don't forget to index and analyze the new table before the switch over. Good luck! Bob Lunney -- Sent via pgsql-admin mailing list ([email protected]

Re: [ADMIN] PG Server Crash

2011-03-07 Thread Bob Lunney
Sorry, I should have included the fact that PG was compiled from source on the same machine where it runs using gcc 4.1.0, and config.log has: ./configure --with-python --with-gssapi --enable-thread-safety Bob Lunney --- On Mon, 3/7/11, Bob Lunney wrote: > From: Bob Lunney > Subject:

[ADMIN] PG Server Crash

2011-03-07 Thread Bob Lunney
r over a year. It has Slony replicating to another mirror image server that has not had any problems whatsoever. Any ideas? Thanks in advance for all your help, and especially for the amazing database software! Regards, Bob Lunney -- Sent via pgsql-admin mailing list (pgs

Re: [ADMIN] Postgres Backup Utility

2011-01-19 Thread Bob Lunney
Brad, Google for "SQL Power Architect", download it, and try a schema comparison.   That might get you a ways down to road to what you want. Bob Lunney --- On Wed, 1/19/11, French, Martin wrote: From: French, Martin Subject: Re: [ADMIN] Postgres Backup Utility To: "Bradley Holbr

Re: [ADMIN] ERROR: invalid memory alloc request size 4294967293

2011-01-04 Thread Bob Lunney
Run ulimit -a and verify the max memory size allowed for the postgres account.(I assume you are running postmaster under the postgres account, right?) The allowed size should be large enough for the postmaster plus shared buffers and several other GUCs that require memory. Bob Lunney

Re: [ADMIN] ERROR: invalid memory alloc request size 4294967293

2011-01-04 Thread Bob Lunney
Run ulimit -a and verify the max memory size allowed for the postgres account.(I assume you are running postmaster under the postgres account, right?) The allowed size should be large enough for the postmaster plus shared buffers and several other GUCs that require memory. Bob Lunney

Re: [ADMIN] ERROR: invalid memory alloc request size 4294967293

2011-01-04 Thread Bob Lunney
Run ulimit -a and verify the max memory size allowed for the postgres account.(I assume you are running postmaster under the postgres account, right?) The allowed size should be large enough for the postmaster plus shared buffers and several other GUCs that require memory. Bob Lunney

Re: [ADMIN] pg_dump/restore problems

2010-10-26 Thread Bob Lunney
Glen, Did you drop the indexes prior to the restore?  If not, try doing so and recreating the indexes afterwards.  That will also speed up the data load. Bob Lunney --- On Mon, 2/15/10, Glen Brown wrote: From: Glen Brown Subject: [ADMIN] pg_dump/restore problems To: [email protected]

[ADMIN] GSS for both Windows and Linux

2010-10-01 Thread Bob Lunney
be appreciated. I've scoured Google but can't find the missing piece of information I need to get Windows clients working. Thanks in advance! Bob Lunney -- Sent via pgsql-admin mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] password administration

2010-08-05 Thread Bob Lunney
Mark, Look into kerberos. You will have to recompile your server to use it. Bob Lunney --- On Thu, 8/5/10, Mark Steben wrote: > From: Mark Steben > Subject: [ADMIN] password administration > To: [email protected] > Date: Thursday, August 5, 2010, 3:58 PM > > &

Re: [ADMIN] out of memory error

2010-08-05 Thread Bob Lunney
Silvio , I had a similar problem when starting the database from an account that didn't have the appropriate ulimits set. Check the ulimit values using ulimit -a. HTH, Bob Lunney --- On Thu, 8/5/10, Silvio Brandani wrote: > From: Silvio Brandani > Subject: [ADMIN] out of m

[ADMIN] Slony DDL/DML Change and "attempted to lock invisible tuple" PG Error

2010-06-25 Thread Bob Lunney
nexpected EOF on client connection 10.192.2.1(41547):2010-06-24 18:06:09.958 EDT:LOG: disconnection: session time: 0:00:00.071 user=rep_usr database=main_db host=10.192.2.1 port=41547 Thanks in advance for your help! Regards, Bob Lunney -- Sent via pgsql-admin mailing list (

Re: [ADMIN] alter column resize triggers question

2010-06-21 Thread Bob Lunney
n the new table.  That way you won't have to worry about the trigger firing at all. Bob Lunney == create table blah (blah int, ts timestamptz);                                                                      create function update_timestamp() returns trigger as $$begin  new

Re: [ADMIN] Runaway Locks

2010-05-04 Thread Bob Lunney
If you're using Tomcat or some other Java container that does connection management restart it and the lock should go away. Bob Lunney --- On Fri, 4/30/10, Kamcheung Sham wrote: > From: Kamcheung Sham > Subject: [ADMIN] Runaway Locks > To: [email protected] > Date:

Re: [ADMIN] Handling of images via Postgressql

2010-04-07 Thread Bob Lunney
Suresh, The real question is:  does manipulation of the images have to be transactional?  If so, store them in the database.  If not, store the images in the file system and put the file name in the database, thereby avoiding unecessary WAL overhead. Bob Lunney --- On Wed, 4/7/10, Suresh Borse

Re: [ADMIN] Querying the same column and table across schemas

2010-03-05 Thread Bob Lunney
ct user1.session_id from user1.sessions; > > when I could do it in a single query especially since the > database is > remote and secured with SSL. > > Thanks - John > John, How about creating a central admin schema and putting a trigger on all the sessions tables to writ

Re: [ADMIN] AIX - Out of Memory

2010-02-15 Thread Bob Lunney
I recently saw a similar issue. It is two-fold: 1. I used "su -" to become the postgres user, and inherited the previous account's memory limits, 2. AfterTriggerEvents queues are caused by foreign key constraints, one per row. If you're loading data, dropping or disabling that constraint makes a world of difference. Just be sure to check afterwards if the RI has been violated prior to recreating the FK constraint. Bob -- Sent via pgsql-admin mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

[ADMIN] Large Number of Files in pg_xlog

2009-11-30 Thread Bob Lunney
r and restarting the database, but to no avail. Is there another method that doesn't involve running a dump, initdb, and restore? Thanks in advance, Bob Lunney -- Sent via pgsql-admin mailing list ([email protected]) To make changes to your subscription: http://www.post

Re: [ADMIN] PostgreSQL Database freezes during backup then generates drwtsn.exe process

2008-12-02 Thread Bob Lunney
e same disk drive, anyway) in Windows simpy rejigger the file descriptor and don't reallocate any disk space.  I haven't tried it yet, but I'm moving in that direction.Regards,Bob Lunney--- On Tue, 12/2/08, Ward Eaton <[EMAIL PROTECTED]> wrote:From: Ward Eaton <[EMAIL PROTEC

[ADMIN] PITR wrm-standby startup fails

2008-08-24 Thread Bob Lunney
s 5 -t .\pgsql.trigger.5442 ..\data\archive %f %p %r 2>>pg_log\standby.log' I found this on the forums. Could it be the source of the problem I'm experiencing? Thanks in advance for the wizardly advice! Bob Lunney -- Sent via pgsql-admin mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] Insert NULL value with to_numeric()

2006-07-19 Thread Ghislain Bob Hachey
> > Why use to_number or to_timestamp? I assume you are using setString > in your prepared statement. In your Java code you can use setNull if > the value is null and setInt or setLong or setTimestamp if it is not. > Then you don't need the to_number or to_timestamp. You're absolutely right.

[ADMIN] Insert NULL value with to_numeric()

2006-07-19 Thread Ghislain Bob Hachey
Hello all, I'm a newbie. PostgreSQL 8.1.4. Fedora Core 5. I'm writing a small java application that will import CSV txt files into my DB. The SQL statement I'm sending to pgsql looks like this: "INSERT into table (col1,col2,col3) values (to_number(?, '999'),to_timestamp(?, 'MM/DD/ HH24:MI:

[ADMIN] Win32 2003 Front end

2006-06-21 Thread Farrell,Bob
Trying to connect from an ASP.NET front end to a Postgresql 814 backend.   ODBC is connecting but get this error on some pages:   ADODB.Field error '80020009' Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record. /index.asp

[ADMIN] Referential constraints in version 8

2005-04-15 Thread Bob Smith
27;s table description, or is there actually a functional difference? Should I re-define all the other foreign key constraints to be safe? Thanks! Bob Smith Hammett & Edison, Inc. [EMAIL PROTECTED] ---(end of broadcast)--- TIP 8: explain analyze is your friend

[ADMIN] unsubscribe

2003-09-22 Thread Bob Wheldon
UNSUBSCRIBE

[ADMIN] which file of the RH9 jdbc provides Java2 functionality?

2003-08-01 Thread Bob Hartung
package, dcm3che, suggest only one file needs to be copied to one of its' folders. I have searched the IBM and Postgres sites and have been overwhelmed with the volume of information, but I can't find the specific piece of information that I need. Thanks for your help. B

[ADMIN] unsubscribe

2003-06-01 Thread Bob Wheldon
unsubscribe ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html

[ADMIN] unsubscribe

2003-05-30 Thread Bob Wheldon
---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

[ADMIN] Restrict the number of emails to certain keywords with a filter?

2003-04-04 Thread Bob Wheldon
Hi all, Can I restrict the number of emails to certain keywords with a filter? I am getting too many irrelevant emails (but I do not want to stop all the emails from [ADMIN]! Regards, Bob Wheldon [EMAIL PROTECTED] Tel. +49 8444/7309 ---(end of broadcast

Followup Re: [ADMIN] Performance question

2003-03-05 Thread Bob Smith
162 days, 17:48, 3 users, load averages: 0.57, 0.51, 0.51 Maybe I should have a cron script restart postmaster every now and then, like once a week? Bob On Wednesday, Mar 5, 2003, at 10:11 US/Pacific, Bob Smith wrote: When I execute a query on a new connection, the performance is many times

[ADMIN] Performance question

2003-03-05 Thread Bob Smith
the life of one backend process? If so, is there any way to make this caching persistent across backends? Server particulars: Postgres 7.2.1, Mac OS X Server 10.1.5, dual 1GHz CPUs, 1.5GB memory Thanks! Bob Smith Hammett & Edison, Inc. [EMAIL PROTECTED] -

[ADMIN] Transaction isolation and UNION queries

2003-02-27 Thread Bob Smith
he separate parts of the UNION query? In other words, could a row appear to be missing or duplicated because a transaction that was moving the row from pending to permanent committed while the UNION was running? Thanks! Bob Smith Hammett & Edison, Inc. [EMAIL PROTECTED]

Re: [ADMIN] Meaning of message in logfile

2002-07-09 Thread Bob Smith
g from the postmaster's process. Sounds like I need the assistance of an OS X expert, I'll try some OS X related discussion groups. Thanks for your help! Bob Smith Hammett & Edison, Inc. [EMAIL PROTECTED] On Tuesday, July 9, 2002, at 08:03 , Tom Lane wrote: > Bob Smith <[EMAIL

[ADMIN] Meaning of message in logfile

2002-07-09 Thread Bob Smith
to be working just fine. Anyone know what this message means, or how to make it stop? Bob Smith Hammett & Edison, Inc. [EMAIL PROTECTED] ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

[ADMIN] news groups

2002-04-07 Thread Bob Hartung
Hi again, How can I log into news.postgresql.org to follow the messages in the news groups. I am using Mozilla-0.9.8 and don't seem to be able to get it to see any of the lists. Thanks, Bob -- Bob Hartung, Bettendorf, IA ---(end of broa

Re: [ADMIN] Errors on VACUUM

2002-03-15 Thread Bob Smith
x27;m going to stop worrying about it. Thanks much for your help! Bob Smith Hammett & Edison, Inc. [EMAIL PROTECTED] ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [ADMIN] Errors on VACUUM

2002-03-15 Thread Bob Smith
On Friday, March 15, 2002, at 09:53 , Tom Lane wrote: > Bob Smith <[EMAIL PROTECTED]> writes: >> PostgreSQL 7.0.2 > > Time to update ... I know, I know... But I'm about two weeks from bringing a whole new server on-line with the latest version of Postgres, so I

[ADMIN] Errors on VACUUM

2002-03-15 Thread Bob Smith
safe? Advice much appreciated! Bob Smith Hammett & Edison, Inc. [EMAIL PROTECTED] ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [ADMIN] tuning SQL

2002-03-13 Thread Bob Hairgrove
ith just the select statement, then drop ALL the indexes on contact, do the update, then recreate the indexes. Bob Hairgrove [EMAIL PROTECTED] ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscri

[ADMIN] VACUUM question, OID range

2001-12-31 Thread Bob Smith, Hammett & Edison, Inc.
#x27;d still like to know if I might eventually have to re- build the whole site due to running out of OIDs. The server is a P3-800, 768MB RAM, 80GB disk, running Red Hat 7.0 and PostgreSQL 7.0.2. Thanks! Bob Smith Hammett & Edison, Inc. [EMAIL PROTECTED] --

Re: [ADMIN] Odd behavior with NULL value

2001-12-20 Thread Bob Smith, Hammett & Edison, Inc.
On Thu, Dec 20, 2001, 18:55:18 Tom Lane wrote: >[EMAIL PROTECTED] (Bob Smith, Hammett & Edison, Inc.) writes: >> On a related note, does anyone know if 'current' works with DATE? > >DATE does not have an internal representation of 'current', so the DATE &

[ADMIN] Odd behavior with NULL value

2001-12-20 Thread Bob Smith, Hammett & Edison, Inc.
est where not(date = null); key |date -+ 1 | 2001-12-20 2 | 2001-12-20 (2 rows) rsj=> |\ _,,,---,,_Bob Smith /,`.-'`'-. ;-;;,_Hammett & Edison, Inc. |,4- ) )-,_. ,\ ( `'-' [EMAIL PROTECTED] '---'

[ADMIN] log files

2001-05-28 Thread Bob Himes
I've discovered this huge file, >16Meg, in the data/pg_xlog directory but information for it is alluding my discovery too. What is it and how can i manage it? Can it be deleted or is some tool necessary to deal with it? -- Bob Himes Pure Matrix, Inc. 303-245-1045ext.

Re: [ADMIN] RAID vs. Single Big SCSI Disk

2000-12-12 Thread bob
"G. Anthony Reina" wrote: > We have three databases for our scientific research and are getting > close to filling our 12 Gig partition. My boss thinks that just getting > a really big (i.e. > 30 Gig) SCSI drive will be cheaper and should do > nicely. Currently, we only have 4 people accessing th

[ADMIN] Error message on loading

2000-06-02 Thread Bob Cregan
When loading a dumped database I get the ERROR message psql:/tmp/savedump:574: ERROR: btree: index item size 3128 exceeds maximum 2717 The database was dumped from postgresql 6.5 using that versions pg_dumpall and was loaded into postgresql 7.0 Any ideas? Bob -- Bob Cregan [EMAIL PROTECTED

[ADMIN] pg_hba.conf is inscrutable to me

2000-04-29 Thread Bob Miller
Hello all. I hope this is the right place for this question. On a machine called falstaff.trgrdc.mc.xerox.com, IP address 13.137.84.27, I've got the following pg_hba.conf: localalltrust host all 13.137.84.27 255.255.255.255

Re: [ADMIN] 'user' sql reserved word ?

2000-03-01 Thread Bob Zoller
I ran into the same thing.. it must be a reserved word.. --Bob - You got two choices jack: start talkin' or start hurtin' -- Mr. T On Wed, 1 Mar 2000, Andre Antonio Parmeggiani wrote: > > Hi All, > > I tried to create a silly

[ADMIN] mysql to pgsql

2000-02-17 Thread Bob Zoller
hing that talks about this.. Does anyone know how I can move my databases over? Thanks, --Bob

[GENERAL] Datetime <> ODBC <> Access

1999-06-23 Thread Bob Kruger
ccess side Posix/Y2K compliant? Thanks in advance for any assistance. Regards - Bob Kruger

[GENERAL] Readline library

1999-06-23 Thread Bob Kruger
readline or history libraries. Has anyone who is running slakware gotten this feature to work properly? Thanks in advance for any assistance. Regards - Bob Kruger

[ADMIN] Preserving Users/Passwords

1999-06-14 Thread Bob Kruger
I am prepping to upgrade from version 6.4.2 to 6.5. Could someone point me in the right direction for a method to preserve user names and passwords during the upgrade? Thanks in advance for any assistance. Regards - Bob Kruger

[ADMIN] pgsql: "reseting connection" msg. (fwd)

1999-06-10 Thread Bob Parkinson
some of the archive and not seen this text). Any suggestions how can I go about debugging this please? TIA, Bob Bob Parkinson [EMAIL PROTECTED] -- Technical Officer: OMNI projecthttp://omni.ac.uk/ Greenfield Med

[ADMIN] undefined reference to `crypt'

1999-06-08 Thread Bob Williams
What am I missing? Is this a bug in the rpm?: I just upgraded using the Red Hat 6.4.2 rpm (from 6.3). Now I get a compile time error: cc -g mail2sql.c -o mail2sql -lpq \ -I/usr/include/pgsql /usr/lib/libpq.so: undefined reference to `crypt' collect2: ld returned 1 exit status __

[ADMIN] Initdb problems on 6.4.2 install

1999-03-10 Thread Judy/Bob Dilworth
me of the postings archived on this problem but didn't see any solutions. Does anyone have any idea what might be going on here. Thanks in advance Bob Dilworth Toledo Ohio [EMAIL PROTECTED] (home) [EMAIL PROTECTED] (work)