[GENERAL] Replicating db structure changes

2007-07-25 Thread Robby Russell
with Rails migrations) tool that generates slonik-friendly scripts for changes to the database structure. Thanks in advance, Robby -- Robby Russell http://www.robbyonrails.com/ http://www.planetargon.com/ ---(end of broadcast)--- TIP 6: explain analyze

Re: [GENERAL] pg web hosting with tsearch2?

2006-10-06 Thread Robby Russell
On Sep 29, 2006, at 10:45 AM, Rick Schumeyer wrote: I hope pg-general is the correct forum for this question…if not please let me know the correct location. I have a pg application that uses tsearch2. I would like to move this application off my local machine and onto a web host

[GENERAL] missing chunk number 0 for toast value xxxxx

2006-08-05 Thread Robby Russell
not going away. Any pointers? Robby -- Robby Russell Founder Executive Director PLANET ARGON, LLC Ruby on Rails Development, Consulting Hosting www.planetargon.com www.robbyonrails.com +1 503 445 2457 +1 877 55 ARGON [toll free] +1 815 642 4068 [fax] ---(end

Re: [GENERAL] missing chunk number 0 for toast value xxxxx

2006-08-05 Thread Robby Russell
On Aug 5, 2006, at 4:29 PM, Robby Russell wrote: I'm seeing this weird issue pop up on one a database. This seems to work... robbyonrails_typo_dev=# SELECT count(id) FROM contents WHERE title ~* 'postgresql' LIMIT 20; count --- 19 (1 row) ...but these two seem to be causing

Re: [GENERAL] Ajax/PostgreSQL

2006-08-05 Thread Robby Russell
been with Rails.. and there is no need to make javascript talk directly to PostgreSQL. Robby -- Robby Russell Founder Executive Director PLANET ARGON, LLC Ruby on Rails Development, Consulting Hosting www.planetargon.com www.robbyonrails.com +1 503 445 2457 +1 877 55 ARGON [toll free] +1 815

Re: [GENERAL] Is PostgreSQL an easy choice for a large CMS?

2006-04-30 Thread Robby Russell
right. I don't see why PostgreSQL wouldn't work for what you're working on... -Robby Robby Russell Founder Executive Director PLANET ARGON, LLC Ruby on Rails Development, Consulting Hosting www.planetargon.com www.robbyonrails.com +1 503 445 2457 +1 877 55 ARGON [toll free] +1 815 642

Re: [GENERAL] how can i view deleted records?

2006-04-29 Thread Robby Russell
Robby Russell Founder Executive Director PLANET ARGON, LLC Ruby on Rails Development, Consulting Hosting www.planetargon.com www.robbyonrails.com +1 503 445 2457 +1 877 55 ARGON [toll free] +1 815 642 4968 [fax] ---(end of broadcast)--- TIP 1

Re: [GENERAL] sending mail from Postgres

2005-12-27 Thread Robby Russell
-- /** * Robby Russell, Founder Executive Director * * PLANET ARGON, LLC | www.planetargon.com * * Ruby on Rails Development, Consulting, and Hosting * * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * * blog: www.robbyonrails.com | book

Re: [GENERAL] Moving from MySQL to PostgreSQL with Ruby on Rails.

2005-11-17 Thread Robby Russell
VERSION=0' def self.down drop_table :products end end # Run from main Rails directory rake migrate Using either plain SQL like above or AR::Migrate will generate the same table structure. Cheers, -Robby -- /** * Robby Russell

Re: [GENERAL] Moving from MySQL to PostgreSQL with Ruby on Rails.

2005-11-17 Thread Robby Russell
On Thu, 2005-11-17 at 15:10 -0600, Bruno Wolff III wrote: On Thu, Nov 17, 2005 at 09:23:51 -0800, Robby Russell [EMAIL PROTECTED] wrote: CREATE TABLE product ( id SERIAL PRIMARY KEY, name VARCHAR(255) NOT NULL DEFAULT '', ); And depending on why you chose VARCHAR(255), you

Re: [GENERAL] A good postgresql book

2005-11-11 Thread Robby Russell
and is organized fairly well. It's recently become the first book that I reach over to the bookshelf for to look up something when I don't feel like searching on google/ps.org search. -Robby -- /** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open

[GENERAL] PL/Ruby untrusted

2005-08-22 Thread Robby Russell
Apparently, PL/Ruby has an undocumented flag that you can pass it. :-) http://rubyurl.com/Dz2 (usage) http://rubyurl.com/t3S (install) -Robby -- /** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open Source Solutions Web Hosting

Re: [GENERAL] Database Link between 2 PostgreSQL db

2005-03-12 Thread Robby Russell
/docs/current/static/queries-table-expressions.html example: SELECT * FROM dblink('dbname=mydb', 'select proname, prosrc from pg_proc') AS t1(proname name, prosrc text) WHERE proname LIKE 'bytea%'; Cheers, Robby -- /*** * Robby Russell

Re: [GENERAL] PostgreSQL still for Linux only?

2005-03-08 Thread Robby Russell
world. It's not an evil conspiracy against windows..just like Linux users can point out that there not enough games for windows yet. The demand isn't high enough yet and as it increases..this will hopefully change a bit. -Robby -- /*** * Robby Russell

Re: [GENERAL] GUI

2005-03-03 Thread Robby Russell
ON (weather.city = cities.name); Cheers, Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting Development * --- Now hosting Ruby

Re: [GENERAL] GUI

2005-02-28 Thread Robby Russell
, login for DB Thanks in advance. HD wxWidgets (formerly wxWindows) http://www.wxwidgets.org/ there is wxPython, wxRuby, wxEtc.. -Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED

Re: [GENERAL] Referencing created tables fails with message that

2005-02-27 Thread Robby Russell
created. I can se them in DBVisualizer. I'm using version 7.4.5 on Linux Mandrake 10.1. Best Regards, Tommy Svensson What do your CREATE TABLE commands look like? Also, what does \d tablename respond with? -Robby -- /*** * Robby Russell | Owner.Developer.Geek

Re: [GENERAL] Suggestions on a good Postgresql 7.4 or 8.0 book

2005-02-17 Thread Robby Russell
-- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting Development * --- Now hosting Ruby on Rails Apps

Re: [GENERAL] replication question

2005-02-14 Thread Robby Russell
you have any good pointers/how-to to direct me to? Thanks for the help. Best, Try Slony: http://www.onlamp.com/pub/a/onlamp/2004/11/18/slony.html -Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland

Re: [GENERAL] comparing dates with timestamps ?

2005-02-13 Thread Robby Russell
data type) SELECT created::date FROM orders.payment WHERE id = 100; created 2004-11-28 or SELECT id, email FROM orders.payment WHERE created::date = now()::date; -Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON

Re: [GENERAL] Hoow do you drop a column in a table

2005-02-08 Thread Robby Russell
is the dprocedure for dropping a column? an anyone point me to a document that tells EXACTLY how to do this? Also, how do you find out the dependencies it says it has? I know of none. Art ALTER TABLE foo DROP COLUMN name CASCADE; -- /*** * Robby Russell

Re: [GENERAL] PHP/PDO Database Abstraction Layer

2005-02-07 Thread Robby Russell
been updated since May 2004 though. :-/ -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting Development * --- Now hosting

Re: [GENERAL] Extended unit

2005-01-26 Thread Robby Russell
of this is...when we really haven't the foggiest idea. ;-) Cheers, Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting

Re: [GENERAL] Good PostgreSQL Based Shopping Cart Software ... ?

2005-01-25 Thread Robby Russell
-- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting Development * --- Now hosting PostgreSQL 8.0

Re: [GENERAL] PostgreSQL 8.0.0 Released

2005-01-19 Thread Robby Russell
of PostgreSQL since 6.3, including: Good work everyone! :-) -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting Development * --- Now

Re: [GENERAL] PostgreSQL users on webhosting

2005-01-05 Thread Robby Russell
this flexibility a great reason why multiple instances are good for a hosting company. -Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP

Re: [GENERAL] possible to DELETE CASCADE?

2004-12-30 Thread Robby Russell
id = 1; DELETE 1 test= SELECT * FROM foo; id | foo_type_id | name +-+-- 3 | 2 | bar3 (1 row) -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED

Re: [GENERAL] Postgresql website issues.

2004-12-30 Thread Robby Russell
is white, and the text is also a light color. agreed. Font sizes are a little 'too' small in some areas. The font size for the body is set to font-size: 69%; maybe 72% would be a little less of a strain. ;-) -- /*** * Robby Russell | Owner.Developer.Geek * PLANET

Re: [GENERAL] Last value inserted

2004-11-11 Thread Robby Russell
AND pg_attribute.attrelid = src.oid AND pg_namespace.nspname = $1 AND src.relname = $2 AND pg_attribute.attname = $3; ' language sql; hth, Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland

Re: [GENERAL] QMail

2004-10-30 Thread Robby Russell
component. ftp://ftp.tummy.com/pub/tummy/Mail2DB/ You will hth, -Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL

Re: [GENERAL] determine sequence name for a serial

2004-10-28 Thread Robby Russell
don't always have that option with some clients existing systems. -Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting

Re: [GENERAL] determine sequence name for a serial

2004-10-28 Thread Robby Russell
On Thu, 2004-10-28 at 16:51 -0600, Ed L. wrote: On Thursday October 28 2004 11:42, Robby Russell wrote: Thanks, this seems to work well. My goal is to actually create a php function that takes a result and returns the insert_id like mysql_insert_id() does, but without needing to know

Re: [GENERAL] interval to seconds conversion. How?

2004-10-27 Thread Robby Russell
n); n = interval -Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting Development * --- Now supporting PHP5 and PHP4

[GENERAL] determine sequence name for a serial

2004-10-27 Thread Robby Russell
this value if I pass it the schema and table (and fieldname is necessary) Thanks, Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP

Re: [GENERAL] determine sequence name for a serial

2004-10-27 Thread Robby Russell
On Wed, 2004-10-27 at 21:06 -0700, Robby Russell wrote: I am trying to track down a method of determining what a sequence name is for a SERIAL is in postgresql. For example, CREATE TABLE foo (id SERIAL PRIMARY KEY NOT NULL, bar TEXT); \d foo Table public.foo

Re: [GENERAL] determine sequence name for a serial

2004-10-27 Thread Robby Russell
On Wed, 2004-10-27 at 21:33 -0700, Robby Russell wrote: I figured out how to get this: foo= SELECT adsrc FROM pg_attrdef WHERE adrelid = (SELECT oid FROM pg_class WHERE relname = 'foo'); adsrc nextval('public.foo_id_seq'::text) (1 row

Re: [GENERAL] primary key and existing unique fields

2004-10-26 Thread Robby Russell
On Tue, 2004-10-26 at 17:26 -0400, Mike Mascari wrote: joking Apparently gamma functions and string theory have little to do with understanding the relational model of data. /joking m.. string theory. :-) -- /*** * Robby Russell

Re: [GENERAL] primary key and existing unique fields

2004-10-26 Thread Robby Russell
On Tue, 2004-10-26 at 22:03 -0500, Kevin Barnard wrote: On Tue, 26 Oct 2004 17:05:27 -0700, Robby Russell [EMAIL PROTECTED] wrote: On Tue, 2004-10-26 at 17:26 -0400, Mike Mascari wrote: joking Apparently gamma functions and string theory have little to do with understanding

Re: [GENERAL] Importing a tab delimited text file - How?

2004-10-24 Thread Robby Russell
-- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting Development / signature.asc Description: This is a digitally signed

Re: [GENERAL] DB modeler

2004-10-21 Thread Robby Russell
://techdocs.postgresql.org/guides/GUITools hth, Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting Development

Re: [GENERAL] table size/record limit

2004-10-21 Thread Robby Russell
specifically for what they do. ...actually, I heard they were running it off a flat file database on 7 386 machines in some guys garage off a dsl connection. I could be wrong though. ;-) -Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON

Re: [GENERAL] Another list for windows port...

2004-10-18 Thread Robby Russell
-- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting Development / signature.asc Description

Re: [GENERAL] ODBC

2004-10-13 Thread Robby Russell
installer. Alex Try here: http://gborg.postgresql.org/project/psqlodbc/projdisplay.php -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL

Re: [GENERAL] Level of replication support?

2004-10-13 Thread Robby Russell
or incomplete? Slony-I is the most active *community* project currently. Will any of these projects be merged with PgSQL soon? -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED

Re: [GENERAL] Level of replication support?

2004-10-13 Thread Robby Russell
On Wed, 2004-10-13 at 10:59 -0700, Robby Russell wrote: On Wed, 2004-10-13 at 20:02 +0200, [EMAIL PROTECTED] wrote: Hello I am going to do a comparison betweem PgSQL and MySQL replication system. I hear there are some replication projects available for PgSQL. Which are still active

Re: [GENERAL] 8.0 questions

2004-10-07 Thread Robby Russell
the change to 8.0 voila: http://archives.postgresql.org/pgsql-advocacy/2004-08/msg00022.php hth, Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730

Re: [GENERAL] Mailing

2004-10-05 Thread Robby Russell
-- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting Development / signature.asc Description

Re: [GENERAL] PostgreSQL 8.0.0 Beta 3 Uploaded

2004-09-27 Thread Robby Russell
was released, please see: ftp://ftp.postgresql.org/pub/source/v8.0.0beta/ChangeLog-Beta2-to-Beta3 FYI, this file doesn't seem to exist when I go here. -Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland

Re: [GENERAL] Can't connect to Windows port + other

2004-09-01 Thread Robby Russell
. :) -Doug Heh, at least it makes the user learn how to configure their postgresql configuration. ;-) -Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730

Re: [GENERAL] Any recommended forums/wiki/blog s/w that uses

2004-08-17 Thread Robby Russell
-- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting Development / signature.asc Description

Re: [GENERAL] How to Create View

2003-10-15 Thread Robby Russell
middink How can I create View like above? Have you created a SQL statement to get this recordset yet? When you have your SQL query working the way you want, you just run CREATE VIEW view_name AS your sql query; then you can perform a SELECT * FROM view_name; -- Robby Russell, | Sr

Re: [GENERAL] Can anyone recommend a good PostGres admin tool?

2003-10-01 Thread Robby Russell
: http://techdocs.postgresql.org/guides/GUITools -- Robby Russell, | Sr. Administrator / Lead Programmer Command Prompt, Inc. | http://www.commandprompt.com [EMAIL PROTECTED] | Telephone: (503) 222.2783 ---(end of broadcast)--- TIP 8: explain

Re: [GENERAL] PostgreSQL at OSCON 2004

2003-09-24 Thread Robby Russell
. :-/ -Robby -- Robby Russell, | Sr. Administrator / Lead Programmer Command Prompt, Inc. | http://www.commandprompt.com [EMAIL PROTECTED] | Telephone: (503) 222.2783 ---(end of broadcast)--- TIP 6: Have you searched our list archives? http

Re: [GENERAL] Books for PostgreSQL?

2003-08-28 Thread Robby Russell
all wait in anticipation... ;-) However, the 1st release is open source and you can read it online anytime. -- Robby Russell, | Sr. Administrator / Lead Programmer Command Prompt, Inc. | http://www.commandprompt.com [EMAIL PROTECTED] | Telephone: (503) 222.2783

Re: [GENERAL] Fwd: installing postgres7.3.4 problem II

2003-08-26 Thread Robby Russell
suggestion would write your log to the /tmo directory. (which most users should have access to write to) -Robby -- Robby Russell, | Sr. Administrator / Lead Programmer Command Prompt, Inc. | http://www.commandprompt.com [EMAIL PROTECTED] | Telephone: (503) 222.2783

[GENERAL] remove $ from money field

2003-08-14 Thread Robby Russell
Should be a simple question. When selecting a field that is of type money, how can I remove the $ when selected? example: $10.00 would return as 10.00 -Robby ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster