Re: [GENERAL] Client SQL Tool

2011-11-14 Thread Brandon Phelps
On 11/14/2011 05:42 PM, John R Pierce wrote: On 11/14/11 2:32 PM, Josh Kupershmidt wrote: How does this client compare to pgAdmin (as a graphical client) or psql (as a client in general)? its a MS Windows only program using the .NET framework, and it just executes manually entered SQL commands

Re: [GENERAL] Function Question - Inserting into a table with foreign constraints

2011-11-05 Thread Brandon Phelps
On 11/5/2011 10:35 AM, Raymond O'Donnell wrote: On 05/11/2011 04:34, Brandon Phelps wrote: Hello all, Could someone give me an example as to how I would accomplish something like this with a function?: 3 tables: tableA: id (serial), name (varchar), description (varchar), subcat_id (in

[GENERAL] Function Question - Inserting into a table with foreign constraints

2011-11-05 Thread Brandon Phelps
subcat_names as long as they belong to different categories from tableC). Any help would be greatly appreciated. Thanks, Brandon -- 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] Replication Across Two Servers?

2011-11-04 Thread Brandon Phelps
be able to install the postgresql-9.1 package. If you would prefer to use Aptitude to install your packages, then do a search for ^postgres, then when you find the postgresql-8.4 package just hit the V key to view other available versions, 9.1 should be one of the additional versions available.

Re: [GENERAL] Replication Across Two Servers?

2011-11-04 Thread Brandon Phelps
Carlos, Streaming replication was introduced in PostgreSQL 9.0 and should do what you want. http://wiki.postgresql.org/wiki/Streaming_Replication On 11/04/2011 11:47 AM, Carlos Mennens wrote: We had a 8.4.8 production server of PostgreSQL on a Dell blade server which ran for 3 years fine. T

Re: [GENERAL] Error On Slony Replication

2011-11-02 Thread Brandon Phelps
Why do you have host= without a hostname? Where is your closing "? Brandon Phelps Global Linking Solutions O: (704) 973-6855 C: (704) 222-2103 E: bphe...@gls.com On 11/02/2011 02:34 PM, Prashant Bharucha wrote: Hello All For replication ,Created cluster and after I run Slon command ge

Re: [GENERAL] Problem installing PostgreSQL 9.0 via Macports on OS X Server 10.6

2011-10-23 Thread Brandon Phelps
By default the postgres user's group is 'daemon' on my Mac. This is probably true for you as well. Change occurrences of 'postgres:postgres' in your chown commands to 'postgres:daemon'. On 10/23/2011 8:16 PM, René Fournier wrote: […] ---> Installing postgresql90-server @9.0

[GENERAL] Monitoring Replication

2011-10-12 Thread Brandon Phelps
mind. Any advice on these issues or other tips on monitoring the replication would be greatly appreciated. Thanks, Brandon -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

[GENERAL] Hot standby won't start

2011-10-10 Thread Brandon Phelps
f contains my replication user. I have also verified that the password I am supplying in my recovery.conf is correct. Any ideas why I would get this message? I know that wal_level = hot_standby on the master and the slave. Thanks, Brandon -- Sent via pgsql-general mailing list (pgsql-genera

Re: [GENERAL] Connection Pooling

2011-10-07 Thread Brandon Phelps
o my postgresql database? Sorry, not quite understanding. On 10/07/2011 02:05 PM, Guillaume Lelarge wrote: On Fri, 2011-10-07 at 13:51 -0400, Brandon Phelps wrote: So we decided to go with pgpool-II. The documentation is a little lacking for pgpool-II so I have one question: How are connec

Re: [GENERAL] Connection Pooling

2011-10-07 Thread Brandon Phelps
, based on the num_init_children * max_pool... But since 32 * 4 = 128, what will happen on the 129th connection? Will a new child get created, allowing for 4 more connections (1 * max_pool), or will that connection be denied? Thanks in advance, Brandon On 10/06/2011 04:07 PM, Adam Cornett wrote

[GENERAL] Connection Pooling

2011-10-06 Thread Brandon Phelps
pg_pool website however was not very impressed with the documentation provided. Is pg_pool going to be our best solution or is there something better? Any advice would be appreciated. Thanks, Brandon -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] UNION question

