Re: [GENERAL] client that supports editing views

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

Re: [GENERAL] PostrgreSQL Commercial restrictions?

2013-08-07 Thread Richard Broersma
-forks -- Regards, Richard Broersma Jr.

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

2013-08-05 Thread Richard Broersma
/ 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
-- 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
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
://www.postgresql.org/mailpref/pgsql-general -- Regards, Richard Broersma Jr.

Re: [GENERAL] DONT_CARE Aggregate

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

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

2012-05-16 Thread Richard Broersma
/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-general@postgresql.org

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 guilla...@lelarge.info wrote: On Wed, 2012-05-16 at 10:28 -0700, Richard Broersma wrote: I've seen the following statement made

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

2012-05-01 Thread Richard Broersma
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

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

2012-04-27 Thread Richard Broersma
public.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] Blank Numeric Column For INSERT

2011-11-23 Thread Richard Broersma
I don't recall but found nothing. My pg.dump files show nulls as: \N -- 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 use like with a list

2011-11-18 Thread Richard Broersma
On Fri, Nov 18, 2011 at 12:13 PM, John R Pierce pie...@hogranch.com wrote: where field ~ '^(jo|mo|do|fo)' Don't forget to add the l as the end: where field ~ '^(jo|mo|do|fo)l' -- Regards, Richard Broersma Jr. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make

Re: [GENERAL] all non-PK columns from information schema

2011-11-15 Thread Richard Broersma
tables and views *can* change between major releases while the information_schema is expected to be more stable between major releases. Applications that depend upon the information_schema rather than pg_catalog are less likely to break when the PostgreSQL server is upgraded. -- Regards, Richard

Re: [GENERAL] Custom Contraint Violation Errors

2011-11-07 Thread Richard Broersma
the developer to specify any desired message. -- 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] Custom Constraint Violation Errors

2011-11-07 Thread Richard Broersma
. But remember that catching errors and throwing them will have a performance penalty. http://www.postgresql.org/docs/9.1/interactive/plpgsql-control-structures.html#PLPGSQL-ERROR-TRAPPING -- Regards, Richard Broersma Jr. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org

Re: [GENERAL] Simple question on SELECT

2011-11-07 Thread Richard Broersma
of Isolation supported by PostgreSQL is READ COMMITTED which is the default transaction isolation level: http://www.postgresql.org/docs/9.1/interactive/sql-set-transaction.html -- Regards, Richard Broersma Jr. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] matching against a list of regexp?

2011-10-27 Thread Richard Broersma
, 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] Quick-and-Dirty Data Entry with LibreOffice3?

2011-09-27 Thread Richard Broersma
using JDBC ODBC driver for PostgreSQL. Open Office via direct JDBC has a hard time with some PostgreSQL data-types. ODBC handles this by converting these to a text representation that Open Office can handle. -- Regards, Richard Broersma Jr. -- Sent via pgsql-general mailing list (pgsql-general

Re: [GENERAL] Quick-and-Dirty Data Entry with LibreOffice3?

2011-09-27 Thread Richard Broersma
...@appl-ecosys.com wrote: On Tue, 27 Sep 2011, Richard Broersma wrote: ODBC handles this by converting these to a text representation that Open Office can handle. Richard,  Progress has been made. I built and installed unixODBC from slackbuilds.org and now the hangup is identifying

Re: [GENERAL] live metadata changes v8.3.4

2011-09-27 Thread Richard Broersma
TRANSACTION; DROP VIEW someView ...; ALTER TABLE DROP COLUMN someColumn1, DROP COLUMN someColumn2; CREATE VIEW someView AS ...; COMMIT; --Wait for pre-existing locks to complete and hope your client app doesn't break. -- Regards, Richard Broersma Jr. -- Sent via pgsql-general mailing list

Re: [GENERAL] forcing table ownership

2011-09-15 Thread Richard Broersma
minutes of reading. 1) alter the tables/schema/... to be owned by a role that all of these users belong to: http://www.postgresql.org/docs/8.4/interactive/sql-altertable.html 2) grant the table/schema to the role: http://www.postgresql.org/docs/8.4/interactive/privileges.html -- Regards, Richard

