Re: [GENERAL] PostgreSQL mirroring from RPM install to RPM install-revisited

2017-02-17 Thread Richard Brosnahan
#x27;s great we have a hot standby, but if nobody knows how to use it in case the master goes away, it's not so great. THANK YOU for your assistance! > On Feb 17, 2017, at 10:43 AM, Adrian Klaver wrote: > > On 02/16/2017 04:39 PM, Richard Brosnahan wrote: >> Hi all

[GENERAL] Re: [GENERAL] PostgreSQL mirroring from RPM install to RPM install-revisited

2017-02-17 Thread Richard Brosnahan
a different layout than this program is expecting.  The results below are untrustworthy. Segmentation fault (core dumped) Now I'm really unhappy. Same server architecture, same PostgreSQL versions. No joy! -- Richard Brosnahan On Feb 17, 2017, at 10:43 AM, Adrian Klaver wrote: On 02/

[GENERAL] PostgreSQL mirroring from RPM install to RPM install-revisited

2017-02-17 Thread Richard Brosnahan
ave. This is easier than option 1, but I would need to find a yum repo that has that version.  3 Make what I have work, somehow.  Any assistance would be greatly appreciated! -- Richard Brosnahan

[GENERAL] Re: Re: [GENERAL] PostgreSQL mirroring from RPM install to Source install

2016-12-19 Thread Richard Brosnahan
en if I manage to get the mirror working with the current install, there's a real risk something bad will happen. I can't trust this source built version. Sigh Thanks again for your help. -- Richard Brosnahan On Dec 15, 2016, at 01:00 PM, Tom Lane wrote: Richard Brosna

[GENERAL] Re: [GENERAL] PostgreSQL mirroring from RPM install to Source install

2016-12-19 Thread Richard Brosnahan
need to do something more drastic, like blackmail a sys admin to coerce him to install PostgreSQL on the slave using RPM. Thanks for the help! -- Richard Brosnahan On Dec 15, 2016, at 10:01 AM, Tom Lane wrote: Richard Brosnahan writes: I've got a PostgreSQL database server version 9.4.1 in

[GENERAL] PostgreSQL mirroring from RPM install to Source install

2016-12-15 Thread Richard Brosnahan
up? I wonder if the sys admins take bribes... THANKS in advance!! -- Richard Brosnahan

Re: [GENERAL] Recovering data from an old disk image

2016-07-15 Thread Richard Kuhns
On 07/15/16 12:13, Adrian Klaver wrote: On 07/15/2016 09:06 AM, Tom Lane wrote: Richard Kuhns writes: I uninstalled 9.3 & installed the most recent 9.4. When I try to start it, it tells me: postgres[99770]: [1-1] FATAL: database files are incompatible with server postgres[99770]:

[GENERAL] Recovering data from an old disk image