2009-07-10 Thread Brandon Metcalf
t == t...@sss.pgh.pa.us writes: t> Brandon Metcalf writes: t> > I tried moving the last group of WHERE, GROUP BY, and ORDER BY before t> > the UNION with the query it belongs to, but that results in a t> > different syntax error. t> I think that's probably what

Re: [GENERAL] UNION question

2009-07-10 Thread Brandon Metcalf
M == matthew.hart...@krcc.on.ca writes: M> > > From: pgsql-general-ow...@postgresql.org [mailto:pgsql-general- M> > > ow...@postgresql.org] On Behalf Of Brandon Metcalf M> > > Sent: Friday, July 10, 2009 12:16 PM M> > M> > Change it to this: M>

[GENERAL] UNION question

2009-07-10 Thread Brandon Metcalf
_type_id=1 GROUP BY t.name,j.workorder ORDER BY avgtime I tried moving the last group of WHERE, GROUP BY, and ORDER BY before the UNION with the query it belongs to, but that results in a different syntax error. I'm basically looking to concatenate these two results. -- Brando

Re: [GENERAL] simulate multiple primary keysx

2009-07-02 Thread Brandon Metcalf
y or may not be what you want. Sure. I realize that a primary key can be made up of multiple columns, but a unique constraint across the columns I need as suggested by Matthew is what I was looking for. Thanks. -- Brandon -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To

Re: [GENERAL] simulate multiple primary keys

2009-07-02 Thread Brandon Metcalf
M == matthew.hart...@krcc.on.ca writes: M> Just create a unique constraint on all of the columns. Ah. Didn't realize you could specify more than one column as part of a unique constraint. Thanks. -- Brandon -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org)

[GENERAL] simulate multiple primary keys

2009-07-02 Thread Brandon Metcalf
he current primary key and make a primary key out of the columns that I want to ensure remain unique from row to row? Thanks. -- Brandon -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

[GENERAL] data modeling question

2009-06-26 Thread Brandon Metcalf
PRIMARY KEY (gnumber, number), FOREIGN KEY (gnumber) REFERENCES workorder(number) ON DELETE RESTRICT ON UPDATE CASCADE, FOREIGN KEY (number) REFERENCES workorder(number) ON DELETE RESTRICT ON UPDATE CASCADE ); Any better way of doing this? -

Re: [GENERAL] listing relations

2009-06-11 Thread Brandon Metcalf
t == t...@sss.pgh.pa.us writes: t> Brandon Metcalf writes: t> > Is there a "\" command to show all tables in the current search path? t> Even ones that are masked by earlier search_path entries? No. Correct. Just wondering if there was something undocumented :) t

Re: [GENERAL] listing relations

2009-06-11 Thread Brandon Metcalf
r == r...@iol.ie writes: r> On 11/06/2009 21:39, Brandon Metcalf wrote: r> > Is there a "\" command to show all tables in the current search path? r> \dt r> \? is your friend Nope. You didn't read the entire thread. If you do, you'll see why \dt i

Re: [GENERAL] listing relations

2009-06-11 Thread Brandon Metcalf
t == t...@sss.pgh.pa.us writes: t> Brandon Metcalf writes: t> > Something interesting I've noticed. If I have a table by the same t> > name in two different schemas, say public and foo, and my search path t> > is set to 'public, foo', \d without

[GENERAL] listing relations

2009-06-11 Thread Brandon Metcalf
why \d doesn't generate SQL to list both. -- Brandon -- 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] limit table to one row

2009-06-09 Thread Brandon Metcalf
t; The approach with vertical structure, is used when people want to g> store some particular state, say - kind of like structure in C, but in g> SQL, and they create table for it with all the columns, etc, and have g> to limit it to one row. g> On the other hand, you could also use

Re: [GENERAL] limit table to one row

2009-06-09 Thread Brandon Metcalf
g == gryz...@gmail.com writes: g> 2009/6/9 Brandon Metcalf : g> > I'm not sure I follow how this solves the problem. g> Well, surely if you just need one row, you need single value per key. g> And that's the, imo , better solution to that problem, than limiting