Re: [GENERAL] Identifying Reason for Column Name Returned by SELECT

2011-09-14 Thread Richard Broersma
an index scan if you include a few more criteria: AND site_id BETWEEN 'GW-22' AND 'GW-23' Also WHERE site_id '^GW-22' may use and index scan also. -- Regards, Richard Broersma Jr. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription

Re: [GENERAL] Identifying Reason for Column Name Returned by SELECT

2011-09-14 Thread Richard Broersma
. Do you want to UPDATE the affected records to GW-22. Or do you want to ALTER the table to add a column constraint to prevent malformed site_id's in the future? -- Regards, Richard Broersma Jr. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] Foreign key check only if not null?

2011-09-12 Thread Richard Broersma
: ALTER TABLE my table ADD CONSTRAINT my table_Users_user_id_fkey FOREIGN KEY (user_id) REFERENCES Users (user_id) ON UPDATE CASCADE ON DELETE SET NULL, ALTER COLUMN user_id DROP NOT NULL; -- Regards, Richard Broersma Jr. -- Sent via pgsql-general mailing list (pgsql-general

[GENERAL] Feature Request: DDL + RegExp - definitions

2011-08-24 Thread Richard Broersma
@postgresql.org/msg11482.html -- 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] Feature Request: DDL + RegExp - definitions

2011-08-24 Thread Richard Broersma
On Wed, Aug 24, 2011 at 10:14 AM, Merlin Moncure mmonc...@gmail.com wrote: this is IMO not a feature, but a bug. Would the feature I'm requesting be a bug or is it the current behavior that would be considered a bug? -- Regards, Richard Broersma Jr. -- Sent via pgsql-general mailing list

[GENERAL] PGDay LA @ SCALE 9X : 1 week away

2011-02-16 Thread Richard Broersma
the PostgreSQL booth as the Expo for Saturday and Sunday - February 25th through 26th. Send me an email if your interested. -- Regards, Richard Broersma Jr.

[GENERAL] SCALE: seeking booth attendees

2011-02-02 Thread Richard Broersma
as community locals! If your interested, please reply with an email off-list. -- Regards, Richard Broersma Jr. P.S. Also if your in town on Friday, be sure to check out PgDay on Friday February 25th. https://sites.google.com/site/pgdayla/

[GENERAL] One-click Installers for 9.1 Alpha 3 (ETA)

2011-01-06 Thread Richard Broersma
Is there much of a likelihood for the release of an Alpha 3 one-click installer? -- 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] Row-level permissions?

2010-12-30 Thread Richard Broersma
://www.postgresql.org/docs/9.0/interactive/sql-createrole.html ... with `id` 1616. This cannot be done using ordinary DDL. -- Regards, Richard Broersma Jr. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org

Re: [GENERAL] Help with trigger

2010-12-27 Thread Richard Broersma
://www.postgresql.org/docs/9.0/interactive/sql-createtrigger.html -- 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] CONSTRAINT does not show when applying a EXCLUDE constraint

2010-12-27 Thread Richard Broersma
the definition of your constraint. -- 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] CONSTRAINT does not show when applying a EXCLUDE constraint

2010-12-27 Thread Richard Broersma
EXCLUDE USING btree (imm_least(subject_id, object_id) WITH =, imm_greatest(subject_id, object_id) WITH =) I see. Since exclusion constraints is a rather new feature, psql may need some tweaking to report these constraints as constraints -- Regards, Richard Broersma Jr. -- Sent via pgsql

Re: [GENERAL] Help with trigger

2010-12-27 Thread Richard Broersma
, I miss-read your post. Sorry. -- 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 use pgbouncer

