Re: [GENERAL] postgres oracle emulation question

2005-03-22 Thread Guy Rouillier
using the OCI driver and point it to a PostgreSQL database, that's not going to happen, as the communications protocols are totally different. -- Guy Rouillier ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [GENERAL] Pgsql dynamic statements and null values

2005-03-09 Thread Guy Rouillier
Ragnar HafstaĆ° wrote: > On Tue, 2005-03-08 at 16:30 -0600, Guy Rouillier wrote: >> We use a dynamic statement in a pgsql stored function to insert rows >> into a table determined at run time. After much debugging, I've >> discovered that a null incoming argum

Re: [GENERAL] postgresql on gentoo

2005-03-09 Thread Guy Rouillier
ery few dependencies. So you might want to consider that alternative. You'll lose Gentoo's management of the PG installation, but I don't find that a major issue. -- Guy Rouillier ---(end of broadcast)--- TIP 1: subscribe an

[GENERAL] Pgsql dynamic statements and null values

2005-03-08 Thread Guy Rouillier
check_null(inval) || ' ) '; execute sqlstmt; return; END; $$ LANGUAGE plpgsql; -- Guy Rouillier ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an app

Re: [GENERAL] PRoblems instalation PostgreeSQL8.0.1 in WindowsXP

2005-03-04 Thread Guy Rouillier
t it says: it wants an NTFS logical partition to install on. Apparently your XP Home uses a FAT32 partition, probably because you upgraded from Win9x. You should have an accessory to convert to NTFS. -- Guy Rouillier ---(end of broadcast)--- TIP 3

Re: [GENERAL] pgadmin3 / postgresql newbie question

2005-03-02 Thread Guy Rouillier
your list of listen_addresses in postgresql.conf. -- Guy Rouillier ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly

Re: [GENERAL] exporting table for load into oracle

2005-02-28 Thread Guy Rouillier
cle exported dates like this: "9/14/2004 6:40:21 PM". PG took 'em right in with no special instructions, and produced the correct timestamp. Hats off to the PG developers! Thanks for all your work. -- Guy Rouillier ---(end of broadcast)

Re: [GENERAL] basic trigger using OLD not working?

2005-02-24 Thread Guy Rouillier
Title: Message The RAISE statement requires a % marker for each variable you want to include in the output text. --Guy Rouillier -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rick CaseySent: Thursday, February 24, 2005 5:51 PMTo: pgsql

Re: [GENERAL] library files

2005-02-23 Thread Guy Rouillier
ograms to talk with PostgreSQL? See section 27.15. Building libpq Programs. Seems pretty clearly laid out there. -- Guy Rouillier ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [GENERAL] PQsetdb

2005-02-23 Thread Guy Rouillier
;> ^ ^^^ >> Those aren't going to help, are they? >> >> -- >>Richard Huxton >>Archonet Ltd >> -- Guy Rouillier ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Re: [GENERAL] Apparent anomaly with views and unions

2005-02-11 Thread Guy Rouillier
Tom and Stephan, thank you both for taking the time to reply. Further comments inline. Tom Lane wrote: > Stephan Szabo <[EMAIL PROTECTED]> writes: >> On Fri, 11 Feb 2005, Guy Rouillier wrote: >>> Now I create a view like this: >>> create or replace view v1 as s

[GENERAL] Apparent anomaly with views and unions

2005-02-11 Thread Guy Rouillier
ng any n to n+1 union transition is also allowed.) Is this intentional? It was certainly not predictable. -- Guy Rouillier ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [GENERAL] Postgresql and Athlon64 ?

2005-01-31 Thread Guy Rouillier
d benchmark numbers, but AMD claims about a 15% general performance improvement switching from 32-bit to 64-bit. -- Guy Rouillier ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail com

Re: [GENERAL] Splitting queries across servers

2005-01-29 Thread Guy Rouillier
discontinuing it. -- Guy Rouillier ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [BUGS] [GENERAL] My postmaster just crashed !

2005-01-27 Thread Guy Rouillier
qual. On AMD64, gcc produced: int 4 long 8 pointer 8 -- Guy Rouillier ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Re: [GENERAL] Oracle and PostgreSQL

2005-01-27 Thread Guy Rouillier
e PG dblink mechanism is pretty generic. > > > And finally, do you know a good comparison chart or benchmark between > these two databases? A Brazilian university teacher made one > (http://www.ic.unicamp.br/~celio/livrobd/docs/benchmark.html) but I'd > like to see other

Re: [GENERAL] Partitioning Postgresql

2005-01-26 Thread Guy Rouillier
u need to join the two tables, you can even do that with the dblink add-on. Finally, if you are using Java, ObjectWeb has a RAIDb driver that can transparently distribute databases over a cluster of servers. See http://c-jdbc.objectweb.org/. -- Guy Rouillier --

Re: [GENERAL] Best Linux Distribution

2005-01-19 Thread Guy Rouillier
eiser, I gave up and installed Gentoo. -- Guy Rouillier ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [GENERAL] Simulating WAL on separate disks

2005-01-10 Thread Guy Rouillier
ates). Thanks, Tom. This app has very high insert activity. What's the best way to minimize the effect of WAL given that we don't have separate disks to put it on in our test environment? -- Guy Rouillier ---(end of broadcast)

[GENERAL] Simulating WAL on separate disks