Re: [GENERAL] limit table to one row

2009-06-09 Thread Brandon Metcalf
committed by people.. I'm not sure I follow how this solves the problem. -- Brandon -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

[GENERAL] maintaining referential integrity

2009-06-05 Thread Brandon Metcalf
know this. Another idea I have is to allow generic.workorder_id be a comma separated list of integers and have a stored procedure verify each one, but this gets a little messy trying to duplicate the "ON DELETE" functionality that a foreign key provides. Thanks. -- Brandon -- Sent via p

Re: [GENERAL] limit table to one row

2009-06-05 Thread Brandon Metcalf
p == pgmaili...@codecraft.se writes: p> On 4 jun 2009, at 22.17, Richard Broersma wrote: p> > On Thu, Jun 4, 2009 at 1:13 PM, Brandon Metcalf p> > wrote: p> >> Is there a way when creating a table to limit it to one row? That p> >> is, p> >>

Re: [GENERAL] limit table to one row

2009-06-04 Thread Brandon Metcalf
r == richard.broer...@gmail.com writes: r> On Thu, Jun 4, 2009 at 1:23 PM, Brandon Metcalf r> wrote: r> > Got it. ?Currently, it doesn't have a column for an ID, but I can add r> > one if this is the only way. r> Actually any column with a unique index on it

Re: [GENERAL] limit table to one row

2009-06-04 Thread Brandon Metcalf
r == richard.broer...@gmail.com writes: r> On Thu, Jun 4, 2009 at 1:13 PM, Brandon Metcalf r> wrote: r> > Is there a way when creating a table to limit it to one row? ?That is, r> > without using a stored procedure? r> Sure just add a check constraint along the line

[GENERAL] limit table to one row

2009-06-04 Thread Brandon Metcalf
Is there a way when creating a table to limit it to one row? That is, without using a stored procedure? I searched the documentation, but didn't find anything. -- Brandon -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription:

Re: [GENERAL] timestamp no fractional seconds

2009-06-02 Thread Brandon Metcalf
p == pavel.steh...@gmail.com writes: p> Hello p> use timestamp(0) p> timestamp[0] means array of timestamps Of course. I was reading the documentation wrong and taking the [] as literal instead of it meaning an optional parameter as it always does. Thanks. -- Brandon --

Re: [GENERAL] timestamp no fractional seconds

2009-06-02 Thread Brandon Metcalf
ithout time zone to timestamp without time zone[] LINE 1: select clockin::timestamp[0] from timeclock; -- Brandon -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

[GENERAL] timestamp no fractional seconds

2009-06-02 Thread Brandon Metcalf
ut expression is of type timestamp without time zone LINE 1: insert into timeclock (employee_id,clockin,clockout) values(... ^ HINT: You will need to rewrite or cast the expression. Am I creating the table correctly? If so, how do I insert or update row

[GENERAL] optimize/cleanup SQL

2009-05-29 Thread Brandon Metcalf
columns are of type timestamp. Is there a faster way to achieve this? If not faster, a cleaner way that executes as fast? -- Brandon -- 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] quoting values magic

2009-05-26 Thread Brandon Metcalf
t == t...@sss.pgh.pa.us writes: t> Brandon Metcalf writes: t> > d == dal...@solfertje.student.utwente.nl writes: t> > d> On May 26, 2009, at 6:37 PM, Brandon Metcalf wrote: t> > d> > The issue here is that these reduce back to my original problem. For t>

Re: [GENERAL] quoting values magic

2009-05-26 Thread Brandon Metcalf
d == dal...@solfertje.student.utwente.nl writes: d> On May 26, 2009, at 6:37 PM, Brandon Metcalf wrote: d> > j> option 2: case when '$length' = '' ... d> > d> > j> you can use case like this: d> > d> > j>UPDATE foo

Re: [GENERAL] quoting values magic

2009-05-26 Thread Brandon Metcalf
j == ja...@xnet.co.nz writes: j> On 2009-05-22, Brandon Metcalf wrote: j> > Assume I have an UPDATE statement that looks like j> > j> > UPDATE foo j> > SET j> > pattern = '$pattern', j> > shape = '$shape', j&

