Re: [GENERAL] Error handling in stored functions/procedures

2004-05-30 Thread Jurgen Defurne
On Sun, 30 May 2004 22:08:10 +0200 Karsten Hilbert <[EMAIL PROTECTED]> wrote: > > This then, removes the first part of my explanation, and dumps me > > completely in the second part, which is where the biggest problems > > reside. > AFAICT 7.4 does much better error handling (no, you can't > easil

Re: [GENERAL] Error handling in stored functions/procedures

2004-05-30 Thread Jurgen Defurne
On Sun, 30 May 2004 20:04:50 +0200 Karsten Hilbert <[EMAIL PROTECTED]> wrote: > > a) The basic contents of the internal data dictionary can be used to > > check incoming fields from on their length and permitted contents. > > > > b) With a little extra work, I should be able to define a table > >

[GENERAL] Error handling in stored functions/procedures

2004-05-30 Thread Jurgen Defurne
I am currently designing an application which should be accessible from different interfaces. For this I like to be using stored procedures to process the contents of form submissions and dialog screens. After studying the PG database, it seems to me that I can fulfill the following requirements.

Re: [GENERAL] This is another testmail

2004-05-30 Thread Jurgen Defurne
On Sun, 30 May 2004 07:11:18 -0500 Bruno Wolff III <[EMAIL PROTECTED]> wrote: > On Sun, May 30, 2004 at 12:18:05 +0200, > Jurgen Defurne <[EMAIL PROTECTED]> wrote: > > > > Please do not reply or flame me for this. > > -- > > > >

[GENERAL] Python to postgresql interface

2004-04-17 Thread Jurgen Defurne
Dear all, I hope that my following question does not start a flamewar, but what do you consider the most mature Python to postgreSQL interface, psycopg, popy or pygresql ? Regards, Jurgen ---(end of broadcast)--- TIP 8: explain analyze is your fri

[GENERAL] Detailed error message information

2003-09-05 Thread Jurgen Defurne
Dear all, Is there a way to obtain more information about error messages, eg. the name of the column which generates an error ? I find it problematic that when some operations cause an error, there is no feedback about the complete error, eg. when I do an INSERT into a field, which exceeds the fi

Re: [GENERAL] table count limitation