2016-07-15 Thread Richard Kuhns
at the data that would be even better. Any and all help would be greatly appreciated. Thanks in advance. -- Richard Kuhns Wintek Corporation 427 N 6th Street Lafayette, IN 47901-2211 Main: 765-742-8428 Direct: 765-269-8541 -- Sent via pgsql-general mailing list (pgsql-general@postgresql

Re: [GENERAL] Whither recovery.conf?

2016-06-06 Thread Richard Tisch
ew link for it: > https://commitfest-old.postgresql.org/action/patch_view?id=1293 Thanks! Richard. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

[GENERAL] Whither recovery.conf?

2016-06-06 Thread Richard Tisch
rching in the wrong places and/or for the wrong terms, it's happened before so apologies if I'm missing the obvious. Thanks! Richard. -- Those who do not understand SQL are condemned to reinvent it, poorly -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make

Re: [GENERAL] How to get good performance for very large lists/sets?

2014-10-06 Thread Richard Frith-Macdonald
On 6 Oct 2014, at 17:54, Igor Neyman wrote: > >> -Original Message- >> From: pgsql-general-ow...@postgresql.org >> [mailto:pgsql-general-ow...@postgresql.org] On Behalf Of Richard >> Frith-Macdonald >> Sent: Monday, October 06, 2014 4:02 AM &g

[GENERAL] How to get good performance for very large lists/sets?

2014-10-06 Thread Richard Frith-Macdonald
I'm wondering if anyone can help with advice on how to manage large lists/sets of items in a postgresql database. I have a database which uses multiple lists of items roughly like this: CREATE TABLE List ( ID SERIAL, Name VARCHAR ); and a table containing individual entries in the lis

Re: [GENERAL] client that supports editing views

2013-12-10 Thread Richard Broersma
ll roll-back the changes. -- Regards, Richard Broersma Jr.

Re: [GENERAL] Need help with upsert

2013-12-04 Thread Richard Dunks
I am doing wrong? In your UPDATE statement, I'd suggest explicitly putting the "T" table alias before each column you're setting. That will make the assignment more explicit and hopefully get around the error. > > Also, is there an easier way to do that? > > Thanks for the help. Best, Richard Dunks

Re: [GENERAL] Wrap around id failure and after effects

2013-11-26 Thread Richard Huxton
? This shouldn't really be possible without disabling autovaccuum or configuring it strangely. http://www.postgresql.org/docs/current/static/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.or

Re: [GENERAL] Failed to autoconvert '1' to text.

2013-09-06 Thread Richard Huxton
If you use the literals directly the context lets PostgreSQL figure it out. SELECT levenshtein('1','2'); -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [pgeu-general] [GENERAL] Call for design: PostgreSQL mugs

2013-09-05 Thread Richard Sickler
Okay, how about PostgreSQL - The DataBase with 10,000 programmers on your side. PostgreSQL - You wish the rest of your stuff was this good. PostgreSQL - apply many quotes to mug On Thu, Sep 5, 2013 at 12:37 PM, Atri Sharma wrote: > On Fri, Sep 6, 2013 at 12:35 AM, Marc Balmer wrote: >

Re: [pgeu-general] [GENERAL] Call for design: PostgreSQL mugs

2013-09-04 Thread Richard Sickler
How about an elephant flying around Earth. Caption: PostgreSQL - Used all around the World On Wed, Sep 4, 2013 at 1:58 PM, Gavin Flower wrote: > On 05/09/13 08:40, patrick keshishian wrote: > > On 9/4/13, Andreas 'ads' Scherbaum > wrote: > > On 09/04/2013 10:17 PM, Stefan Kaltenbrunner wro

Re: [GENERAL] Why doesn't COPY support the HEADER options for tab-separated output?

2013-08-15 Thread Richard Huxton
. I'd like there to be a header in my files. I have to use CSVs instead. Late to the discussion, but it does work to set format=csv and delimiter = E'\t' to get tab-separated. Be nice not to have to though. -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mail

Re: [GENERAL] Seemingly inconsistent ORDER BY behavior

2013-08-14 Thread Richard Hipp
RT INTO t1 VALUES('az'); INSERT INTO t1 VALUES('by'); INSERT INTO t1 VALUES('cx'); SELECT '1', substr(m,2) AS m FROM t1 ORDER BY m; SELECT '2', substr(m,2) AS m FROM t1 ORDER BY m COLLATE "POSIX"; If that is n

Re: [GENERAL] Seemingly inconsistent ORDER BY behavior

2013-08-14 Thread Richard Hipp
On Wed, Aug 14, 2013 at 2:28 PM, Scott Marlowe wrote: > On Wed, Aug 14, 2013 at 12:01 PM, Richard Hipp wrote: > > substr(m,2) as m > > is bad form. Always use a new and unique alias, like m1. How does this > work: > > SELECT '2', substr(m,2) AS m1 > FROM

[GENERAL] Seemingly inconsistent ORDER BY behavior

2013-08-14 Thread Richard Hipp
n names in the source table take precedence over result column name, or should it be the other way around? Any insights are appreciated. Please advise if a different mailing list would be more appropriate for this question. -- D. Richard Hipp d...@sqlite.org

Re: [GENERAL] PostrgreSQL Commercial restrictions?

2013-08-07 Thread Richard Broersma
nf/elephant-roads-a-tour-of-postgres-forks -- Regards, Richard Broersma Jr.

Re: [GENERAL] Seamless replacement to MySQL's GROUP_CONCAT function...

2013-08-05 Thread Richard Broersma
> -- > Álvaro Herrerahttp://www.2ndQuadrant.com/ > PostgreSQL Development, 24x7 Support, Training & Services > > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > -- Regards, Richard Broersma Jr.

Re: [GENERAL] Identify primary key in simple/updatable view

2013-08-02 Thread Richard Broersma
renamed columns, > etc. > > Thanks in advance for your precious help, > > -- > Lionel > > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > -- Regards, Richard Broersma Jr.

Re: [GENERAL] Add a NOT NULL column with default only during add

2013-08-01 Thread Richard Broersma
. If I'm correct that this feature is > not currently present, would adding it be a reasonable feature request? How > would I go about making a feature request? (My apologies if there is a > how-to on feature requests somewhere; my searching didn't turn it up.) > > Thank you. > -- Regards, Richard Broersma Jr.