[GENERAL] quoting values magic

2009-05-22 Thread Brandon Metcalf
x27;t say "length = '$length'" as '' is not valid input for NUMERIC. Hope that makes sense? Thanks. -- Brandon -- 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] question on serial key

2009-05-22 Thread Brandon Metcalf
s == s...@samason.me.uk writes: s> On Fri, May 22, 2009 at 08:41:46AM -0500, Brandon Metcalf wrote: s> > I am looking for criteria on deciding whether or not to use a serial s> > (auto-incrementing) key for rows in a table. s> Wow, that's the second time today

Re: [GENERAL] question on serial key

2009-05-22 Thread Brandon Metcalf
e atomic number would suffice as a unique key since, well, it's unique and not going to change. Right? -- Brandon -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

[GENERAL] question on serial key

2009-05-22 Thread Brandon Metcalf
l index is called for. Is there a succinct set of guidelines that one could go by? Thanks. -- Brandon -- 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] example of really weird caching (or whatever) problem

2008-11-20 Thread Brandon Metcalf
d == [EMAIL PROTECTED] writes: d> Brandon Metcalf wrote: d> > d> > OK. I understand the Perl part of what is going on. What I don't d> > understand is why $table in do_delete() hangs around. It seems this d> > is more a characteristic of how triggers work

Re: [GENERAL] example of really weird caching (or whatever) problem

2008-11-20 Thread Brandon Metcalf
d == [EMAIL PROTECTED] writes: d> Brandon Metcalf wrote: d> > d == [EMAIL PROTECTED] writes: d> > d> > d> Brandon Metcalf wrote: d> > d> > Yep, it seems that's the problem. If I pass in $table and use a d> > d> > lexical variable

Re: [GENERAL] example of really weird caching (or whatever) problem

2008-11-20 Thread Brandon Metcalf
b == [EMAIL PROTECTED] writes: b> d == [EMAIL PROTECTED] writes: b> d> Brandon Metcalf wrote: b> d> > Yep, it seems that's the problem. If I pass in $table and use a b> d> > lexical variable defined inside do_delete(), the problem goes away. b> d>

Re: [GENERAL] example of really weird caching (or whatever) problem

2008-11-20 Thread Brandon Metcalf
d == [EMAIL PROTECTED] writes: d> Brandon Metcalf wrote: d> > Yep, it seems that's the problem. If I pass in $table and use a d> > lexical variable defined inside do_delete(), the problem goes away. d> > So, this is where my understanding of how triggers work

Re: [GENERAL] example of really weird caching (or whatever) problem

2008-11-20 Thread Brandon Metcalf
d == [EMAIL PROTECTED] writes: d> Brandon Metcalf wrote: d> > Here is an example of the caching problem I described yesterday in a d> > post. I have the following tables: d> > And here is the SQL for the function and trigger definitions: d> > d>

[GENERAL] example of really weird caching (or whatever) problem

2008-11-20 Thread Brandon Metcalf
uot;replicaID" = '11'; NOTICE: table name is foo1 at line 6. NOTICE: BWM before call: table name is foo1 at line 8. NOTICE: BWM in call: table name is foo1 at line 15. DELETE 0 Any ideas? -- Brandon -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

[GENERAL] caching issue in function

2008-11-19 Thread Brandon Metcalf
tions of this function. I haven't narrowed this down to a very simple case that demonstrates the problem, but thought I would ask if anyone has seen anything like this before going any further. Thanks. -- Brandon -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To ma

[GENERAL] storing passwords

2008-11-05 Thread Brandon Metcalf
We have a number of automated jobs that connect to our pgsql DB and I'm wondering what others are doing for authentication and securing passwords. It's easy enough to hardcode a password, but is there something specific to pgsql, perhaps, that would be a better solution? Thanks. -

Re: [GENERAL] syncing with a MySQL DB

2008-10-21 Thread Brandon Metcalf
m == [EMAIL PROTECTED] writes: m> On Tue, Oct 21, 2008 at 9:54 AM, Brandon Metcalf <[EMAIL PROTECTED]> wrote: m> > m == [EMAIL PROTECTED] writes: m> > m> > m> On Tue, Oct 21, 2008 at 9:07 AM, Brandon Metcalf <[EMAIL PROTECTED]> wrote: m> > m> &

