Re: [GENERAL] ECPG problem with 8.3

2008-01-14 Thread Shelby Cain
porting applications from Oracle to Postgresql. Regards, Shelby Cain Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt

Re: [GENERAL] PhpBB 3.x query review

2008-01-07 Thread Shelby Cain
in premature optimization by adding indexes to this table. If you expect that table to eventually contain many thousands of entries then an index might be prudent. Regards, Shelby Cain Be a better

[GENERAL] Column pgl.transaction does not exist in 8.3 beta 4

2007-12-07 Thread Shelby Cain
? Regards, Shelby Cain Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs ---(end of broadcast)--- TIP 2: Don't 'kill -9

Re: [GENERAL] 8.2.3: Server crashes on Windows using Eclipse/Junit

2007-10-20 Thread Shelby Cain
system right around the 200th connection. Regards, Shelby Cain __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---(end of broadcast)--- TIP 3

Re: [GENERAL] 8.2.3: Server crashes on Windows using Eclipse/Junit

2007-10-20 Thread Shelby Cain
--- Trevor Talbot [EMAIL PROTECTED] wrote: On 10/20/07, Shelby Cain [EMAIL PROTECTED] wrote: I'd personally vote for a lower warning limit like 175 as I can consistently crash Postgresql on Windows system right around the 200th connection. What error gets logged for your crashes

Re: [GENERAL] 8.2.3: Server crashes on Windows using Eclipse/Junit

2007-10-20 Thread Shelby Cain
with the /3GB switch. Regards, Shelby Cain __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [GENERAL] replacing Access/ Approach etc

2007-09-08 Thread Shelby Cain
starts Postgresql. Compared to that, I don't really understand follow your argument as to why installing Postgresql as a service and stopping/starting it through the service control panel such a big deal. Regards, Shelby Cain - Original Message From: Zenaan Harkness [EMAIL PROTECTED

Re: [GENERAL] FATAL: could not reattach to shared memory (Win32)

2007-08-24 Thread Shelby Cain
- Original Message From: Magnus Hagander [EMAIL PROTECTED] To: Shelby Cain [EMAIL PROTECTED] Cc: Alvaro Herrera [EMAIL PROTECTED]; Terry Yapt [EMAIL PROTECTED]; pgsql-general@postgresql.org Sent: Friday, August 24, 2007 1:08:44 AM Subject: Re: [GENERAL] FATAL: could not reattach

Re: [GENERAL] FATAL: could not reattach to shared memory (Win32)

2007-08-24 Thread Shelby Cain
I apologize for resending this but my editor in combination with Yahoo's web mail interface horribly mangled it... - Original Message From: Magnus Hagander [EMAIL PROTECTED] To: Shelby Cain [EMAIL PROTECTED] Cc: Alvaro Herrera [EMAIL PROTECTED]; Terry Yapt [EMAIL PROTECTED]; pgsql

Re: [GENERAL] FATAL: could not reattach to shared memory (Win32)

2007-08-23 Thread Shelby Cain
into a process at a fixed location that just happens to already be occupied by a dll that Windows had decided to relocate? Regards, Shelby Cain Pinpoint customers who are looking for what you sell. http

Re: [GENERAL] How to Kill IDLE users

2007-02-28 Thread Shelby Cain
Since he has so many connections, perhaps the crash is related to bugs #2609 and #1641? 8.2.x seems to have the problem as well. Regards, Shelby Cain - Original Message From: Scott Marlowe [EMAIL PROTECTED] To: Goran Rakic [EMAIL PROTECTED] Cc: pgsql general pgsql-general

Re: [GENERAL] Database performance comparison paper.

2007-02-15 Thread Shelby Cain
of configuration files. === That doesn't sound like a very useful methodology for benchmarking. Regards, Shelby Cain - Original Message From: Marc Evans [EMAIL PROTECTED] To: pgsql-general@postgresql.org Sent: Thursday, February 15, 2007 12:21:03 PM

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

2007-01-08 Thread Shelby Cain
certain features of the TCP/IP stack (e.g.: low limits for the TCP connection backlog). In theory, if you had a flood of incoming connections only some of them would be serviced correctly before the backlog limit was reached. Regards, Shelby Cain - Original Message From: Oisin Glynn

Re: [GENERAL] PG_MODULE_MAGIC check in 8.2