Re: [GENERAL] How to REMOVE an "on delete cascade"?

2013-06-28 Thread Richard Broersma
Yours, > Laurenz Albe > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > -- Regards, Richard Broersma Jr.

Re: [GENERAL] Postgres DB crashing

2013-06-20 Thread Richard Huxton
se a connection pooler. You'll also need to reduce work_mem to 1MB or so. -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] INSERT RETURNING with values other than inserted ones.

2013-06-10 Thread Richard Dunks
et Postgres do the rest for you. Obviously if you need to have a separate table B ID, you can alter as necessary. Good luck, Richard Dunks On Jun 10, 2013, at 7:29 PM, Aleksandr Furmanov wrote: > Hello, > I want to insert new values into target table 'a' from source table &

Re: [GENERAL] PostgreSQL Synchronous Replication in production

2013-06-06 Thread Richard Huxton
protect against? Make a list of possible failures and what they mean to the business/project and then decide how much time/money to spend protecting against each one. -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] PostgreSQL Synchronous Replication in production

2013-06-06 Thread Richard Huxton
cases where you want (a), but lots where you want (b) and monitor the replication lag. [1] For various values of "safely" of course [2] In the same mode - adding async slaves doesn't count [3] Assuming a reasonable write load of course. Read-only databases won't care. --

Re: [GENERAL] Table Partitioning

2013-05-22 Thread Richard Onorato
partition.  Thus I end up with 120 records when I am expecting just 60. Any ideas on how I can fix this issue?   Regards, Richard From: Richard Onorato To: Raghavendra Cc: "pgsql-general@postgresql.org" Sent: Wednesday, May 22, 2013 7:27 PM S

Re: [GENERAL] Table Partitioning

2013-05-22 Thread Richard Onorato
Raghavendra, I am doing my inserts via Java JPA statements embedded in my Data Access Layer.  I can share them if you would like to see them.   Regards, Richard From: Raghavendra To: Richard Onorato Cc: "pgsql-general@postgresql.org" Sent:

Re: [GENERAL] Table Partitioning

2013-05-21 Thread Richard Onorato
-increment supported on table partitioning?   Regards, Richard From: Raghavendra To: Richard Onorato Cc: "pgsql-general@postgresql.org" Sent: Tuesday, May 21, 2013 1:06 PM Subject: Re: [GENERAL] Table Partitioning On Tue, May 21, 2013 at 11:03 P

Re: [GENERAL] Table Partitioning