2010-12-21 Thread Richard Broersma
. pgbouncer is the smallest and most lightweight pooler available. Also, Pgbouncer is the only connection-pooler that work on MS-Windows that is released for production use. -- Regards, Richard Broersma Jr. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes

Re: [GENERAL] Constraining overlapping date ranges

2010-12-21 Thread Richard Broersma
want since it is based on timestamps rather than dates: http://temporal.projects.postgresql.org/ -- 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] Table inheritance foreign key problem

2010-12-21 Thread Richard Broersma
support sub-selects in a tables check constraints: http://www.postgresql.org/docs/9.0/interactive/sql-createtable.html -- 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

Re: [GENERAL] Devart ADO.NET Data Providers Deliver Advanced Model-First and Database-First Support and Improved ORM Solution!

2010-12-13 Thread Richard Broersma
of Oracle and Postgresql. :) -- 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] pgadmin story...

2010-11-18 Thread Richard Broersma
On Nov 18, 2010, at 1:31 PM, Joshua D. Drake j...@commandprompt.com wrote: On Thu, 2010-11-18 at 16:18 -0500, andrew wrote: hi all, I've just read that pgadmin team was hired by some company and the project will be closed... It was a post from 2009. I'm just curious what's the story behind

Re: [GENERAL] Alter table to on update cascade

2010-11-17 Thread Richard Broersma
TABLE foo DROP CONSTRAINT your_constraint, ADD CONSTRAINT your_constraint FOREIGN KEY ... ON UPDATE CASCADE ON DELETE RESTRICT; -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing

Re: [GENERAL] Counting boolean values (how many true, how many false)

2010-11-16 Thread Richard Broersma
, TRUE)) as not fair, COUNT(NULLIF( nice, FALSE)) as nice, COUNT(NULLIF( nice, TRUE)) as not nice, from public.pref_rep; -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general

Re: [GENERAL] The first dedicated PostgreSQL forum

2010-11-15 Thread Richard Broersma
seem so bad. The google mailing lists also have this bidirectional feature. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] Problem using CASTed timestamp column

2010-11-11 Thread Richard Broersma
have to use a physical column name or an expression. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] Porting from MS Access 2007 to PostgreSQL

2010-11-09 Thread Richard Broersma
/no] datatype. Life is so much better now because. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

[GENERAL] One-click Installers for 9.1 Alpha 2 (ETA)

2010-11-08 Thread Richard Broersma
I'm interested in playing with some of the features in the Alpha 2. Is there an ETA for the release for the one-click installer? -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql

Re: [GENERAL] One-click Installers for 9.1 Alpha 2 (ETA)

2010-11-08 Thread Richard Broersma
installers! -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- 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] Why facebook used mysql ?

2010-11-08 Thread Richard Broersma
losing interest. The following link contains hundreds of comments that you may be interested in, some that address issues that are much more interesting and well established: http://search.postgresql.org/search?q=mysql+performancem=1l=NULLd=365s=rp=1 -- Regards, Richard Broersma Jr. Visit

Re: [GENERAL] experience with tags schemas

2010-11-05 Thread Richard Broersma
: http://sites.google.com/site/ankurpshah2/joe-celkos-sql-puzzles-and-answers-s.pdf -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] check constraint on insert but not delete

2010-11-04 Thread Richard Broersma
-- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- 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] 8.4 Data Not Compatible with 9.0.1 Upgrade?

2010-11-01 Thread Richard Broersma
to proceed. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- 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] 8.4 Data Not Compatible with 9.0.1 Upgrade?

2010-11-01 Thread Richard Broersma
On Mon, Nov 1, 2010 at 9:52 AM, Richard Broersma richard.broer...@gmail.com wrote: On Mon, Nov 1, 2010 at 9:47 AM, Carlos Mennens carlos.menn...@gmail.com wrote: Sadly I blindly upgraded my database w/o doing a dump / restore so can anyone tell me if I am dead in the water or is there a way

[GENERAL] Call For Talks: PGDay LA @ SCALE 9X