2006-11-15 Thread Shelby Cain
I hadn't considered that. Thanks. Regards, Shelby Cain - Original Message From: Martijn van Oosterhout kleptog@svana.org To: Shelby Cain [EMAIL PROTECTED] Cc: pgsql-general pgsql-general@postgresql.org Sent: Wednesday, November 15, 2006 1:15:02 AM Subject: Re: [GENERAL

Re: [GENERAL] Data corruption

2006-11-15 Thread Shelby Cain
Do you have antivirus software installed on the server? I seem to recall A/V software being a common source of permission denied errors when running Postgresql on Windows. Regards, Shelby Cain - Original Message From: Ardian Xharra [EMAIL PROTECTED] To: Jeff Davis [EMAIL PROTECTED

[GENERAL] PG_MODULE_MAGIC check in 8.2

2006-11-14 Thread Shelby Cain
the desired behavior? Regards, Shelby Cain ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [GENERAL] PG_MODULE_MAGIC check in 8.2

2006-11-14 Thread Shelby Cain
that wraps the calls later. Since I am familiar with building Postgresql from source that is something I'd much rather do after removing the check for a short-term solution. Regards, Shelby Cain - Original Message From: Martijn van Oosterhout kleptog@svana.org To: Shelby Cain [EMAIL

Re: [GENERAL] lots of values for IN() clause

2006-11-02 Thread Shelby Cain
the configuration parameter max_stack_depth. DROP TABLE Regards, Shelby Cain - Original Message From: Markus Schiltknecht [EMAIL PROTECTED] To: pgsql general pgsql-general@postgresql.org Sent: Thursday, November 2, 2006 9:21:52 AM Subject: [GENERAL] lots of values for IN() clause Hi

Re: [GENERAL] lots of values for IN() clause

2006-11-02 Thread Shelby Cain
No segfault in 8.1.5 on win32 either... - Original Message From: Markus Schiltknecht [EMAIL PROTECTED] To: Shelby Cain [EMAIL PROTECTED] Cc: pgsql general pgsql-general@postgresql.org Sent: Thursday, November 2, 2006 9:55:08 AM Subject: Re: [GENERAL] lots of values for IN() clause Hi

Re: [GENERAL] allow LIMIT in UPDATE and DELETE

2006-05-23 Thread Shelby Cain
- Original Message From: Jim C. Nasby [EMAIL PROTECTED] To: Shelby Cain [EMAIL PROTECTED] Cc: Csaba Nagy [EMAIL PROTECTED]; [EMAIL PROTECTED]; Postgres general mailing list pgsql-general@postgresql.org; [EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 5:19:58 PM Subject: Re: [GENERAL] allow

Re: [GENERAL] allow LIMIT in UPDATE and DELETE

2006-05-22 Thread Shelby Cain
- Original Message From: Jim C. Nasby [EMAIL PROTECTED] To: Shelby Cain [EMAIL PROTECTED] Cc: Csaba Nagy [EMAIL PROTECTED]; [EMAIL PROTECTED]; Postgres general mailing list pgsql-general@postgresql.org; [EMAIL PROTECTED] Sent: Monday, May 22, 2006 5:04:51 PM Subject: Re: [GENERAL] allow

Re: [GENERAL] allow LIMIT in UPDATE and DELETE

2006-05-19 Thread Shelby Cain
. If there could be a performance gain in Postgresql with delete from X where Y limit Z vs delete from X where Y in (some subselect limit Z) I'd think Csaba suggestion has some merit. Regards, Shelby Cain ---(end of broadcast)--- TIP 9: In versions

Re: [GENERAL] allow LIMIT in UPDATE and DELETE

2006-05-19 Thread Shelby Cain
a internal developer use a script to perform such maintenance as a batch process is considered free so you can guess how many such processes have been created over the years. Regards, Shelby Cain ---(end of broadcast)--- TIP 5: don't forget

Re: [GENERAL] allow LIMIT in UPDATE and DELETE

2006-05-19 Thread Shelby Cain
- Original Message From: Csaba Nagy [EMAIL PROTECTED] To: Shelby Cain [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; Postgres general mailing list pgsql-general@postgresql.org; [EMAIL PROTECTED] Sent: Friday, May 19, 2006 11:46:42 AM Subject: Re: [GENERAL] allow LIMIT in UPDATE and DELETE

Re: [GENERAL] [ODBC] Problem using ODBC from .NET framework

2006-02-09 Thread Shelby Cain
--- Ludek Finstrle [EMAIL PROTECTED] wrote: Hi all. I having an issue with the 8.01.01.02 ODBC driver that is installed via the 8.1.x Windows installer. ... Anyone have any ideas whats going on or how I can get back to the 8.0.x behavior? There is newer 08.01 psqlODBC version.

Re: [GENERAL] [ODBC] Problem using ODBC from .NET framework

2006-02-09 Thread Shelby Cain
down a bit. I only receive the The connection is dead error when an error occurs after I've explicitly defined a transaction via ADO.Net's OdbcConnection.BeginTransaction() function. I'd be happy to send you a small C# test case in if you wish. Regards, Shelby Cain

Re: [GENERAL] Debian Packages For PostgreSQL

2006-02-09 Thread Shelby Cain
://pdo.debian.org/ instead for the time being. Regards, Shelby Cain __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---(end of broadcast)--- TIP

Re: [GENERAL] Debian Packages For PostgreSQL

2006-02-09 Thread Shelby Cain
--- Redefined Horizons [EMAIL PROTECTED] wrote: It looks like the packages.debian.org site is down. Is there another place where I can download a .deb for the latest stable version of PostgreSQL. (I don't have a direct link to the internet on my Linux box, so I can't use APT.) Sorry...

[GENERAL] Problem using ODBC from .NET framework

2006-02-08 Thread Shelby Cain
Hi all. I having an issue with the 8.01.01.02 ODBC driver that is installed via the 8.1.x Windows installer. Whenever there is an error on the connection (eg: trying to execute a sql statement that has a syntax error as an example) the System.Data.OdbcConnection object throws an exception -

Re: [GENERAL] Transact SQL compatibility layer

2006-01-23 Thread Shelby Cain
, you'd be much better off designing your application such that it explicitly supports multiple databases to begin with. Regards, Shelby Cain __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: [GENERAL] Functions as a Security Layer

2006-01-08 Thread Shelby Cain
. If the creating user has the necessary access to the underlying objects you'll get the behavior you desire. Shelby Cain __ Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com ---(end

Re: [GENERAL] Why database is corrupted after re-booting

2005-10-26 Thread Shelby Cain
Additionally, you should also take the opportunity to defrag the filesystem after the conversion as the change in cluster size (I'm guessing from 64k to 4k) will leave your shiny new NTFS file system highly fragmented. --- Wes Williams [EMAIL PROTECTED] wrote: Type the following at the Windows

Re: [GENERAL] Pertinent to list? PostgreSQL and Dev-Cpp Dev-C++ on Windows example

2005-10-02 Thread Shelby Cain
-doc, I'd say posting here in pgsql-general would be fine. I believe pgsql-doc is focused on the official project documentation distributed with pgsql. Regards, Shelby Cain __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com

Re: [GENERAL] Extremely slow performance with 'select *' after insert of 37,000 records

2005-06-16 Thread Shelby Cain
your local interface returned 40 megs of data from the backend to the client in under a second (perhaps disk I/O is the bottleneck here). Once again, that doesn't sound like an unreasonable figure to me. What is your OS/hardware/etc? Regards, Shelby Cain

Re: [GENERAL] Hash Function: MD5 or other?

2005-06-14 Thread Shelby Cain
: 3.56 seconds Average throughput: 121.06 MB/s Granted, MD5 isn't the quickest hashing algorithm out there but it is certainly fast enough for general use IMO. Regards, Shelby Cain __ Discover Yahoo! Find restaurants, movies, travel and more fun

Re: [GENERAL] Hash Function: MD5 or other?

2005-06-13 Thread Shelby Cain
of collision are small you'll want to write your query such that use use the index on the hash and then filter on the text field to guarantee you get the result you are interested in. Regards, Shelby Cain __ Do You Yahoo!? Tired of spam? Yahoo! Mail has

Re: [GENERAL] CPU-intensive autovacuuming

2005-06-10 Thread Shelby Cain
sleeping every time through the loop? How about something like: if (j%500 == 1) usleep(10) Regards, Shelby Cain __ Discover Yahoo! Stay in touch with email, IM, photo sharing and more. Check it out! http://discover.yahoo.com/stayintouch.html

Re: [GENERAL] Visual Studio 2005 .Net - Npgsql - Postgresql

2005-05-27 Thread Shelby Cain
recommend learning how ADO.Net works at the fundamental level so that you can (if necessary) code these things manually instead of having to rely on the forms designer provided by VS.Net. Regards, Shelby Cain __ Do You Yahoo!? Tired of spam? Yahoo

Re: [GENERAL] Adventures in Quest for GUI RAD

2005-05-06 Thread Shelby Cain
SDK from Microsoft? I realize that Tony Caduto may possibly encourage me to buy Delphi. I remember the Borland of old that offered extraordinarily powerful tools at a reasonable price. Unfortunately, they are not the same company they used to be. Regards, Shelby Cain Discover

Re: [GENERAL] Increasing statistics results in worse estimates

2005-04-29 Thread Shelby Cain
the number of columns I needed to demonstrate the weirdness so I can host a dump of the table. However, before I take that step I should mention that this is the native Windows port so if that changes anything let me know. Regards, Shelby Cain __ Do

Re: [GENERAL] ip connection on local p2p network

2005-04-29 Thread Shelby Cain
over the wire. Regards, Shelby Cain __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---(end of broadcast)--- TIP 2: you can get off all lists

[GENERAL] Increasing statistics results in worse estimates

2005-04-28 Thread Shelby Cain
it under estimated the row count. Re-analyzing the table multiple times always shows about an 8k estimate. Is my data set that promblematic? Has anyone seen similar behavior? Any suggestions on how to improve these stats? Regards, Shelby Cain __ Do

Re: [GENERAL] Change Windows path to Unix path...

2005-04-26 Thread Shelby Cain
--- [EMAIL PROTECTED] wrote: Hi, I'm trying to execute COPY command from some pgsql function. The filename is given as an argument of the function. But I get the filename like 'F:\tmp\file.txt' and I need to change this to 'F:/tmp/file.txt' before applying the COPY command. I

Re: [GENERAL] MS Access to PostgreSQL

2005-03-11 Thread Shelby Cain
the backslash in aPath like so: folder1\\folder2\\folder3 Regards, Shelby Cain __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ---(end of broadcast

Re: [GENERAL] PostgreSQL still for Linux only?

2005-03-09 Thread Shelby Cain
it isn't - unless of course you are referring to the non-NT variations. Regards, Shelby Cain __ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective

Re: [GENERAL] postgresql vs mysql performance comparison

2005-03-08 Thread Shelby Cain
is required unless the terms of the GPL (ie: if you distribute a binary to someone you must also be willing to distribute your source code if asked) a problem. Regards, Shelby Cain __ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective

Re: [GENERAL] stats collector appears to be dying

2005-02-24 Thread Shelby Cain
that off for the time being. Thanks for the response. :) Regards, Shelby Cain __ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250 ---(end of broadcast

Re: [GENERAL] PostgreSQL Installation Question

2004-09-29 Thread Shelby Cain
for the current 8.0 beta installer at http://pgfoundry.org/ for inspiration. Regards, Shelby Cain __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail

[GENERAL] pl/pgsql exceptions

2004-09-03 Thread Shelby Cain
Is there any way to retrieve the error code and error message text when an exception has been caught via exception when others in pl/pgsql? I'm looking essentially for the equivalent of Oracle's pl/sql sqlerrm and sqlcode variables. Regards, Shelby Cain

Re: [GENERAL] Postgresql 8.0 beta 1 - strange cpu usage statistics and slow vacuuming

2004-08-24 Thread Shelby Cain
was simply not syncing. Sounds reasonable. However, I don't see the same performance hit while doing bulk database operations (ie: inserts, deletes, updates). Is that expected behavior? Do vacuum operations fsync()/_commit() more often? Regards, Shelby Cain

[GENERAL] Postgresql 8.0 beta 1 - strange cpu usage statistics and slow vacuuming

2004-08-19 Thread Shelby Cain
and 8.0? Regards, Shelby Cain __ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail ---(end of broadcast)--- TIP 1: subscribe and unsubscribe

Re: [GENERAL] Postgresql 8.0 beta 1 - strange cpu usage statistics and slow vacuuming

2004-08-19 Thread Shelby Cain
? Regards, Shelby Cain __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

[GENERAL] Postgresql 8.0 beta 1 service issue

2004-08-13 Thread Shelby Cain
with a dialog box: The application failed to initialize properly (0xc142). Click OK to terminate the application. This is on a Windows 2000 SP4 system with PostgreSQL installed via the beta installer. Regards, Shelby Cain __ Do you Yahoo!? New

Re: [GENERAL] Postgresql 8.0 beta 1 service issue

2004-08-13 Thread Shelby Cain
Thanks for the info. --- Bruce Momjian [EMAIL PROTECTED] wrote: Right, you can not use them both because the statistics per statement and per-stage can't be done with the one set of system counters we have. The server logs should show the cause with a description of this. This

Re: [GENERAL] pg_dump what if?

2004-03-26 Thread Shelby Cain
Glad I could help. As Dustin pointed out, pg_dump will return a non-zero value to indicate an error. Regards, Shelby Cain --- Anony Mous [EMAIL PROTECTED] wrote: Thanks again. I've got it working using the API calls described. pg_dump does return an exit code of 0 upon success. Does

Re: [GENERAL] Memory usage during vacuum

2004-03-25 Thread Shelby Cain
it isn't the vacuum but the analyze that is eating all my precious ram. :) Any tips on minimizing the memory footprint during analyze (ie: backing off the 300 setting that I'm currently using) or is this just something I'll have to live with? Regards, Shelby Cain --- Tom Lane [EMAIL PROTECTED] wrote

Re: [GENERAL] Memory usage during vacuum

2004-03-25 Thread Shelby Cain
about whether I was overlookign a setting that could reduce the memory footprint during a vacuum analyze cycle than about getting it reduced. If it becomes a major pain I'll simply run the thing on off hours while I'm not at work. :) Regards, Shelby Cain --- Uwe C. Schroeder [EMAIL PROTECTED

Re: [GENERAL] Memory usage during vacuum

2004-03-25 Thread Shelby Cain
15 rows. Am I missing something obvious here? Shouldn't fewer rows be sampled when I set the collection target to 1? Regards, Shelby Cain --- Tom Lane [EMAIL PROTECTED] wrote: ... the issue is obviously ANALYZE and not VACUUM at all. What statistics targets are you using? It's hard

Re: [GENERAL] Memory usage during vacuum

2004-03-25 Thread Shelby Cain
curiosity on the matter. I've learned something that I didn't readily pick up from reading the documentation. Regards, Shelby Cain --- Tom Lane [EMAIL PROTECTED] wrote: Shelby Cain [EMAIL PROTECTED] writes: It still decided to sample 15 rows. Am I missing something obvious here

Re: [GENERAL] postmaster won't start under cygwin after password change

2004-03-24 Thread Shelby Cain
You have to update the credentials stored in the service configuration. Start-Run-services.msc-[service name]-Logon Regards, Shelby Cain --- Bill Harris [EMAIL PROTECTED] wrote: I asked on cygwin but no answer yet; maybe someone here knows. I've been running PostgreSQL 7.4.1 successfully

Re: [GENERAL] pg_dump what if?

2004-03-24 Thread Shelby Cain
You could spawn pg_dump via CreateProcess and call WaitForSingleObject() on the handle that CreateProcess returns in a worker thread. When the Wait() function returns, you can then call GetExitCodeProcess() on the same handle to get the process exit code. Just a thought. Regards, Shelby Cain

[GENERAL] Optimizer produces wildly different row count estimate depending on casts

2004-03-08 Thread Shelby Cain
instead? The txn_date column has statsistics set to 500 and these results are after a full vacuum and analyze. Regards, Shelby Cain __ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com ---(end

Re: [GENERAL] select statement against pg_stats returns inconsistent data

2004-02-25 Thread Shelby Cain
--- Tom Lane [EMAIL PROTECTED] wrote: Hoo, I'm surprised no one noticed this during 7.4 development/testing. The problem applies for any datatype that requires double alignment, which includes int8, float8, and timestamp as well as most of the geometric types. pg_statistic is declared as

[GENERAL] select statement against pg_stats returns inconsistent data

2004-02-24 Thread Shelby Cain
or perhaps a bug? Regards, Shelby Cain = c1scain=# select version(); version