2013-05-21 Thread Richard Onorato
Interesting. I wonder what I am doing wrong. I will try and setup the database again and see if I can get it to work. thank you for testing it out for me. Richard On May 21, 2013, at 1:06 PM, Raghavendra wrote: > On Tue, May 21, 2013 at 11:03 PM, Richard Onorato > wrote: > I a

[GENERAL] Table Partitioning

2013-05-21 Thread Richard Onorato
OW EXECUTE PROCEDURE my_mapping_table_insert_trigger(); SET constraint_exclusion = ON; Regards, Richard

Re: [GENERAL] Shortcut evaluation in OR or IN

2013-05-06 Thread Richard Poole
? An update affects all rows that match the given condition so you'd get both rows updated in this case. There's no LIMIT or ORDER BY available in UPDATE. Richard -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] apt.postgresql.org broken dependency?

2013-04-26 Thread Richard Huxton
lidas: barman : Depende: python (< 2.7) pero 2.7.3-4 va a ser instalado Depende: python-argcomplete pero no va a instalarse Since when 2.7.3 isn't larger then 2.7. Is that not complaining that it *wants* a version of python < 2.7 and you have larger? -- Richard Huxto

Re: [GENERAL] Table containing only valid table names

2013-04-26 Thread Richard Huxton
vel/static/event-triggers.html -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Checking for changes in other tables

2013-04-26 Thread Richard Huxton
nges CALLING PROCEDURE ...; A different "feel", but no difference in behaviour. -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Checking for changes in other tables

2013-04-26 Thread Richard Poole
cipient names and the system would populate the country fields for you by looking up in persons, throwing an error if appropriate. Richard -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Selecting timestamp from Database

2013-04-08 Thread Richard Harley
it. It was the psycopg adapter. My bad!! Thanks Adrian / Tom. Rich On 8 Apr 2013, at 14:58, Adrian Klaver wrote: > On 04/08/2013 06:49 AM, Richard Harley wrote: >> It's >> >&

Re: [GENERAL] Selecting timestamp from Database

2013-04-08 Thread Richard Harley
n Klaver wrote: > On 04/08/2013 06:45 AM, Richard Harley wrote: >> I am running the query straight through PSQL so there are no other programs >> or adapters. >> >> The field definition is just 'timestamp'. > > From psql what do you get if yo

Re: [GENERAL] Selecting timestamp from Database

2013-04-08 Thread Richard Harley
I am running the query straight through PSQL so there are no other programs or adapters. The field definition is just 'timestamp'. I did try that as well - no luck :) Rich On 8 Apr 2013, at 14:36, Adrian Klaver wrote: > On 04/08/2013 06:27 AM, Richard Harley w

Re: [GENERAL] Selecting timestamp from Database

2013-04-08 Thread Richard Harley
Sure Timestamp 2013/04/08 12:42:40 GMT+1 2013/04/08 12:42:33 GMT+1 2013/04/07 20:25:11 GMT+1 2013/04/07 20:19:52 GMT+1 2013/04/07 20:19:52 GMT+1 Some are GMT, some are GMT+1 depending on when they were entered. On 8 Apr 2013, at 14:25, Adrian Klaver wrote: > On 04/08/2013 06:22 AM, Rich

Re: [GENERAL] Selecting timestamp from Database

2013-04-08 Thread Richard Harley
This doesn't seem to work - take a normal GMT date for example: 2012/12/14 12:02:45 GMT select timestamp from attendance where timestamp = '2012/12/14 12:02:45' ..returns nothing On 8 Apr 2013, at 14:17, Adrian Klaver wrote: > On 04/08/2013 06:03 AM, Richard Harley w

[GENERAL] Selecting timestamp from Database

2013-04-08 Thread Richard Harley
Hello all Pretty sure this should be simple - how can I select a timestamp from a database? The timestamp is stored in the db like this: 2013/04/08 13:54:41 GMT+1 How can I select based on that timestamp? At the simplest level "select timestamp from attendance where timestamp = '2013/04/08 1

Re: [GENERAL] Do "after update" trigger block the current transaction?

