Re: [GENERAL] RemoveIPC problem

2017-08-31 Thread scott ribe
e data > consistency. -- Scott Ribe scott_r...@elevated-dev.com (303) 722-0567 -- 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] JOIN and difference between timestamps

2008-03-07 Thread Scott Ribe
nutes. So what you want is: timestampcol1 - timestampcol2 <= '1 hour' and timestampcol2 - timestampcol1 <= '1 hour' Because intervals can be negative... BTW, you can figure out some of these things in psql, by trying things like "select '2008-03-06 08:00:00':tim

Re: [GENERAL] In the belly of the beast (MySQLCon)

2008-04-20 Thread Scott Ribe
ial subscription. My data set is quite a bit smaller, and I've gotten into the habit of turning off fsync during the initial post-upgrade load, to shorten my downtime. -- Scott Ribe [EMAIL PROTECTED] http://www.killerbytes.com/ (303) 722-0567 voice -- Sent via pgsql-general mailin

Re: [GENERAL] clustering without locking

2008-05-02 Thread Scott Ribe
*contiguous* hole in the middle of the table would matter as much for queries, because most rows would still be close to each other--most queries would pull from one side or other of the hole, and even for those that didn't, it would be one seek across the hole, not seeking all over

Re: [GENERAL] clustering without locking

2008-05-02 Thread Scott Ribe
> Wouldn't new / updated tuples just get put in the hole, fairly rapidly > un-clustering the table again? How is that different than putting them in newly-allocated space at the end of the table? -- Scott Ribe [EMAIL PROTECTED] http://www.killerbytes.com/ (303) 722-0567 voice -

Re: [GENERAL] clustering without locking

2008-05-02 Thread Scott Ribe
> Huh? A plain vacuum wouldn't fix that; a vacuum full would close up the > hole, but (a) it'd not preserve the row ordering, and (b) it'd take an > exclusive lock. OK. -- Scott Ribe [EMAIL PROTECTED] http://www.killerbytes.com/ (303) 722-0567 voice -- Sent via pg

[GENERAL] Race condition with notifications

2008-05-04 Thread Scott Ribe
ults in both changes being seen by the query.) -- Scott Ribe [EMAIL PROTECTED] http://www.killerbytes.com/ (303) 722-0567 voice -- 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] Race condition with notifications

2008-05-04 Thread Scott Ribe
tes, or a heavier load, and I might have a bigger problem.) Four years of using PostegreSQL, and finally there's a bug that actually affects the correct operation of my software. Not too shabby ;-) -- Scott Ribe [EMAIL PROTECTED] http://www.killerbytes.com/ (303) 722-0567 voice -- Se

Re: [GENERAL] best er modeling tool for postgreSQL

2008-05-23 Thread Scott Ribe
I don't remember if MagicDraw supports multiple schema or not, but back when I was looking at CASE-type tools it was one the nicer ones that I found that would run on platforms other than Windows. -- Scott Ribe [EMAIL PROTECTED] http://www.killerbytes.com/ (303) 722-0567 voice -- Sen

Re: [GENERAL] Schema migration tools?

2008-05-23 Thread Scott Ribe
It's not open source; it's expensive; but the products from Embarcadero work pretty well. -- Scott Ribe [EMAIL PROTECTED] http://www.killerbytes.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscrip

[GENERAL] Clustering with minimal locking

2008-05-28 Thread Scott Ribe
f course schema changes would be locked out during the cluster, even if it takes days ;-) -- Scott Ribe [EMAIL PROTECTED] http://www.killerbytes.com/ (303) 722-0567 voice -- 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] Clustering with minimal locking

2008-06-17 Thread Scott Ribe
Agreed that would be more desirable; thought it might be more difficult. -- Scott Ribe [EMAIL PROTECTED] http://www.killerbytes.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/ma

Re: [GENERAL] How to store text files in the postgresql?

2009-06-12 Thread Scott Ribe
If I had an admin roaming through my document server deleting document files out from under my database, that's a problem I would solve very quickly--with a completely non-technical "solution". After all, what's to prevent such a person from deleting pgsql data files??? --

Re: [GENERAL] How to store text files in the postgresql?