Re: [GENERAL] syncing with a MySQL DB

2008-10-21 Thread Brandon Metcalf
m == [EMAIL PROTECTED] writes: m> On Tue, Oct 21, 2008 at 9:07 AM, Brandon Metcalf <[EMAIL PROTECTED]> wrote: m> > I have a need to keep a PostgreSQL and MySQL table synchronized. My m> > thoughts are to use triggers on the pgsql side to manipulate the MySQL m> > t

[GENERAL] syncing with a MySQL DB

2008-10-21 Thread Brandon Metcalf
I have a need to keep a PostgreSQL and MySQL table synchronized. My thoughts are to use triggers on the pgsql side to manipulate the MySQL table when data in the pgsql table is changed. I also plan on using PL/Perl to write the functions. Are there better ways to achieve this? -- Brandon

Re: [GENERAL] ER diagram software

2008-07-22 Thread Brandon Metcalf
;m looking at Power*Architect which looks very cool and is Open Source. -- Brandon -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

[GENERAL] ER diagram software

2008-07-22 Thread Brandon Metcalf
I've been able to find a couple of packages, but wondering if there is a good system out there what will create an ER diagram of an existing PostgreSQL DB. Open source would be nice. Thanks. -- Brandon -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make chang

Re: [GENERAL] new RETURNING clause and Pg.pm

2008-06-26 Thread Brandon Metcalf
b == [EMAIL PROTECTED] writes: b> t == [EMAIL PROTECTED] writes: b> t> "Brandon Metcalf" <[EMAIL PROTECTED]> writes: b> t> > I just upgraded to 8.3.3 and taking advantage of the RETURNING clause b> t> > which is really cool. I've found th

Re: [GENERAL] new RETURNING clause and Pg.pm

2008-06-26 Thread Brandon Metcalf
t == [EMAIL PROTECTED] writes: t> "Brandon Metcalf" <[EMAIL PROTECTED]> writes: t> > I just upgraded to 8.3.3 and taking advantage of the RETURNING clause t> > which is really cool. I've found that with Pg.pm $r->resultStatus t> > returns the int

[GENERAL] new RETURNING clause and Pg.pm

2008-06-26 Thread Brandon Metcalf
ES_COMMAND_OK. Is checking for "2" my best option? -- Brandon -- 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] backslashes in 8.3.3

2008-06-24 Thread Brandon Metcalf
t == [EMAIL PROTECTED] writes: t> "Brandon Metcalf" <[EMAIL PROTECTED]> writes: t> > t == [EMAIL PROTECTED] writes: t> > t> Uh, no, that is certainly *not* the behavior you were getting in 8.1; t> > t> 8.1's behavior corresponds to both switch

Re: [GENERAL] backslashes in 8.3.3

2008-06-24 Thread Brandon Metcalf
t == [EMAIL PROTECTED] writes: t> "Brandon Metcalf" <[EMAIL PROTECTED]> writes: t> > t == [EMAIL PROTECTED] writes: t> > t> Well, if your intent is to replicate 8.1's behavior, you should instead t> > t> frob the other switch. t> > I

Re: [GENERAL] backslashes in 8.3.3

2008-06-24 Thread Brandon Metcalf
t == [EMAIL PROTECTED] writes: t> "Brandon Metcalf" <[EMAIL PROTECTED]> writes: t> > t == [EMAIL PROTECTED] writes: t> > t> See standard_conforming_strings and escape_string_warning. t> > Excellent. I had missed the standard_conforming_strings and

Re: [GENERAL] backslashes in 8.3.3

2008-06-24 Thread Brandon Metcalf
t == [EMAIL PROTECTED] writes: t> "Brandon Metcalf" <[EMAIL PROTECTED]> writes: t> > I just upgraded to 8.3.3 from 8.1.5 and noticed that backslashes are t> > handled completely differently now. For example, t> See standard_conforming_strings and escape_s

Re: [GENERAL] backslashes in 8.3.3