2013-03-26 Thread Richard Huxton
On 26/03/13 13:24, Clemens Eisserer wrote: Hi Richard, Will triggers (after update specifically) cause the execution of SQL-commands to pause until the trigger-function has returned (at statement execution time or commit)? The trigger will block. If it didn't then it couldn't

Re: [GENERAL] PostgreSQL service terminated by query

2013-03-26 Thread Richard Huxton
be reproduced, adapted or communicated without the prior written consent of the copyright owner. Oh no, too late! -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Do "after update" trigger block the current transaction?

2013-03-26 Thread Richard Huxton
umn, which is not pretty but should be fairly simple. Why not use one of the established trigger-based replication solutions? -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.or

Re: [GENERAL] Running update in chunks?

2013-01-25 Thread Richard Huxton
ck and also not updating any indexed fields (and you were, I think). A GIN index is very expensive to update compared to btree too. -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgres

Re: [GENERAL] Running update in chunks?

2013-01-25 Thread Richard Huxton
thout the fillfactor and with/without the GIN index while you do the updates. It's possible your SSD is just behaving oddly under stress. -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscrip

Re: [GENERAL] Running update in chunks?

2013-01-21 Thread Richard Huxton
en year old PCs with very little RAM and disk space. At least deliver additional conf files for small, medium, large, huge setups. -- Richard Huxton -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Running update in chunks?

2013-01-21 Thread Richard Huxton
updating those rows whose id has changed - that seemed to be the suggestion in your first message. If not, simply adding "AND make_id <> md.make_id" should help. Also (and you may well have considered this) - for a normalised setup you'd just have the model-id in "import

Re: [GENERAL] Running update in chunks?

2013-01-21 Thread Richard Huxton
write. If it's much faster then something else is happening. -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Backup/Restore bytea data

2013-01-14 Thread Richard Huxton
in "escape" rather than "hex" format. -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] DONT_CARE Aggregate

2012-12-20 Thread Richard Broersma
141 | B-0307 74 | B-0423 (10 rows) -- Regards, Richard Broersma Jr.

Re: [GENERAL] Postgres PHP error

2012-12-03 Thread Richard Huxton
ump to dump the database regularly too. I'd expect to have to do a little work to move the data into an up-to-date version of PostgreSQL and it's always better to know what issues you'll have before doing it for real. -- Richard Huxton Archonet Ltd -- Sent via pgsql-gener

Re: [GENERAL] Experiences with pl/Java

2012-11-19 Thread Welty, Richard
i think pl/java may expect the method signatures to match up precisely. not entirely sure, as there are no examples published as to how pl/java expects out parameters to work. richard From: Thomas Hill [thomas.k.h...@t-online.de] Sent: Monday, November

Re: [GENERAL] Experiences with pl/Java

2012-11-19 Thread Welty, Richard
Edson Richter [edsonrich...@hotmail.com] writes: >Em 19/11/2012 15:26, Welty, Richard escreveu: >> PL/Java requires that the methods being directly called from PostgreSQL are >> static. >> while i don't disagree with the advice, PL/Java is limited in this respect. >

Re: [GENERAL] Experiences with pl/Java

2012-11-19 Thread Welty, Richard
a is limited in this respect. richard -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Experiences with pl/Java

2012-11-19 Thread Welty, Richard
production so long as you have good processes in place and can dedicate some developer time to learning & supporting it. but it's definitely not plug and play right now. richard From: pgsql-general-ow...@postgresql.org [pgsql-general-ow...@postgresql

Re: [GENERAL] Noticed something odd with pgbench

2012-11-16 Thread Richard Huxton
On 16/11/12 19:35, Shaun Thomas wrote: Hey guys, So, we have a pretty beefy system that runs dual X5675's with 72GB of RAM. After our recent upgrade to 9.1, things have been... odd. I managed to track it down to one setting: shared_buffers = 8GB It does the same thing at 6GB. 4GB is safe

Re: [GENERAL] deadlock detected