2009-06-12 Thread Scott Ribe
inds of sense. On the contrary, I think backup is one of the primary reasons to move files *out* of the database. Decent incremental backup software greatly reduces the I/O & time needed for backup of files as compared to a pg dump. (Of course this assumes the managed files are long-lived

[GENERAL] Question re 2 aggregates from 1 query

2009-06-18 Thread Scott Ribe
g to selecting from a select: select dt, count(1), numpgs from ( select docs.imported_when::date as dt, count(1) as numpgs from docs, pages where docs.id = pages.doc_id group by docs.imported_when::date, docs.id ) as t1 group by dt order by dt; -- Scott Ribe scott_r...@killer

Re: [GENERAL] Question re 2 aggregates from 1 query

2009-06-18 Thread Scott Ribe
Yes, obviously that should have been sum(numpgs) in the select list of the last query... Question remains the same... -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make

Re: [GENERAL] Question re 2 aggregates from 1 query

2009-06-18 Thread Scott Ribe
> If I understand you correctly..? Yes, exactly! I think I was suffering from a flashback to a very old DBMS that didn't support that use of distinct... -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing lis

Re: [GENERAL] Copying only incremental records to another DB..

2009-06-30 Thread Scott Ribe
Shut down the postmasters and rsync. (Assuming same architecture & build options...) -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription:

Re: [GENERAL] Copying only incremental records to another DB..

2009-07-23 Thread Scott Ribe
> You mean rsync the "data" folder, or the entire PG folder? I meant the data folder. > Will this be a challenge? Yes, if you're using different major PG releases, then the data files are not binary compatible. -- Scott Ribe scott_r...@killerbytes.com http://www.kille

Re: [GENERAL] Copying only incremental records to another DB..

2009-07-26 Thread Scott Ribe
ou don't want to copy some config files, or you have some table spaces off on another volume, you may need to do something a little more involved. -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-gener

Re: [GENERAL] libpq

2009-08-09 Thread Scott Ribe
as "function(args)". Do you really have some setup where you have function pointer variables and your compiler requires that outdated syntax? Or is this more basic C confusion? -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice -- Sent v

Re: [GENERAL] libpq

2009-08-10 Thread Scott Ribe
> I didn't remember seeing anywhere in the docs that you were supposed to check > for pqr==NULL, I wish they would document that in PQexec. It's right there in the first sentence of the discussion. > There is no mention of return values! ??? -- Scott Ribe scott_r...@k

Re: [GENERAL] Generating random unique alphanumeric IDs

2009-08-16 Thread Scott Ribe
mely unlikely to get to that point without having generated any duplicates. -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgre

Re: [GENERAL] invalid byte sequence for encoding

2009-09-13 Thread Scott Ribe
ull terminator of a C string and including it in the encoded string. -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice -- 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] invalid byte sequence for encoding

2009-09-15 Thread Scott Ribe
Your encoder is incorrect. -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice -- 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 can I make a two arch libpq for snow leopard?

2009-09-20 Thread Scott Ribe
> The only thing that comes to mind is two separate build trees, one 32bit > and the other 64bit and then somehow gluing the two libpqs together... Basically, probably the easiest way to proceed--man lipo to figure out how to combine the libraries. -- Scott Ribe scott_r...@killerbytes.co

Re: [GENERAL] Insert unique fails, still increments ID in a lookup table

2009-09-21 Thread Scott Ribe
> Any thoughts? Yeah, the heat death of the universe will occur before you use up bigint ids. Of course you could do a quick check for uniqueness first, then only enter a begin/exception block for atomicity if the value was unique. -- Scott Ribe scott_r...@killerbytes.com h

[GENERAL] ERROR: column "id" inherits conflicting default values

2009-10-04 Thread Scott Ribe
Table "v2.Document" Column | Type | Modifiers ---++- id| bigint | not null default nextval(('"DbRowIds"'::text)::regclass) ... Should I really have to re-specify the default in this c

Re: [GENERAL] ERROR: column "id" inherits conflicting default values

2009-10-04 Thread Scott Ribe
create table "PatientDocument" () inherits ("PatientRelated", "Document"); -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice -- 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] numeric field overflow

2009-10-06 Thread Scott Ribe
left of the decimal point. -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

[GENERAL] Integer range?

2009-10-09 Thread Scott Ribe
? (8.3.7, OS X 10.5.8, 32-bit build) -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice -- 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] Integer range?

2009-10-10 Thread Scott Ribe
> Neither, really. The cast shortcut you're using is binding to the > digits more tightly than the minus prefix. I see, thanks. -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgre

[GENERAL] Catalog help

2009-10-18 Thread Scott Ribe
he way. I don't actually have multiple tables with the same name (nor even multiple databases in the cluster), I'm just trying to understand how to generalize my query to correctly work in all cases. -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 v

Re: [GENERAL] Catalog help

2009-10-18 Thread Scott Ribe
s, and got confused thinking "yeah well, what about all the owning databases". -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice -- 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] Mac OS Roman import?

2009-10-19 Thread Scott Ribe
Use iconv; it's a command shipped with OS X, man iconv for more info. -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgre

Re: [GENERAL] Mac OS Roman import?

2009-10-19 Thread Scott Ribe
> Maybe iconv knows about it? On OS X it definitely does; on other platforms it may not since supported encodings are platform-dependent. -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-gene

[GENERAL] how to tell master from replica

2013-09-25 Thread Scott Ribe
check for the presence of wal sender process vs wal receiver process? Or is there a query that could executed against sys tables to find current running config of the local postmaster? -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via

Re: [GENERAL] how to tell master from replica

2013-09-25 Thread Scott Ribe
On Sep 25, 2013, at 6:13 PM, Michael Paquier wrote: > "SELECT pg_is_in_recovery();" can be used to make the difference > between a master and a slave. Exactly what I need; thanks. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice

[GENERAL] like & optimization

2013-10-12 Thread Scott Ribe
= '2013-04-30 06:00:00-05'::timestamp with time zone)) Filter: ((colb)::text ~~ '%foobar%'::text) Rows Removed by Filter: 261725 Total runtime: 230.689 ms -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsq

Re: [GENERAL] like & optimization

2013-10-12 Thread Scott Ribe
n, but it most certainly is possible.) Besides, you've given me the hint, if I really care about this I can try a covering index ;-) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- 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] like & optimization

2013-10-19 Thread Scott Ribe
Thank you all. Both the double index & pg_trgm would be good solutions. On Oct 14, 2013, at 3:40 PM, Merlin Moncure wrote: > On Sat, Oct 12, 2013 at 4:28 PM, Torsten Förtsch > wrote: >> On 12/10/13 20:08, Scott Ribe wrote: >>> select * from test where tz >= star

[GENERAL] what checksum algo?

2013-11-13 Thread Scott Ribe
What checksum algorithm wound up in 9.3? (I found Simon Riggs 12/2011 submittal using Fletcher's, Michael Paquier's 7/2013 post stating CRC32 reduced to 16, and another post online claiming that it was changed from CRC before release but not stating what it was changed to.) --

[GENERAL] fastest dump/restore

2014-01-26 Thread Scott Ribe
comprehensive source of current advice. (I want to do a prophylactic dump/restore, after a middle-of-the-day OS crash caused by a third-party in-kernel driver--which I am going to remove now.) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice --

Re: [GENERAL] SSDs with Postgresql?

2011-04-21 Thread Scott Ribe
On Apr 21, 2011, at 9:44 AM, Florian Weimer wrote: > But log files are recycled, so looking at the directory alone does not > seem particularly helpful. You have to look at the file timestamps. From that you can get an idea of traffic. -- Scott Ribe scott_r...@elevated-dev.co

Re: [GENERAL] SSDs with Postgresql?

2011-04-28 Thread Scott Ribe
y a very healthy skepticism factor. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- 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] SSDs with Postgresql?

2011-04-28 Thread Scott Ribe
study of large numbers of disks in data centers, and the result was that actual lifespans were so far from MBTF specs, that the remaining disks would have to just about outlive the universe in order to get the mean near the same order of magnitude as the published numbers. -- Scott Ribe scott_

Re: [GENERAL] pervasiveness of surrogate (also called synthetic) keys

2011-04-28 Thread Scott Ribe
n't really exist. What's usually proposed as a natural key, will upon further investigation, either not be guaranteed unique, or not guaranteed to be unchanging, or both. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-g

Re: [GENERAL] pervasiveness of surrogate (also called synthetic) keys

2011-05-02 Thread Scott Ribe
The scheme, which had been stable for 20+ years, had to change when a new variant of product was introduced which cut across family & product. I don't remember the details. I do remember that I hadn't used the supposedly stable product ids as PKs ;-) -- Scott Ribe scott_r

[GENERAL] SSDD reliability

2011-05-04 Thread Scott Ribe
Yeah, on that subject, anybody else see this: <> Absolutely pathetic. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription

Re: [GENERAL] SSDD reliability

2011-05-04 Thread Scott Ribe
On May 4, 2011, at 10:50 AM, Greg Smith wrote: > Your link didn't show up on this. Sigh... Step 2: paste link in ;-) <http://www.codinghorror.com/blog/2011/05/the-hot-crazy-solid-state-drive-scale.html> -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/

Re: [GENERAL] SSDD reliability

2011-05-04 Thread Scott Ribe
many others I've read about are not in high-write db workloads, so they're not write wear, they're just crappy electronics failing. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-gener

Re: [GENERAL] SSDD reliability

2011-05-05 Thread Scott Ribe
mples--more if we've been around for a while. Original design cutting corners on power regulation; final manufacturers cutting corners on specs; component manufacturers cutting corners on specs or selling outright counterfeit parts... -- Scott Ribe scott_r...@elevated-dev.com http://www.ele

[GENERAL] performance of count(*)

2011-05-06 Thread Scott Ribe
ated total rows in a table, nothing useful for this. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- 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] performance of count(*)

2011-05-06 Thread Scott Ribe
; that is slow. Generally, the > system table is good enough for that, I find. (Someone: "How long > will this take?" Me: "There are about 400 million rows to go > through." Even if you're off by 50 million at that point, it doesn't > matter.) FYI, I ha

Re: [GENERAL] performance of count(*)

2011-05-06 Thread Scott Ribe
g) subset of the data at the same time, but now I think I'm really set! -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

[GENERAL] recommendations on storage, fairly low-end

2011-06-04 Thread Scott Ribe
to ask regarding this and/or what brands/buzzwords to look for. Any and all advice and links appreciated ;-) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to

Re: [GENERAL] No implicit index created when adding primary key with ALTER TABLE

2011-06-16 Thread Scott Ribe
s. (But then again, db tools in general aren't really masters of the obvious when it comes to user interface...) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make ch

[GENERAL] 2 questions re RAID

2011-06-17 Thread Scott Ribe
RAID 5 is not generally recommended for good db performance. But if the database is not huge (10-20GB), and the server has enough RAM to keep most all of the db cached, and the RAID uses (battery-backed) write-back cache, is it sill really an issue? -- Scott Ribe scott_r...@elevated-dev.com http:

Re: [GENERAL] 2 questions re RAID

2011-06-17 Thread Scott Ribe
use RAID 5; it's RAID 6 that I'm considering... -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- 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] 2 questions re RAID

2011-06-17 Thread Scott Ribe
her digging, I discover that ATTO ExpressSAS is an option for me. Anyone got comments on these? (I notice that they use ultracapacitor/flash to protect cache...) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list

Re: [GENERAL] 2 questions re RAID

2011-06-18 Thread Scott Ribe
robably go for safety. (FYI this is not my only margin for failure. Two geographically-distributed WAL-streaming replicas with low-end RAID1 are the next line of defense. Followed by, god forbid I should ever have to use them, daily dumps.) Thanks for all the info. I guess about all I have rema

Re: [GENERAL] Another RAID controller recommendation question

2011-06-19 Thread Scott Ribe
On Jun 19, 2011, at 12:33 AM, David Boreham wrote: > One thing I don't understand is why is the BBU option never available with > "integrated" LSI controllers? Because "integrated" means it's on the mobo to save costs. -- Scott Ribe scott_r...@elevated

Re: [GENERAL] insert a SYSTIMESTAMP value in postgres

2011-06-20 Thread Scott Ribe
On Jun 20, 2011, at 1:32 PM, Leon Match wrote: > How can I insert a dynamic timestamp value in postgress, please? < http://www.postgresql.org/docs/9.0/static/functions-datetime.html> -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice --

Re: [GENERAL] 2 questions re RAID

2011-06-21 Thread Scott Ribe
r is, I think, not useful. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- 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] rationale behind quotes for camel case?

2011-06-28 Thread Scott Ribe
rds >> with subjective meaning. >> >> I'd like in ask the pgsql community for suggestions on how they name tables. Well, when I avoid camel case, then I use _ to separate words in a table name, and __ to separate table names. Likewise with column names for foreign keys

Re: [GENERAL] Real type with zero

2011-06-29 Thread Scott Ribe
correct calculations... -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- 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] Error Importing CSV File