2005-01-10 Thread Guy Rouillier
disks for WAL in our test environment, I'd like to minimize the effect of WAL. I've read the sections in both the tuning guide and the base documentation, and I'm still a little unclear about fsync and wal_sync_method. If I set fsync FALSE, does this disable WAL ent

Re: [GENERAL] hundreds of millions row dBs

2005-01-03 Thread Guy Rouillier
rely, > Doug Greer We're getting about 64 million rows inserted in about 1.5 hrs into a table with a multiple-column primary key - that's the only index. That's seems pretty good to me - SQL Loader takes about 4 hrs to do the same job. -- Guy Rouillier --

Re: [GENERAL] looking for connection leaks

2004-12-30 Thread Guy Rouillier
ly. Quick and easy, just turn on debug for the connections. If you want something more customized, every connection has a unique object reference; you can just print it out in the log. -- Guy Rouillier ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [GENERAL] Scheduler in Postgres

2004-12-20 Thread Guy Rouillier
ust authentication, but the PostgreSQL documentation recommends against general use of trust authentication (and I agree with that recommendation in a production environment.) As described in other messages in this thread, putting a scheduler in the database would all

Re: [GENERAL] Scheduler in Postgres

2004-12-17 Thread Guy Rouillier
ordinate work by multiple systems. -- Guy Rouillier ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html

Re: [GENERAL] Check if table exists

2004-12-17 Thread Guy Rouillier
to get rows from it. For a non-destructive operation (i.e., select), you may be better off just doing the select, and watching for a "table does not exist" error. -- Guy Rouillier ---(end of broadcast)--- TIP 1: subscribe and unsubscribe

Re: [GENERAL] pl/pgsql oddity

2004-12-16 Thread Guy Rouillier
mming languages and other DMBSs) I would certainly vote for allowing elseif. This is my first encounter of "else" without the terminating "e", and that would not be a natural omission for me. -- Guy Rouillier ---(end of broadcast)---

Re: [GENERAL] Can a database notify all clients when something changes?

2004-12-15 Thread Guy Rouillier
ensome (lots of triggers.) -- Guy Rouillier ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Re: [GENERAL] problem in connecting to postgreserver

2004-12-12 Thread Guy Rouillier
nning on host 127.0.0.1 and accepting TCP/IP > connections on port 5432. What operating system are you running? Are you running with the stock postgresql.conf and pg_hba.conf files? How did you configure the connection in PgAdmin III? -- Guy Rouillier --

[GENERAL] High volume inserts - more disks or more CPUs?

2004-12-12 Thread Guy Rouillier
s (80 MB) provides little or no improvement. Where should we start? (3) If we go with more disks, should we attempt to split tables and indexes onto different drives (i.e., tablespaces), or just put all the disks in hardware RAID5 and use a single tablespace? I appreciate all suggestions. -- Guy R

Re: [GENERAL] Best practice in postgres

2004-12-11 Thread Guy Rouillier
mas into separate DBs. Also, 8.0 has an auto-vacuum daemon that is supposed to lighten the load incurred by vacuum by checking frequently in the background. -- Guy Rouillier ---(end of broadcast)--- TIP 6: Have you searched our list ar

Re: [GENERAL] Performance tuning on RedHat Enterprise Linux 3

2004-12-10 Thread Guy Rouillier
ach connection was serviced by a single, non-threaded process. Have I interpreted this incorrectly? Are you saying that the backend process actually is multi-threaded? In the example you site, multiple sorts could be accomplished serially in a non-threaded process. -- Guy Rouillier --

Re: [GENERAL] Select distinct sorting all rows 8.0rc1

2004-12-05 Thread Guy Rouillier
e_min_stats_200408; QUERY PLAN >> >> -------- >> >> Time: 1284213.359 ms -- Guy Rouillier ---(end of broadcast)--- TIP 2:

[GENERAL] Select distinct sorting all rows 8.0rc1

2004-12-04 Thread Guy Rouillier
) Sort Key: service_id -> Seq Scan on five_min_stats_200408 (cost=0.00..1668170.12 rows=63309612 width=12) (actual time=0.061..80398.222 rows=63359396 loops=1) Total runtime: 1284212.556 ms (5 rows) Time: 1284213.359 ms -- Guy Rouillier ---(end of broadcast

Re: [GENERAL] Using default tablespace for database?

2004-11-30 Thread Guy Rouillier
ablespace name does not appear to be associated with the table in the system catalog? Perhaps the tablespace name is not recorded if it is the default TS? -- Guy Rouillier ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unr

[GENERAL] Using default tablespace for database?

2004-11-30 Thread Guy Rouillier
XXts to ", then (1) works. Even then, \d+ and pg_class still show no tablespace for this table. (1) and (2) look the same in the system catalog tables (and in the views in PgAdmin III.) -- Guy Rouillier ---(end of broadcast)---

Re: [GENERAL] Physical Database Configuration

2004-03-26 Thread Guy Rouillier
Bruno Wolff III wrote: > On Fri, Mar 26, 2004 at 11:53:47 -0600, > Guy Rouillier <[EMAIL PROTECTED]> wrote: >> >> I saw in the referenced sequence of posts that PostgreSQL will close >> a file for a table once it reaches 1 GB, and start a new file. So >&g

[GENERAL] Physical Database Configuration

2004-03-26 Thread Guy Rouillier
n multiple files for a single table. Is there any way for me to control that, so I can get PostgreSQL to start a new file on the 1st of each month? Or is this planned for tablespaces, which I also saw discussed. Thanks. -- Guy Rouillier ---(end of

<    1   2   3