2012-11-05 Thread Richard Huxton
7;2170501' How may I get more information about this deadlock like which queries created it. The error message shows which queries - your two UPDATEs. I'm guessing either t1 or c1 are views and so refer to the same row with id "2710501". -- Richard Huxton -- Sent

Re: [GENERAL] Recover from failed files

2012-11-05 Thread Richard Huxton
nsaction information will have been lost. But before you do anything drastic, do steps #1 and #2. -- Richard Huxton -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] table logging

2012-10-29 Thread Richard Huxton
Other than that, it seems to work fine. -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] fgets failure in Solaris after patching

2012-07-27 Thread Stephan, Richard
tform/SUNW,Sun-Fire-V890/lib/sparcv9/libc_psr.so.1 /platform/SUNW,Sun-Fire-V890/lib/sparcv9/libmd_psr.so.1 Thank you for helping to point out where the actual problem lies. The ldd command is showing that there is a library issue with trying to use the 9.0.8 version.

[GENERAL] fgets failure in Solaris after patching

2012-07-27 Thread Stephan, Richard
Rebuilt the PostgreSQL server software because we were patching up from 9.0.4 to 9.0.8. Deployed software and received the following error when trying to restart server. fgets failure: Error 0 The program postgres is needed by pg_ctl but was not found in the same directory as pg_ctl 9.0.4 wor

Re: [GENERAL] Notiffy problem

2012-06-29 Thread Richard Huxton
l(n_user); EXECUTE cmd; or just EXECUTE 'NOTIFY demoApp, ' || quote_literal(n_user); -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Migrating from 8.2 to 9.1 : invalid port number

2012-05-23 Thread Welty, Richard
port numbers are restricted to 2 octets (16 bits). they are TCP/IP entities and are restricted in size by the RFCs (internet standards.) richard -Original Message- From: pgsql-general-ow...@postgresql.org on behalf of Alberto Zanon Sent: Wed 5/23/2012 10:19 AM To: Merlin Moncure Cc

Re: [GENERAL] Pre-built binary packages of PostgreSQL 9.2 Beta

2012-05-16 Thread Richard Broersma
Okay, should the 9.2 beta announcement and press releases be amended to show this link rather than the ones posted? On Wed, May 16, 2012 at 10:40 AM, Guillaume Lelarge wrote: > On Wed, 2012-05-16 at 10:28 -0700, Richard Broersma wrote: >> I've seen the following statement made

[GENERAL] Pre-built binary packages of PostgreSQL 9.2 Beta

2012-05-16 Thread Richard Broersma
e any results: http://www.postgresql.org/download/ or http://www.postgresql.org/download/windows/ or http://www.enterprisedb.com/products-services-training/pgdownload#windows Are we waiting for a refresh on the download page? -- Regards, Richard Broersma Jr. -- Sent via pgsql-general mailing list (pgsql-genera

Re: [GENERAL] maybe incorrect regexp_replace behavior in v8.3.4 ?

2012-05-16 Thread Richard Huxton
ot;strict" then any null parameters automatically result in a null result. And indeed, this: SELECT * FROM pg_proc WHERE proname LIKE 'regexp_r%'; shows pro_isstrict is set to true, as it is for most other function.s -- Richard Huxton Archonet Ltd -- Sent via pgsql-gene

Re: [GENERAL] relpages sudden increase

2012-05-09 Thread Richard Harley
On 09/05/12 00:00, Tomas Vondra wrote: On 8.5.2012 19:27, Richard Harley wrote: I currently do nightly database dumps on a ton of small dbs that are increasing around 2-3mb per day. Suddenly, in a recent backup file, one db in particular jumped from 55mb to 122mb overnight. Well, I wouldn&#

[GENERAL] relpages sudden increase

2012-05-08 Thread Richard Harley
I currently do nightly database dumps on a ton of small dbs that are increasing around 2-3mb per day. Suddenly, in a recent backup file, one db in particular jumped from 55mb to 122mb overnight. I did some investigation - One table increased from 8mb to 31mb during a 24hr period. The table is