2010-10-29 Thread Richard Broersma
-mail *Cell Phone *Title of Talk *Description of Talk *Notes for Committee For more information visit: https://sites.google.com/site/pgdayla/ -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql

Re: [GENERAL] Updates, deletes and inserts are very slow. What can I do make them bearable?

2010-10-21 Thread Richard Broersma
from PSQL, does the query run much faster. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org

Re: [GENERAL] Can psql show the column type of a result ?

2010-09-22 Thread Richard Broersma
c.relname ~ '^(mytable)$' AND a.attnum 0 AND NOT a.attisdropped ORDER BY a.attnum; -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] Alter Table Command Rearranges Rows

2010-09-17 Thread Richard Broersma
know if MySQL does this also. In PostgreSQL you can issue a periodic cluster command on the primary key. But as mentioned it is a bad practice to rely on the physical ordering of the table. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http

Re: [GENERAL] Post Install / Secure PostgreSQL

2010-09-15 Thread Richard Broersma
: select current_database(); -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql

Re: [GENERAL] Post Install / Secure PostgreSQL

2010-09-14 Thread Richard Broersma
to use ALTER USER http://www.postgresql.org/docs/8.4/interactive/sql-alteruser.html So: ALTER USER carlos WITH ENCRYPTED PASSWORD 'password'; -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general

Re: [GENERAL] Identify Login User Permissions

2010-09-14 Thread Richard Broersma
) -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- 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] Identify Login User Permissions

2010-09-14 Thread Richard Broersma
tables/views: db = \d other useful commands: db = \? -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] Post Install / Secure PostgreSQL

2010-09-10 Thread Richard Broersma
of the box, PostgreSQL is so secure that some people cannot figure out how to log in. :) -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] regexp on null

2010-09-10 Thread Richard Broersma
' ) IS UNKNOWN might work. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql

Re: [GENERAL] regexp on null

2010-09-10 Thread Richard Broersma
to a null. Perhaps the easiest was to help such users is to make the column(s) in question NOT NULL DEFAULT ''. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general

Re: [GENERAL] Move data from DB2 to Postgres any software/solutions/approach?

2010-06-04 Thread Richard Broersma
/Converting_from_other_Databases_to_PostgreSQL#IBM_DB2 -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

[GENERAL] Altering Domain Constraints on composite types

2010-06-03 Thread Richard Broersma
-- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

[GENERAL] Requested addition to the todo list [was]: Re: Altering Domain Constraints on composite types

2010-06-03 Thread Richard Broersma
I'd like to propose the following items be added to the todo list: (Any thoughts?) 1) Modify composite types to allow ALTER DOMAIN(s) to ADD CONSTRAINT. 2) Allow a since ALTER DOMAIN issue multiple ADD and DROP commands in a single statement. On Thu, Jun 3, 2010 at 9:12 AM, Richard Broersma

Re: [GENERAL] [NOVICE] sum multiple tables gives wrong answer?

2010-06-02 Thread Richard Broersma
FROM fairway; Then you'd execute the following query: SELECT lawntype, sum(flaech)/1 AS HA FROM Lawns GROUP BY lawntype; -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql

Re: [GENERAL] Write-able CTEs, Update-able views, Hierarchical data, and optimistic locking