2011-07-15 Thread Scott Ribe
ing on the server so you can see what the actual CREATE TABLE > command sent to the server looks like. That's it. Rake is part of Ruby on Rails, and RoR wants every table to start with an integer synthetic key column. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com

Re: [GENERAL] Error Importing CSV File

2011-07-15 Thread Scott Ribe
re going to get on a Postgres mailing list ;-) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- 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] Programmer ( Postgres), Milwaukee - offsite-Remote - onsite

2011-07-19 Thread Scott Ribe
On Jul 19, 2011, at 9:27 AM, Martin Gainty wrote: > I do'nt believe Rao would discriminate against anyone that speaks the Kings > English. So, what makes you think they won't hire us Americans? -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303

[GENERAL] announcements regarding tools

2011-07-19 Thread Scott Ribe
ould include information about supported platforms. Any announcement submitted without that info should be rejected, and the vendor instructed to add it before re-submission. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-gener

Re: [GENERAL] interesting finding on order by behaviour

2011-07-22 Thread Scott Ribe
amp; ABc are all equal, so any order for those 3 would be correct... -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- 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] streaming replication does not work across datacenter with 20ms latency?

2011-07-23 Thread Scott Ribe
t and the other is 64-bit, or one machine is big-endian and the other is little-endian... -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscript

Re: [GENERAL] streaming replication does not work across datacenter with 20ms latency?

2011-07-23 Thread Scott Ribe
oblems. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- 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] FREE hosting platforms with PostgreSQL, Java SDK, Tomcat, ecc.?

2011-08-06 Thread Scott Ribe
> After open source for the software, we will wait for open resource for the > hardware (this is just a first example http://www.arduino.cc/, even if of > different nature). While the plans may be free, the actual hardware sure as hell won't be. -- Scott Ribe scott_r...@elevate

Re: [GENERAL] INSERTing rows from external file

2011-08-16 Thread Scott Ribe
1-21','Potassium','0.94988','mg/L','','','','... > ^ > The column is NULLable and if there's no value a NULL should be entered. An empty string is not null. -- Scott Ribe scott_r...@elevated-dev.com http://www

Re: [GENERAL] Using Postgresql as application server

2011-08-17 Thread Scott Ribe
On Aug 17, 2011, at 12:53 AM, Sim Zacks wrote: > In your scenario, if you send the NOTIFY message and then you roll back the > transaction, the helper application will still send the email. How? NOTIFY doesn't get delivered until the transaction commits. -- Scott Ribe scott_r.

Re: [GENERAL] Using Postgresql as application server

2011-08-17 Thread Scott Ribe
se may be something else, but either way I doubt it's a problem with NOTIFY/LISTEN. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription:

Re: [GENERAL] Suspicious Bill

2011-08-18 Thread Scott Ribe
Mods: FYI, this is not a one-off thing. I've seen this email on 4 other lists so far this morning. So some turd is spamming every list he can subscribe to. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing

Re: [GENERAL] duplicate key violates unique on a nextval() field

2011-08-30 Thread Scott Ribe
succeed. That DDL is also kind of nasty... Why the big effort to set the sequence to 1 immediately after creating the table? Why the creation of a unique index when the "primary key" attribute already causes a unique index to be created on the id? Ugh. -- Scott Ribe scott_r...@el

Re: [GENERAL] IDLE queries taking up space

2011-08-30 Thread Scott Ribe
words, this is a bug in your clients, and no, you really would not want PG automatically terminating connections mid-transaction just because it thought the client was taking too long to get to the next step. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voi

Re: [GENERAL] COPY failure on directory I own

2011-08-30 Thread Scott Ribe
re are you? You are issuing a command to the server to create a file at that path on the server. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] SELECT Query on DB table preventing inserts

2011-08-30 Thread Scott Ribe
On Aug 30, 2011, at 8:22 AM, Dan Scott wrote: > Perhaps because I'm locking the table with my query? Do you mean you're explicitly locking the table? If so, why??? -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via

Re: [GENERAL] out of memory - no sort

2011-08-31 Thread Scott Ribe
On Aug 31, 2011, at 9:51 AM, Don wrote: > Both machines are 64bit. Are all your server & client builds 64-bit? 32M rows, unless the rows are <50 bytes each, you'll never be able to manipulate that selection in memory with a 32-bit app. -- Scott Ribe scott_r...@elevat