Re: [GENERAL] How do I setup this Exclusion Constraint?

2012-05-01 Thread Richard Broersma
ook at Btree_gist index: http://www.postgresql.org/docs/9.1/static/btree-gist.html I think this is the part that your missing. -- Regards, Richard Broersma Jr. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] How to add "on delete cascade" constraints

2012-04-27 Thread Richard Broersma
ic.pref_scores DROP CONSTRAINT pref_scores_gid_fkey, ADD CONSTRAINT pref_scores_gid_fkey FOREIGN KEY (gid) REFERENCES pref_games(gid) ON DELETE CASCADE; -- Regards, Richard Broersma Jr. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] Re: how to set up automatically startup database when the server boot or reboot.

2012-04-27 Thread Welty, Richard
in the RHEL and related linux systems (Fedora, CentOS, Amazon EC2 Linux), use this command: chkconfig postgresql on to set up postgresql to start at boot. it needs to be executed as root. richard -Original Message- From: pgsql-general-ow...@postgresql.org on behalf of leaf_yxj

Re: [GENERAL] Problem with reading data from standby server ?

2012-04-20 Thread Richard Huxton
ar behind the replica could never catch up). You can control how long before it switches: http://www.postgresql.org/docs/9.1/static/hot-standby.html#HOT-STANDBY-CONFLICT -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make ch

[GENERAL] somewhat high profile project using PostgreSQL

2012-04-18 Thread Welty, Richard
some of you may have seen this in the NYT two weeks ago: http://bits.blogs.nytimes.com/2012/04/05/pentagon-pushes-crowdsourced-manufacturing/ just FYI, the database being used by the MIT/GE team is PostgreSQL 9.1.3 cheers, richard

[GENERAL] recommended schema diff tools?

2012-04-12 Thread Welty, Richard
can anyone recommend an open source tool for diffing schemas? (it should go without saying that i'm looking for ddl to update production and QA DBs from development DBs, but i'll say it, just in case.) thanks, richard

Re: [GENERAL] 9.1.3: launching streaming replication

2012-04-03 Thread Welty, Richard
h just yet. richard -Original Message- From: Michael Nolan [mailto:htf...@gmail.com] Sent: Mon 4/2/2012 7:19 PM To: Welty, Richard Cc: pgsql-general@postgresql.org Subject: Re: [GENERAL] 9.1.3: launching streaming replication On Mon, Apr 2, 2012 at 4:21 PM, Welty, Richard wrote: I g

[GENERAL] 9.1.3: launching streaming replication

2012-04-02 Thread Welty, Richard
several iterations and fixed some problems, and wonder if there's obsolete data that is messing things up? thanks, richard

Re: [GENERAL] default value returned from sql stmt

2012-03-30 Thread Richard Huxton
On 30/03/12 08:46, Pavel Stehule wrote: 2012/3/30 Richard Huxton: On 29/03/12 23:28, Pavel Stehule wrote: select anum from t1 where anum = 4 union all select 100 limit 1; I'm not sure the ordering here is guaranteed by the standard though, is it? You could end up with the 4 being disc

Re: [GENERAL] default value returned from sql stmt

2012-03-30 Thread Richard Huxton
On 29/03/12 23:28, Pavel Stehule wrote: select anum from t1 where anum = 4 union all select 100 limit 1; I'm not sure the ordering here is guaranteed by the standard though, is it? You could end up with the 4 being discarded. -- Richard Huxton Archonet Ltd -- Sent via pgsql-ge

[GENERAL] configuring RAID10 for data in Amazon EC2 cloud?

2012-03-27 Thread Welty, Richard
does anyone have any tips on this? Linux Software Raid doesn't seem to be doing a very good job here, but i may well have missed something. i did a fairly naive setup using linux software raid on an amazon linux instance, 10 volumes (8G each), (WAL on a separate EBS volume) with the following se