2010-06-01 Thread Richard Broersma
mentioned, they probably wont. :( -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref

Re: [GENERAL] SELECT my_table.varchar FROM my_table

2010-05-31 Thread Richard Broersma
my_table; http://www.postgresql.org/docs/9.0/static/sql-expressions.html#SQL-SYNTAX-ROW-CONSTRUCTORS -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org

[GENERAL] emitting custom INSERT, UPDATE, DELETE row_counts

2010-05-30 Thread Richard Broersma
displayed row_counts on update-able views. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org

Re: [GENERAL] child/parent creation

2010-05-29 Thread Richard Broersma
? Not yet, but possible in 9.1 this can be done using write-able CTEs if they are accepted. http://pgexperts.com/document.html?id=38 -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list

[GENERAL] Write-able CTEs, Update-able views, Hierarchical data, and optimistic locking

2010-05-29 Thread Richard Broersma
that can occur from the view point client side optimistic locking where the virtual row appears to be inconsistently updated. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql

Re: [GENERAL] Write-able CTEs, Update-able views, Hierarchical data, and optimistic locking

2010-05-29 Thread Richard Broersma
even though the client rolls back the transaction. The following email was my first discovery that these kinds of update-able view were not get-along well with client side optimistic locking. http://archives.postgresql.org/pgsql-odbc/2006-12/msg00029.php -- Regards, Richard Broersma Jr. Visit

Re: [GENERAL] Write-able CTEs, Update-able views, Hierarchical data, and optimistic locking

2010-05-29 Thread Richard Broersma
On Sat, May 29, 2010 at 8:21 PM, Richard Broersma richard.broer...@gmail.com wrote: The following email was my first discovery that these kinds of update-able view were not get-along well with client side optimistic locking. http://archives.postgresql.org/pgsql-odbc/2006-12/msg00029.php

Re: [GENERAL] getting all constraint violations

2010-05-21 Thread Richard Broersma
be made to be deferrable. http://www.postgresql.org/docs/8.4/interactive/sql-createconstraint.html -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make

[GENERAL] Fwd: Google Alert - postgresql 8.4

2010-05-17 Thread Richard Broersma
alerts. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug

[GENERAL] psql feature request (\dd+)

2010-05-14 Thread Richard Broersma
) valid_loop_nbrs CHECK (loop_nbr = 0 AND loop_nbr = ) valid_process_codes CHECK (process_code::text ~ '^[A-Z]{2,4}$'::text) valid_tag_seqs CHECK (tag_seq::text ~ '^(?:[A-Z])?$'::text) Has OIDs: no -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http

[GENERAL] ALTER DOMAIN feature request

2010-05-14 Thread Richard Broersma
see that the right answers can be found in the domain_constraints information_schema. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes

Re: [GENERAL] [KB] Information required - Thanks

2010-05-13 Thread Richard Broersma
where i could find this. Thanks, Here is an excellent presentation put together by Josh Berkus. It doesn't give you all the specifics but it certainly points you in the right direction. http://www.pgexperts.com/document.html?id=3 -- Regards, Richard Broersma Jr. Visit the Los Angeles

[GENERAL] Reliability of Windows versions 8.3 or 8.4

2010-05-12 Thread Richard Broersma
the windows version of PostgreSQL daily for 4 years. I've only experienced one crash with version 8.4.0. Since the update, I've yet to see any additional crashes. -- Regards, Richard Broersma Jr. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] Reliability of Windows versions 8.3 or 8.4

2010-05-12 Thread Richard Broersma
concern for loss of data if a file rewrite is interrupted by a power failure? When using postgres there are some protections provided to reduce this kind of data loss. However, I do agree that tabular/xml data would stand the test of time. -- Regards, Richard Broersma Jr. Visit the Los Angeles

Re: [GENERAL] Reliability of Windows versions 8.3 or 8.4

2010-05-12 Thread Richard Broersma
On Wed, May 12, 2010 at 10:55 AM, Thomas Kellerer spam_ea...@gmx.net wrote: Richard Broersma wrote on 12.05.2010 17:45: I'm considering using the windows version PostgreSQL in the following conditions: at least 10 years of up time (with periodic power failures= 1 a year) I don't think you

Re: [GENERAL] Auditing usage

2010-05-12 Thread Richard Broersma
and if it’s granted or denied. Very important to This is the closed thing I've seen outside of scanning the postgresql logs. http://www.depesz.com/index.php/2007/09/21/what-fields-are-usually-changed-when-updateing/ -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group

Re: [GENERAL] Moving postgresql data to another computer