Re: [GENERAL] how do I disable automatic start on mac os x?

2011-08-31 Thread Scott Ribe
k of enabled/disabled elsewhere, so you really need to use launchctl instead of editing the plist. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subs

Re: [GENERAL] out of memory - no sort

2011-08-31 Thread Scott Ribe
, so you can't even use all of what's left. So no, you can't manipulate 32M of anything except plain numbers or very simple structs in RAM in a 32-bit process. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-gener

Re: [GENERAL] Variable column name

2011-09-01 Thread Scott Ribe
On Sep 1, 2011, at 9:04 AM, Bob Pawley wrote: > Would it be possible for you to point me to an example?? The EXECUTE command is what you want. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-gene

Re: [GENERAL] Variable column name

2011-09-02 Thread Scott Ribe
to produce the corrected query. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- 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] integer instead of 'double precision'?

2011-09-09 Thread Scott Ribe
oat8(3) 1.0/3 1/3.0 1::float8 / 3 ... -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- 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 get Transaction Timestamp ?

2011-09-17 Thread Scott Ribe
On Sep 17, 2011, at 1:09 AM, Raghavendra wrote: > However, I was curious to know any thing stored at Page-Level(like XID) to > help me in getting the transaction timestamp. No, there is no such thing. If you want timestamps, you have to record them yourself. -- Scott Ribe scott_r...@el

Re: [GENERAL] (another ;-)) PostgreSQL-derived project ...

2011-09-25 Thread Scott Ribe
ers as strings??? -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- 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 can i get record by data block not by sql?

2011-10-03 Thread Scott Ribe
n that path, you should seriously consider whether you really need that, rather than a higher-level solution. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes t

Re: [GENERAL] Inconsistency: varchar is equivalent to varchar(255) and also not equivalent?

2011-10-03 Thread Scott Ribe
On Oct 3, 2011, at 10:12 AM, Boszormenyi Zoltan wrote: > But I would like to know why isn't the type conversion from unlimited varchar > to varchar(255) invoked in the pl/pgsql function? What if t1 || t2 is longer than 255? You need to explicitly specify. -- Scott Ribe scott_r.

Re: [GENERAL] Installation woes via Macports on Mac OS X 10.7

2011-10-07 Thread Scott Ribe
#x27;re on a recent version of OS X, you do this in /etc/sysctl.conf. Also the /usr/bin/postgres that you seen running is not where macports puts it and not the one you tried to start a couple of lines earlier, so you have something already installed on your system that is running a postgre

Re: [GENERAL] Installation woes via Macports on Mac OS X 10.7

2011-10-07 Thread Scott Ribe
any actual pg instances running there. What you have is some kind of wrapper that tries to launch pg. That wrapper is failing to launch, and either looping, or quitting and being relaunched--depending on how it is set up, which I have no idea about. -- Scott Ribe scott_r...@elevated-dev.com h

Re: [GENERAL] Getting PostGIS 1.5.3 working with Postgresql90 (Macports)

2011-10-07 Thread Scott Ribe
e the normal UNIX way: ./configure, make, sudo make install... That's the way I do it, and it works fine on OS X. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@postgresql.or

Re: [GENERAL] Getting PostGIS 1.5.3 working with Postgresql90 (Macports)

2011-10-07 Thread Scott Ribe
will usually pretty explicitly tell you why the server is quitting on launch. So you might just need to read those wrapper scripts to see how exactly they invoke postgres. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-gene

Re: [GENERAL] 7

2011-10-11 Thread Scott Ribe
On Oct 11, 2011, at 8:18 PM, The Great SunWuKung wrote: > This shop is number 1 at my shop-list! So why the fuck is your spam title "7"??? -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (

[GENERAL] evaluating subselect for each row

2012-06-03 Thread Scott Ribe
As part of anonymizing some data, I want to do something like: update foo set bar = (select bar2 from fakes order by random() limit 1); But of course, that sets them all to the same value, whereas I want them all different. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com

[GENERAL] ARD update warning (Mac stuff)

2012-06-30 Thread Scott Ribe
If you install the latest ARD update (which does not require a reboot), it apparently does something similar to: sudo killall postmaster Oops. Thanks, Apple. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing

[GENERAL] options for ad-hoc web-based data queries

2012-08-30 Thread Scott Ribe
already know about lots & lots of options ;-) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- 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   >