Re: [GENERAL] client that supports editing views

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

Re: [GENERAL] PostrgreSQL Commercial restrictions?

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

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

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

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

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

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

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

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

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

Re: [GENERAL] DONT_CARE Aggregate

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

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

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

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

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

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

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

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

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

Re: [GENERAL] Blank Numeric Column For INSERT

2011-11-23 Thread Richard Broersma
her term 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 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.

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

2011-11-15 Thread Richard Broersma
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 Broersma Jr

Re: [GENERAL] Simple question on SELECT

2011-11-07 Thread Richard Broersma
lation 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] Custom Constraint Violation Errors

2011-11-07 Thread Richard Broersma
the altered error messages. 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-genera

Re: [GENERAL] Custom Contraint Violation Errors

2011-11-07 Thread Richard Broersma
ow 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] matching against a list of regexp?

2011-10-27 Thread Richard Broersma
On Thu, Oct 27, 2011 at 9:18 AM, Gauthier, Dave wrote: > I need to be able to select all records with a col value that matches any of > a list of regexp.  Sort of like... > > select a,b,c from foo where d ~ ('^xyz','blah','shrug$'); WHERE d ~ '^xyz|

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 mai

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

2011-09-27 Thread Richard Broersma
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 hangu

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

2011-09-27 Thread Richard Broersma
7;d recommend 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 (pgs

Re: [GENERAL] forcing table ownership

2011-09-15 Thread Richard Broersma
ind in the manual after 5 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.htm

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

2011-09-14 Thread Richard Broersma
ent? I'm confused. 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@postgr

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

2011-09-14 Thread Richard Broersma
be able to get 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

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

2011-09-12 Thread Richard Broersma
e table's user_id column. So: 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. -

Re: [GENERAL] Feature Request: DDL + RegExp - definitions

2011-08-24 Thread Richard Broersma
On Wed, Aug 24, 2011 at 10:14 AM, Merlin Moncure 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 (pgsql

[GENERAL] Feature Request: DDL + RegExp - definitions

2011-08-24 Thread Richard Broersma
pport@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

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

2011-02-16 Thread Richard Broersma
attend 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
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
l http://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/ma

Re: [GENERAL] Help with trigger

2010-12-27 Thread Richard Broersma
Oops, your right, 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] CONSTRAINT does not show when applying a EXCLUDE constraint

2010-12-27 Thread Richard Broersma
| > Indexes: >     "EXCL_double_combi" 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 --

Re: [GENERAL] CONSTRAINT does not show when applying a EXCLUDE constraint

2010-12-27 Thread Richard Broersma
efinition 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] Help with trigger

2010-12-27 Thread Richard Broersma
able: http://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] Table inheritance foreign key problem

2010-12-21 Thread Richard Broersma
oesn't 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-general

Re: [GENERAL] Constraining overlapping date ranges

2010-12-21 Thread Richard Broersma
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] How to use pgbouncer

2010-12-21 Thread Richard Broersma
you need. 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 mak

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
sions 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" 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 that. Did a

Re: [GENERAL] Alter table to "on update cascade"

2010-11-17 Thread Richard Broersma
ALTER 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-ge

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