2008-06-24 Thread Brandon Metcalf
cifs b> -- b>\f\x08ar b> (1 row) b> Is there anyway to disable this behavior or fix this on the server b> side? I really don't want to have to rework all of our code that b> inserts or queries data. b> It seems this works, b> db=# i

[GENERAL] backslashes in 8.3.3

2008-06-24 Thread Brandon Metcalf
? I really don't want to have to rework all of our code that inserts or queries data. It seems this works, db=# insert into junk (cifs) values (E'foobar\\bar'); INSERT 0 1 -- Brandon -- Sent via pgsql-general mailing list (pgsql-general@postgresql.or

[GENERAL] RETURNING clause in 8.2

2008-06-18 Thread Brandon Metcalf
I see that 8.2 has added a RETURNING clause option to the INSERT command. Is there anyway to achieve the same thing in versions prior to 8.2? Specifically, I need to return a default sequence number generated from an INSERT. Thanks. -- Brandon -- Sent via pgsql-general mailing list (pgsql

Re: [GENERAL] [PERFORM] Partioning tsearch2 a table into chunks and accessing via views

2007-08-25 Thread Brandon Shalton
know bizgres does as i have been running this configuration for the last 3 years and it solved my problem of importing 30-60M records in a day and still being able to query the database for data. -brandon http://www.t3report.com - marketing intelligence for online marketing and affiliate pro

Re: [GENERAL] [PERFORM] Partioning tsearch2 a table into chunks and accessing via views

2007-08-24 Thread Brandon Shalton
u can do it by the day it was checked in, or maybe you have some other way of logically grouping, but the parent/child table structure really helped to solve my problem of adding in millions of records each day. The closest thing in mysql is using merge tables, which is not really p

Re: [GENERAL] Uhm, so, yeah, speaking of /.

2007-05-30 Thread Brandon Aiken
Google. And, yes, Google use a modified MySQL for its pigeons. -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua D. Drake Sent: Wednesday, May 30, 2007 2:41 PM To: Jeff Davis Cc: Scott Ribe; PostgreSQL general

Re: [GENERAL] Lifecycle of PostgreSQL releases

2007-03-21 Thread Brandon Aiken
orious for the latter.) If "bug fix" is 100% handled by support contract, and "new feature" is 100% not useful, what is my impetus? For a direct example, why should a business upgrade their desktops from Windows XP to Windows Vista before 2011 if *none* of the new features

Re: [GENERAL] PgSql on Vista?

2007-03-16 Thread Brandon Aiken
It's about $20,000 cheaper than ISO (ISA? IEC? One of those TLAs.) certification. Industrial engineering. CSIA is industrial control certification: http://www.controlsys.org/ -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: Joshua D. Drake [mailto:[EMAIL PROT

Re: [GENERAL] PgSql on Vista?

2007-03-16 Thread Brandon Aiken
Actually the only reason we have an email disclaimer is for CSIA compliance. We know they have a highly dubious legal standing, but, hey, it's what the auditors require. -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: Konrad Neuwirth [mailto:[EMAIL PROTECTED]

Re: [GENERAL] PgSql on Vista?

2007-03-15 Thread Brandon Aiken
It was clear to me after 20 minutes of actually trying to use the OS that UAC was a gimmick designed to supply plausible deniability for the fact that Windows XP suffered so many problems with malware. They can simply ask "were you using UAC?" every time someone complains that their box got inf

Re: [GENERAL] Lifecycle of PostgreSQL releases

2007-03-15 Thread Brandon Aiken
t contract. The upgrade question is "why?" not "why not?". -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lane Sent: Thursday, March 15, 2007 2:00 PM To: Joshua D. Drake Cc: Erik

Re: [GENERAL] Anyone know a good opensource CRM that actually installs with Posgtres?

2007-03-09 Thread Brandon Aiken
Why is running on PG so important? Why not look for the best CRM application for your user's needs? -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bradley Kieser Sent: Thursday, March 08, 2007 8:22 PM To:

Re: [GENERAL] Difference between UNIQUE constraint vs index