2000-08-26 Thread Jurgen Defurne
Marcin Inkielman wrote: > On Sat, 26 Aug 2000, Jurgen Defurne wrote: > > > Date: Sat, 26 Aug 2000 07:36:25 +0200 > > From: Jurgen Defurne <[EMAIL PROTECTED]> > > To: Marcin Inkielman <[EMAIL PROTECTED]> > > Cc: postgreSQL general mailing list <[EMAIL

Re: [GENERAL] table count limitation

2000-08-25 Thread Jurgen Defurne
Marcin Inkielman wrote: > HI! > > I have such problem: > Is the amount of tables limited in Postgresql7.0? > Has anybody tried to use EFFECTIVELY a database > with 1 tables at all? > > Thx for help. Are you really sure you NEED a database with 1 tables ? Jurgen

Re: [GENERAL] 32KB Tuples

2000-06-07 Thread Jurgen Defurne
Patrick Welche wrote: > On Tue, Jun 06, 2000 at 06:42:08PM +0200, Jurgen Defurne wrote: > > A 'tuple' is an element of a set. A set is also called a table. When you do N > > insertions on a table, then you get a table/set of N tuples. When you > > query a table/

Re: [GENERAL] to pickle or not to pickle

2000-06-04 Thread Jurgen Defurne
ructure in memory, and not write them to any table or temporary file. Python has enough basic and extended datastructures to do that. If your tuplesize is 100 bytes and you are sure that you have a maximum of 300 tuples, then you will spend approximately 30 Kb of memory (not counting run-time overhead). Using a simple list to store your data will simplify your life much, and you don't need to worry about memory management. Good luck. Jurgen Defurne [EMAIL PROTECTED]

Re: [GENERAL] to pickle or not to pickle

2000-06-02 Thread Jurgen Defurne
ead, because your OS handles it directly. Concerning the benchmarking, it seems as if the only way to do this is to automatically start scripts which do what needs to be done and then measure what happens : nr of processes, CPU and IO-load. Jurgen Defurne [EMAIL PROTECTED]

Re: [GENERAL] Operations widh CURSORS

2000-06-02 Thread Jurgen Defurne
it. BEGIN WORK; -- Open cursors here -- Work with cursors here -- COMMIT or ROLLBACK, depending on the outcome of your program Jurgen Defurne [EMAIL PROTECTED]

Re: [GENERAL] Re: Speed of locating tables

2000-05-31 Thread Jurgen Defurne
s amount of analysts to reach a datamodel of 1M+ tables, or else it is based upon a large number of simple tables, in which case it could be reduced in size. I'm sorry, but my feeling is that 1M+ tables for a datamodel is preposterous. Jurgen Defurne [EMAIL PROTECTED]

Re: [GENERAL] INSERT WITH SELECT help

2000-05-23 Thread Jurgen Defurne
, have you thought about the fact that more than one person could have the same first and last names ? Do not confuse the improbable with the impossible. When names are entered, you should check how much results you have and probably show another screen on which the user can select the right person. Jurgen Defurne [EMAIL PROTECTED]

Re: [GENERAL] Auto-uppercase inserted column

2000-05-19 Thread Jurgen Defurne
cation and the database. Good luck. Jurgen Defurne [EMAIL PROTECTED]

Re: [GENERAL] Queries using the C API

2000-05-16 Thread Jurgen Defurne
good, you could probably write a similar interface to postgreSQL as is used in CodeBase. Good luck, Jurgen Defurne [EMAIL PROTECTED]

Re: [GENERAL] GTK or TCL/TK ... what do you prefer ? (beginner)

2000-04-28 Thread Jurgen Defurne
vironment like the above. > > > (...little bit affraid) > > Marcel Sierra i Alegret > from Barcelona Jurgen Defurne [EMAIL PROTECTED]

Re: [GENERAL] unique row identifier data type exhausted . . .

2000-04-22 Thread Jurgen Defurne
CYCLE option restarts the sequence automatically upon overflow. Of course, your analysis of the database should point out that it is possible to do this. Jurgen Defurne [EMAIL PROTECTED]

Re: [GENERAL] What are your using it for?

2000-04-19 Thread Jurgen Defurne
ase theory, normalisation, writing applications in several languages : Tcl/Tk for front-ends, PL/pgSQL for triggers and datamodel analysis. Jurgen Defurne [EMAIL PROTECTED]

Re: [GENERAL] Messages to Front End

2000-04-16 Thread Jurgen Defurne
ec $connection $query] if {![string compare [pg_result $QResult -status] "PGRES_COMMAND_OK"]} { clear_fields } else { message .errorMsg -text [pg_result $QResult -error] } What you can do is wait for your pg_result status, if it says OK then your front-end can issue the message itself. No need to write complex codings in a trigger. Jurgen Defurne [EMAIL PROTECTED]

Re: [GENERAL] Parallel databases?

2000-04-16 Thread Jurgen Defurne
-plug capabilities, it is possible to keep the system running either if a CPU goes down or if a drive fails. The worst thing that you can do is to base the implementation of your application upon the fact that the system should have high-availability requirements. That is not a database issue, b

Re: [GENERAL] Performance

1999-10-30 Thread Jurgen Defurne
o master myself. Regards, Jurgen Defurne Flanders Belgium

Re: [GENERAL] next steps

1999-10-29 Thread Jurgen Defurne
ss 0.98 is nice to create and view tables, but there are still many things which need to be implemented. Regards, Jurgen Defurne Flanders Belgium

[Fwd: [GENERAL] Performance]

1999-10-29 Thread Jurgen Defurne
University College of the Cariboo > ... [EMAIL PROTECTED] > .. http://www.ocis.net/~jcl > . > > The Search for Extraterrestrial Intelligence from Home: > http://setiathome.ssl.berkeley.edu > > LINUX! > > Jurgen Defurne Flanders Belgium