Re: [GENERAL] Desperately need a magical PG monitoring tool

2012-03-26 Thread Richard Huxton
above. -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] current thinking on Amazon EC2?

2012-03-19 Thread Welty, Richard
hybrid solutions so I >could potentially lease a dedicated server and continue to host my web >frontend servers on the cloud. that's good to know, although for the project i'm working on, EC2 is what we have to work with, good parts and bad parts and all. richard

Re: [GENERAL] Indexing MS/Open Office and PDF documents

2012-03-15 Thread Richard Huxton
ntify headings etc. -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Backups

2012-03-15 Thread Richard Harley
Thanks for a quick reply. The server has 6 cores, 6GB ram and top gets to 2.3-2.5 load average when running the dumpall. So I assume we are nowhere near this causing performance issues for users? Thanks Rich On 15/03/12 12:21, Bèrto ëd Sèra wrote: Hi Richard, it's no easy answer. If

[GENERAL] Backups

2012-03-15 Thread Richard Harley
Hello all Very simple question - does pg_dump/dumpall hit the server in terms of database performance? We currently do nightly backups and I want to move to hourly backups but not at the expense of hogging all the resources for 5 mins. Pg_dumpall is currently producing a 1GB file - that's t

Re: [GENERAL] 100% cpu usage on some postmaster processes kill the complete database

2012-03-01 Thread Richard Huxton
s along shortly, try reposting to the performance list. There are people there who are used to machines of this size. -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] 100% cpu usage on some postmaster processes kill the complete database

2012-03-01 Thread Richard Huxton
just installed a script, which prints me out the top and ps axf information for facing out the problem. I will post a snippet of the top here: Combine that with this: SELECT * FROM pg_stat_activity; That will let you line up pids from top with active queries. -- Richard Huxton Archonet

Re: [GENERAL] problem trying to create a temp table

2012-02-24 Thread Richard Huxton
On 24/02/12 13:37, Andrew Gould wrote: On Fri, Feb 24, 2012 at 7:32 AM, Richard Huxton wrote: Temp tables get their own schema, and each session (connection) gets its own temp schema. So - don't qualify them by schema. Is that to avoid naming conflicts between simultaneous users? Y

Re: [GENERAL] problem trying to create a temp table

2012-02-24 Thread Richard Huxton
OP TABLE table1; DROP TABLE => SELECT * FROM table1; id 1 2 3 (3 rows) Try "SELECT * FROM pg_namespace" to see the various temp schemas being created. -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes

Re: [GENERAL] problem trying to create a temp table

2012-02-24 Thread Richard Huxton
annot create temporary relation in non-temporary schema Temp tables get their own schema, and each session (connection) gets its own temp schema. So - don't qualify them by schema. -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make

Re: [GENERAL] Problemas com client_encoding ?

2012-02-24 Thread Richard Huxton
r some such). http://archives.postgresql.org/pgsql-admin/2011-09/msg00088.php http://archives.postgresql.org/pgsql-admin/2011-09/msg00101.php Do you have version 9.0 installed too? -- Richard Huxton Archonet Ltd

Re: [GENERAL] Postgresql as main database

2012-02-23 Thread Richard Huxton
8.4 - you will get better performance, new features and it will be supported for longer. -- Richard Huxton Archonet Ltd

Re: [GENERAL] windows 2008 scheduled task problem

2012-02-06 Thread Richard Sickler
Ralph, It may help to break this into a couple of parts Make a folder called c:\cronjobs in c:\cronjobs create a bat file that contains the commands you want executed. Maybe something like set logfile=shp2pgsql.log echo Running shp2pgsql > %logfile% date /t >> %logfile% time /t >> %logfile% shp2

Re: [GENERAL] function return update count

2012-01-06 Thread Richard Huxton
- the cast to int is because count() returns bigint. -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

  1   2   3   4   5   6   7   8   9   10   >