2007-02-28 Thread Brandon Aiken
Problem number 6,534 with implementing an abstract concept such as an RDB on a digital computer with an electro-magno-mechanical storage system. :p -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: Tom Lane [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 11

Re: [GENERAL] Difference between UNIQUE constraint vs index

2007-02-28 Thread Brandon Aiken
y key is a superset of what's needed for unique, so I would expect only legacy systems to support non-indexed uniques. Any newer DBMS would implement primary keys and then steal the code for uniques. -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: [EMAIL PROTECTED] [mailto:[

Re: [GENERAL] postgresql vs mysql

2007-02-23 Thread Brandon Aiken
That's why you make a table for every device or every measurement, and then use a view to consolidate it. With updatable views, there's no excuse not to. -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behal

Re: [GENERAL] postgresql vs mysql

2007-02-22 Thread Brandon Aiken
PostgreSQL installations such as the .org DNS TLD root). I'd like to see a tuned MySQL vs a similarly tuned PostgreSQL system (that is, fsync in the same state and with the same level of ACID compliance) subject to a battery of test schema types (OLTP, OLAP, etc.). -- Brandon Aiken CS/IT Systems Eng

Re: [GENERAL] postgresql vs mysql

2007-02-22 Thread Brandon Aiken
and that de-normalization is a practical workaround and never a wise logical design choice from the get-go, you shouldn't feel too bad about doing it. -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Tassoni

Re: [GENERAL] postgresql vs mysql

2007-02-21 Thread Brandon Aiken
tem. 3. MySQL is no longer the only thing available. PostgreSQL is on Windows now, MS SQL 2005 Express, SQLite, Oracle Express, Firebird, etc. 4. So is Windows. MySQL isn't quite as bad as PHP for internal inconsistencies and developer aggrivations, but it comes close enough for me to want

Re: [GENERAL] how to store whole XML file in database

2007-02-12 Thread Brandon Aiken
You'll have to escape any quotation marks or your SQL will not parse your strings correctly. -- Brandon Aiken CS/IT Systems Engineer From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of deepak pal Sent: Monday, February 12, 2007 4:07

Re: [GENERAL] Postgres SQL Syntax

2007-02-06 Thread Brandon Aiken
and Cobb a virtual impossibility (the most obvious reason being that a computer database can only store computerized data). -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim C. Sent: Friday, February 02, 2007 11:37 AM

Re: [GENERAL] PostgreSQL/FireBird