2010-05-11 Thread Richard Broersma
/backup-file.html If you have a consistent copy, you might need to point PostgreSQL to work from the copied data directory. http://www.postgresql.org/docs/8.4/interactive/server-start.html -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http

Re: [GENERAL] Moving postgresql data to another computer

2010-05-11 Thread Richard Broersma
://www.postgresql.org/docs/8.4/interactive/app-pgresetxlog.html -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] Avoiding surrogate keys

2010-05-04 Thread Richard Broersma
rows. So, for some people, there are times when even surrogate keys cannot be relied upon as a PK. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org

Re: [GENERAL] GeSHi module for Postgresql?

2010-05-03 Thread Richard Broersma
-appendix.html http://www.postgresql.org/docs/9.0/static/functions.html http://www.postgresql.org/docs/9.0/static/reference.html -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql

Re: [GENERAL] MS Access 2007 update write conflict problem resolution

2010-03-19 Thread Richard Broersma
to the truncated data values. I've also seen this with null valued boolean fields. Part of the solution would be configure the ODBC driver to use PostgreSQL's xmin for optimistic locking. Of-course this doesn't fix MS-Accesses inability to handle the ranges of many of PG data-types. -- Regards, Richard

Re: [GENERAL] Sorting performance vs. MySQL

2010-02-22 Thread Richard Broersma
); Does an index help a sort operation in PostgreSQL? -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

[GENERAL] Scale 8X Exhibition Booth Attendants

2010-01-25 Thread Richard Broersma
continuous booth coverage between the times: Saturday 10:00 am to 6:00 pm and Sunday 10:00 am to 5:30 pm. If interested, please contact me off list so that we can make arrangements. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug

[GENERAL] Writable CTE queries

2010-01-07 Thread Richard Broersma
Are Writable CTE queries defined by the SQL standard, or are they and extension? -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] Is there any different for foreign key to be serial instead of integer

2010-01-06 Thread Richard Broersma
to be defined as serial. A serial foreign key would be nonsensical since foreign keys should be be generating their own values. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general

Re: [GENERAL] Is there any different for foreign key to be serial instead of integer

2010-01-06 Thread Richard Broersma
for certain types of mappings. FKs don't generate their own values, they reference values in a PK or unique field somewhere else really. Good catch. :) I've been sticking my foot in my mouth all day with typos like this. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users

Re: [GENERAL] targetted array element modification or delete without knowing the index?

2009-12-24 Thread Richard Broersma
for you? http://www.postgresql.org/docs/8.4/static/functions-array.html#ARRAY-OPERATORS-TABLE -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make

Re: [GENERAL] Simple function

2009-12-23 Thread Richard Broersma
); countertest - 1 (1 row) http://www.postgresql.org/docs/8.4/interactive/xfunc-sql.html -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general

Re: [GENERAL] postgres: writer process,what does this process actually do?

2009-12-22 Thread Richard Broersma
/internals.html -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- 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] Justifying a PG over MySQL approach to a project

2009-12-17 Thread Richard Broersma
of China it becomes the Master. Of course the person how constructed this system mentioned it was woefully challenging. In his case, not only was the slony configuration difficult but also finding and keeping stable communication path-ways between China and the US. -- Regards, Richard Broersma Jr

Re: [GENERAL] How to remove non-UTF values from a table?

2009-12-16 Thread Richard Broersma
to preform an in-place upgrade on 8.4. This *should* eliminate to future need to dump and reload for future upgrades. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general

Re: [GENERAL] PG Windows - Installer Error

2009-12-15 Thread Richard Broersma
responsible so they check double-check for any problems. They responded promptly with a fix. Thanks for directing it to them. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-general mailing list (pgsql-general

[GENERAL] 8.4.2 - Windows Binaries

2009-12-14 Thread Richard Broersma
I might be bringing this up too soon, however the link to the 8.4.2 windows binaries needs to be updated: http://www.enterprisedb.com/products/pgdownload.do#windows It currently shows the binaries for 8.4.1. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG

  1   2   3   4   5   6   >