2010-11-16 Thread Richard Broersma
(NULLIF( fair, FALSE)) as fair, COUNT(NULLIF( fair, 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://

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 y

Re: [GENERAL] Problem using CASTed timestamp column

2010-11-11 Thread Richard Broersma
ou 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://ww

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

2010-11-09 Thread Richard Broersma
postgresql's INTEGER to access's [yes/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 cha

Re: [GENERAL] Why facebook used mysql ?

2010-11-08 Thread Richard Broersma
terest. 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+performance&m=1&l=NULL&d=365&s=r&p=1 -- Regards, Richard Broersma

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

2010-11-08 Thread Richard Broersma
nstallers! -- 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] 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 (

Re: [GENERAL] experience with tags schemas

2010-11-05 Thread Richard Broersma
ogle.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 subscripti

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
On Mon, Nov 1, 2010 at 9:52 AM, Richard Broersma wrote: > On Mon, Nov 1, 2010 at 9:47 AM, Carlos Mennens > 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 I can >> recover

Re: [GENERAL] 8.4 Data Not Compatible with 9.0.1 Upgrade?

2010-11-01 Thread Richard Broersma
ent 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

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

2010-10-29 Thread Richard Broersma
ull Name *E-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 --

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

2010-10-21 Thread Richard Broersma
What happens when you issue this query directly 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 c

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

2010-09-22 Thread Richard Broersma
ute AS a INNER JOIN pg_catalog.pg_class c ON C.oid = a.attrelid WHERE 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 -- S

Re: [GENERAL] Alter Table Command Rearranges Rows

2010-09-17 Thread Richard Broersma
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://pugs.postgresq

Re: [GENERAL] Post Install / Secure PostgreSQL

2010-09-15 Thread Richard Broersma
found. > postgres=# \d try: 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-general

Re: [GENERAL] Identify Login User & Permissions

2010-09-14 Thread Richard Broersma
\dn 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 subscriptio

Re: [GENERAL] Identify Login User & Permissions

2010-09-14 Thread Richard Broersma
rg/docs/9.0/static/functions-info.html Note that there is a slight distinction between current_user and session_user. postgres=> select user, current_user, session_user; current_user | current_user | session_user --+--+-- broersr | broersr | broersr

Re: [GENERAL] Post Install / Secure PostgreSQL

2010-09-14 Thread Richard Broersma
#x27;newpass'); You'd want 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) htt

Re: [GENERAL] regexp on null

2010-09-10 Thread Richard Broersma
ull. 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] regexp on null

2010-09-10 Thread Richard Broersma
umn ~ E'MyRegEx' ) 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-general

Re: [GENERAL] Post Install / Secure PostgreSQL

2010-09-10 Thread Richard Broersma
reSQL 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 subscri

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

2010-06-04 Thread Richard Broersma
g/wiki/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://www.postgres

[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 Bro

[GENERAL] Altering Domain Constraints on composite types

2010-06-03 Thread Richard Broersma
ot alter type "tag_function" because column "tags"."tag" uses it broersr=> rollback; ROLLBACK -- 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] [NOVICE] sum multiple tables gives wrong answer?

2010-06-02 Thread Richard Broersma
uot;::VARCHAR AS lawntype FROM green UNION ALL SELECT flaech, "fairway"::VARCHAR AS lawntype 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 t

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

2010-06-01 Thread Richard Broersma
e perceptive clients using optimistic locking. However, as Marko 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 chang

Re: [GENERAL] SELECT my_table.varchar FROM my_table

2010-05-31 Thread Richard Broersma
get this result is: SELECT ROW( my_table.* ) FROM 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-gene

[GENERAL] emitting custom INSERT, UPDATE, DELETE row_counts

2010-05-30 Thread Richard Broersma
ncorrectly 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.post

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 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 Actually t

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

2010-05-29 Thread Richard Broersma
ments were in fact processed, so the refreshed row in the view appears to have an non-atomic update 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:

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

2010-05-29 Thread Richard Broersma
alies 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 (

Re: [GENERAL] child/parent creation

2010-05-29 Thread Richard Broersma
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 (pgsq

Re: [GENERAL] getting all constraint violations

2010-05-21 Thread Richard Broersma
ade 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 change

[GENERAL] Fwd: Google Alert - postgresql 8.4

2010-05-17 Thread Richard Broersma
rts/manage?hl=en&gl=us&source=alertsmail&cd=CaigIeWKJt8&cad=:s1:f1:v0:>your alerts. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug

[GENERAL] ALTER DOMAIN feature request

2010-05-14 Thread Richard Broersma
s in the \dD command. However, I 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@post

[GENERAL] psql feature request (\dd+)

2010-05-14 Thread Richard Broersma
pkey" PRIMARY KEY, btree (area_code, process_code, loop_nbr, tag_seq) Check constraints: "valid_area_codes" CHECK (area_code >= 0 AND area_code <= ) "valid_loop_nbrs" CHECK (loop_nbr >= 0 AND loop_nbr <= ) "valid_process_codes" CHECK (

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

2010-05-13 Thread Richard Broersma
t; 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 PostgreSQ

Re: [GENERAL] Auditing usage

2010-05-12 Thread Richard Broersma
ed 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 U

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 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 yea

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

2010-05-12 Thread Richard Broersma
Is there any 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

[GENERAL] Reliability of Windows versions 8.3 or 8.4

2010-05-12 Thread Richard Broersma
e, I used 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)

Re: [GENERAL] Moving postgresql data to another computer

2010-05-11 Thread Richard Broersma
gresql.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://www

Re: [GENERAL] Moving postgresql data to another computer

2010-05-11 Thread Richard Broersma
onsistent copy: http://www.postgresql.org/docs/8.4/interactive/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

Re: [GENERAL] Avoiding surrogate keys

2010-05-04 Thread Richard Broersma
e 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) To

Re: [GENERAL] GeSHi module for Postgresql?

2010-05-03 Thread Richard Broersma
ndix.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

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

2010-03-19 Thread Richard Broersma
e 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-t

Re: [GENERAL] Sorting performance vs. MySQL

2010-02-22 Thread Richard Broersma
onid); 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://www

[GENERAL] Scale 8X Exhibition Booth Attendants

2010-01-25 Thread Richard Broersma
an achieve 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

[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
sense 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 L

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

2010-01-06 Thread Richard Broersma
key 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 mailin

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

2009-12-24 Thread Richard Broersma
r work 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

Re: [GENERAL] Simple function

2009-12-23 Thread Richard Broersma
elect countertest(24); 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 (pg

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

2009-12-22 Thread Richard Broersma
e/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
hours 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 Br

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

2009-12-16 Thread Richard Broersma
pgrade 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@postgresql.org) To make c

Re: [GENERAL] PG Windows - Installer Error

2009-12-15 Thread Richard Broersma
o the > infrastructure guys 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 -- Se

Re: [GENERAL] 8.4.2 - Windows Binaries

2009-12-14 Thread Richard Broersma
On Mon, Dec 14, 2009 at 9:10 AM, Dave Page wrote: >> It currently shows the binaries for 8.4.1. > Did you try a reload? Yes, It shows 8.4.2. Actually the page refreshed two minutes after I sent the email. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Gro

  1   2   3   4   5   6   >