2007-02-06 Thread Brandon Aiken
-platform. I've never used it, but I've also never been impressed with the performance of anything that has used JetSQL (Exchange especially). -- Brandon Aiken CS/IT Systems Engineer From: Justin Dearing [mailto:[EMAIL PROTECTED] Sent: Monday, Feb

Re: [GENERAL] PostgreSQL/FireBird

2007-02-05 Thread Brandon Aiken
top-end enterprise databases. It has a much larger memory footprint and is much more complicated to administer compared to FB, but is much more configurable and customizable. Bottom line: PostgreSQL is more mature because it's several years older. Firebird is intended for different

Re: [GENERAL] Ordering problem with varchar (DESC)

2007-01-31 Thread Brandon Aiken
8h40 d1 2007-01-3012h00 d3 2007-01-3013h45 d4 2007-01-3017h20 d5 2007-01-30 9h30 d2 To use your current schema, you need to zero-fill your hours, so 9h30 needs to be 09h30 and so forth. -- Brandon Aik

Re: [GENERAL] Any Plans for cross database queries on the same server?

2007-01-30 Thread Brandon Aiken
tly one relationship between tables?". Well, because if one A always means one B and one B always means one A, shouldn't they ought to be in the same table already? -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] O

Re: [GENERAL] Postgresql.conf

2007-01-23 Thread Brandon Aiken
Out of curiosity, has the COUNT(*) with no WHERE clause slowness been fixed in 8.x? Or is it still an issue of "there's no solution that won't harm aggregates with WHERE clauses"? -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: [EMAIL PROTECTED] [mai

Re: [GENERAL] too many trigger records found for relation "item" -

2007-01-23 Thread Brandon Aiken
#x27;s the case, it's going to affect someone eventually. -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Csaba Nagy Sent: Tuesday, January 23, 2007 4:42 AM To: Lenorovitz, Joel Cc: Postgres general mailing l

Re: [GENERAL] Trouble creating database with proper encoding

2007-01-22 Thread Brandon Aiken
to each character. As far as PostgreSQL is concerned, "Unicode" is an alias for "UTF8", which is UTF-8 encoding. See: http://www.postgresql.org/docs/8.2/interactive/multibyte.html#MULTIBYTE- CHARSET-SUPPORTED -- Brandon Aiken CS/IT Systems Engineer -Original Messa

Re: [GENERAL] Finding bogus dates

2007-01-18 Thread Brandon Aiken
Actually, now that I think about it a second you can find them really easy just by doing: SELECT * FROM "foo" WHERE to_char(to_date("oldDate",'MM/DD/'),'MM/DD/') <> "oldDate"; -- Brandon Aiken CS/IT Systems Engineer -Origina

Re: [GENERAL] Finding bogus dates

2007-01-18 Thread Brandon Aiken
te","MM/DD/") <> "oldDate". If a date got changed for sanity reasons, it'll be different. That should get most of 'em. -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sco

Re: [GENERAL] FK Constraint on index not PK

2007-01-12 Thread Brandon Aiken
Read the release notes. 7.4.8 and 7.4.11 require special considerations. By all means upgrade, but it's not quite seamless. -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Marlowe Sent: Friday, Janua

Re: [GENERAL] Version 8.2 for HP-UX

2007-01-12 Thread Brandon Aiken
Right, but I assumed you checked with HP before coming here. I should have said "for PG 8.2.1 on HP-UX, you will need to build from source". -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: Al Balmer [mailto:[EMAIL PROTECTED] Sent: Friday, January 12, 2007 1

Re: [GENERAL] Version 8.2 for HP-UX

2007-01-12 Thread Brandon Aiken
AFAIK, PostgreSQL is only supplied in Win32 and Fedora/Redhat flavors. Debian, Gentoo, and FreeBSD maintain their own binary packages themselves. For HP-UX, you need to build from source. http://www.postgresql.org/docs/faqs.FAQ_HPUX.html -- Brandon Aiken CS/IT Systems Engineer -Original

Re: [GENERAL] Operator performance question

2007-01-09 Thread Brandon Aiken
Shouldn't these be using HAVING? SELECT COUNT(max_persons) ... GROUP BY NULL HAVING max_persons >= 5 AND max_persons <= 8; -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alban Hertroys Sent: Tuesday,

Re: [GENERAL] Database Failure on Windows XP Pro psql (PostgreSQL)

2007-01-08 Thread Brandon Aiken
Try a 180-day Win2k3 trial to see if the issue persists. Realistically, though, if you can't afford the proprietary software don't develop with it. If it's a Windows XP bug (or "feature") then it's not anything we can help with since PG is working correctly.

Re: [GENERAL] Database Failure on Windows XP Pro psql (PostgreSQL) 8.1.4

2007-01-08 Thread Brandon Aiken
only way to modify the limit is to manually modify binary files. -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shelby Cain Sent: Monday, January 08, 2007 3:12 PM To: Oisin Glynn; pgsql-general@postgresql.org Subject

Re: [GENERAL] RESTORING A DATABASE WITH DIFFERENT TIMEZONES

2006-12-21 Thread Brandon Aiken
the timezone your server is in, because those are completely different times. You should not be storing the timezone information if you just want the relative time of day and not the absolute time. -- Brandon Aiken CS/IT Systems Engineer -Original Message- From: Rodrigo Sakai [mailto:[EMAIL

Re: [GENERAL] RESTORING A DATABASE WITH DIFFERENT TIMEZONES

2006-12-21 Thread Brandon Aiken
in postgresql.conf. http://www.postgresql.org/docs/8.2/interactive/runtime-config-client.htm l#GUC-TIMEZONE -- Brandon Aiken CS/IT Systems Engineer From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo Sakai Sent: Thursday, December 21, 2006 1

[GENERAL] Website Hosting Service and Security

2006-12-21 Thread Brandon E Hofmann
reSQL database and have it hosted online and accessed via ID/Password. Any help would be greatly appreciated. Thanks, Brandon

  1   2   3   >