Re: [GENERAL] Is autocommit=true bad?

2004-01-27 Thread Kris Jurka
rogress I believe this is a symptom of an old version of the jdbc driver. Perhaps upgrading that would make this go away. Kris Jurka ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [GENERAL] force drop of database others are accessing

2004-01-24 Thread Kris Jurka
... > > I would rather not have to do that, but I do not see another way. If you are creating a database from scratch why not create a brand new database and drop the old one at some later point in time when no one is connected. This has the additional benefit of the old db being availab

Re: [GENERAL] SQL Exception Relation xxx does not exist

2004-01-21 Thread Kris Jurka
. Restarting tomcat closes and reopens the connection to the database, so the query in the procedure gets replanned to use the new index and things run smoothly. Kris Jurka ---(end of broadcast)--- TIP 2: you can get off all lists at once with the u

Re: [GENERAL] measuring disk usage of records

2003-12-31 Thread Kris Jurka
ic from public"; Kris Jurka ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [GENERAL] MySQL Gets Functions in Java - Enlightenment Please

2003-12-20 Thread Kris Jurka
bout this is the prototype for a function is String exec(String []). So it's type checking certainly won't be great. It says (and means) version 0.1 and doesn't (yet) deserve all the noise it has caused. Kris Jurka ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [GENERAL] BLOBS : how to remove them totally

2003-12-20 Thread Kris Jurka
all returned ERROR: > invalid large-object descriptor: 0 This is usually a symptom of not being in a transaction. Large objects need to be done inside a transaction. Try adding connection.setAutoCommit(false) somewhere in your code. Kris Jurka ---

Re: [GENERAL] UTF support in WIN32 native and Lower/Upper in 7.5

2003-12-16 Thread Kris Jurka
gt; that it will be solved in native release, so UTF-8 should work as well ?? > You may be confusing locale with encoding here. UTF-8 is an encoding not a locale. Kris Jurka ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ?

Re: [GENERAL] cancel query

2003-12-11 Thread Kris Jurka
e JDBC driver does support Statement.cancel(), but the tricky part is that you need to have access to the Statement object that issued the original query. You can't just open a new connection and cancel another query. Kris Jurka ---(end of broadcast)--

Re: [GENERAL] SELECT Question

2003-11-20 Thread Kris Jurka
h id 31. If you had a table with an id column and 200 rows 1-200 you could do SELECT MIN(idtab.id) FROM idtab LEFT JOIN realtab ON (idtab.id = realtab.id AND realtab.id IS NULL) A useful generic function would be one something like range(min,max) that would return a set of rows so you wouldn&#x

Re: [GENERAL] how to find version?

2003-11-15 Thread Kris Jurka
On Sat, 15 Nov 2003, bpalmer wrote: > I'm trying to figure out what version of a source code I have. I know > it's a 7.2 release, but how can I find out of it's 7.2, 7.2.3, 7.2.4, > etc. FROM THE SOURCE CODE, not from compiling (it doesn't compile, it's > testing code). grep VERSION conf

Re: [GENERAL] group by

2003-10-03 Thread Kris Jurka
implementation (which is used for the group by) has problems dealing with large numbers of similar values. I think in later versions of pg our own qsort is used. Kris Jurka ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: RE : [GENERAL] mod_auth_pgsql 2.0.1 don't close the backend

2003-10-03 Thread Kris Jurka
know, I've written to the maintainer but until now I never > received any answer from him. Is there a CVS somewhere with that project Not that I know of. Kris Jurka ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [GENERAL] Unix domain instead of TCP socket connections with

2003-09-08 Thread Kris Jurka
C driver developers as the postgresql JDBC driver is a Type IV (pure java) driver. Is this factor of 3 difference in time the difference from running psql over unix sockets vs tcp, or is it the difference between a Java client and psql? If it's the latter you'r

Re: [GENERAL] Urgent: 10K or more connections

2003-07-18 Thread Kris Jurka
o grab some data off disk and shovel it out over HTTP, consider how much more work a database must do. http://www.kegel.com/c10k.html Kris Jurka ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

<    1   2