Re: [HACKERS] [GENERAL] Re : Solaris Performance - Profiling (Solved)

2002-04-02 Thread Justin Clift
Hi Tom, How about we include this and have configure somehow ensure the Solaris users get it automatically? There are a *bunch* of Solaris users out there. :-) Regards and best wishes, Justin Clift Mark kirkwood wrote: > > On Wed, 2002-04-03 at 04:02, Tom Lane wrote: > > > > Hmm. Where e

Re: [HACKERS] SHOW ALL as a query result

2002-04-02 Thread Dave Page
> -Original Message- > From: Christopher Kings-Lynne [mailto:[EMAIL PROTECTED]] > Sent: 03 April 2002 02:50 > To: Hackers > Cc: Tom Lane; [EMAIL PROTECTED] > Subject: SHOW ALL as a query result > > > Hi All, > > Now that Tom's modified the EXPLAIN output to appear as a > query resul

Re: [HACKERS] maxint reached?

2002-04-02 Thread Daniel Kalchev
>>>Tom Lane said: > Daniel Kalchev <[EMAIL PROTECTED]> writes: > > So in essence this means that my best bet is to again dump/reload the > > database... > > Either that or fix your queries to cast the literals explicitly. Sorry for the incomplete reply: this does not work: customer=# sel

Re: [HACKERS] maxint reached?

2002-04-02 Thread Daniel Kalchev
>>>Tom Lane said: > Daniel Kalchev <[EMAIL PROTECTED]> writes: > > So in essence this means that my best bet is to again dump/reload the > > database... > > Either that or fix your queries to cast the literals explicitly. There is more to it: customer=# select max(oid) from croute; m

Re: [HACKERS] pg_temp.XX.0

2002-04-02 Thread Bruce Momjian
You can stop the postmaster and start the postgres binary with the -O flag and delete the pg_temp tables. We don't have a cleanup for these failed backends but we should. Normally they are cleaned up. --- Daniel Kalchev w

[HACKERS] pg_temp.XX.0

2002-04-02 Thread Daniel Kalchev
I found out, that there are some probably temporary relations in one of my databases, with names (that show in vacuum verbose output) like pg_temp.12720.0. Are these the result of CREATE TEMP TABLE or simmilar and if so, can such relations be safely dropped? Perhaps a good idea to add some vac

Re: [HACKERS] Locale support is now on by default

2002-04-02 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > The determination of locale is now done as follows: > initdb --lc-collate, initdb --locale, LC_ALL, LC_COLLATE, LANG > initdb --no-locale is the same as initdb --locale=C, for convenience. I'm confused; what is the default behavior if you don't give

[HACKERS] Locale support is now on by default

2002-04-02 Thread Peter Eisentraut
The determination of locale is now done as follows: collate/ctype: initdb --lc-collate, initdb --locale, LC_ALL, LC_COLLATE, LANG messages/monetary/numeric/time: Have GUC variables lc_messages, etc. The default is "", which means to inherit from the environment (or whatever setlocale() does w

[HACKERS] Odd psql \i behaviour

2002-04-02 Thread Christopher Kings-Lynne
What's with this? current pwd = /home/chriskl usa=# \i ddlpack/kl_setnotnull.sql <-- tab completes properly DROP CREATE usa=# \i ~/ddlpack/kl_setnotnull.sql <-- tab completes properly ~/ddlpack/kl_setnotnull.sql: No such file or directory usa=# Chris ---(end of bro

Re: [HACKERS] BETWEEN SYMMETRIC/ASYMMETRIC

2002-04-02 Thread Tom Lane
"Christopher Kings-Lynne" <[EMAIL PROTECTED]> writes: > I was forced to put SYMMETRIC and ASYMMETRIC as reserved words - anything > else seemed to give shift/reduce errors. Is there anything I can do about > that? First thought is "don't try to be cute": forget the opt_asymmetry clause, and inst

Re: [HACKERS] Suggestions please: names for function cachability

2002-04-02 Thread Neil Conway
On Tue, 02 Apr 2002 23:39:35 -0500 "Tom Lane" <[EMAIL PROTECTED]> wrote: > Peter Eisentraut <[EMAIL PROTECTED]> writes: > > Well, for one thing, we might want to change the name to the correct > > spelling "cacheable". > > Is that correct? Apparently, other people are confused as well:

Re: [HACKERS] Suggestions please: names for function cachability

2002-04-02 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Well, for one thing, we might want to change the name to the correct > spelling "cacheable". Is that correct? I looked in the Oxford English Dictionary, the Random House Dictionary, and a couple other dictionaries of less substantial heft, and could

Re: [HACKERS] BETWEEN SYMMETRIC/ASYMMETRIC

2002-04-02 Thread Christopher Kings-Lynne
*sigh* I actually attached the diff this time... Chris > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Christopher > Kings-Lynne > Sent: Wednesday, 3 April 2002 12:26 PM > To: Hackers > Subject: [HACKERS] BETWEEN SYMMETRIC/ASYMMETRIC > > > Hi All,

[HACKERS] BETWEEN SYMMETRIC/ASYMMETRIC

2002-04-02 Thread Christopher Kings-Lynne
Hi All, As part of my ongoing quest to understand grammar files, I've been trying to implement BETWEEN SYMMETRIC/ASYMMETRIC. I've attached my current work. Can someone please look and tell me if I'm on the right track? With this patch, I get parse errors after BETWEEN if I go: SELECT 2 BETWEE

Re: [HACKERS] ANALYZE after restore

2002-04-02 Thread Tom Lane
Gavin Sherry <[EMAIL PROTECTED]> writes: > On Wed, 3 Apr 2002, Christopher Kings-Lynne wrote: >> Would it be an idea to have pg_dump append an ANALYZE; command to the end of >> its dumps to assist newbies / inexperienced admins? > I do not think this is desired behaviour. I agree with Gavin here

Re: [HACKERS] SHOW ALL as a query result

2002-04-02 Thread Joe Conway
Christopher Kings-Lynne wrote: > Hi All, > > Now that Tom's modified the EXPLAIN output to appear as a query > result, maybe SHOW and SHOW ALL should also be modified in that way. > The current NOTICE: business is a bit messy, and it sure would > assist projects just as pgAccess, phpPgAdmin

Re: [HACKERS] SHOW ALL as a query result

2002-04-02 Thread Peter Eisentraut
Christopher Kings-Lynne writes: > Now that Tom's modified the EXPLAIN output to appear as a query result, > maybe SHOW and SHOW ALL should also be modified in that way. The current > NOTICE: business is a bit messy, and it sure would assist projects just as > pgAccess, phpPgAdmin and pgAdmin wit

Re: [HACKERS] ANALYZE after restore

2002-04-02 Thread Gavin Sherry
On Wed, 3 Apr 2002, Christopher Kings-Lynne wrote: > Hi, > > Would it be an idea to have pg_dump append an ANALYZE; command to the end of > its dumps to assist newbies / inexperienced admins? I do not think this is desired behaviour. Firstly, pg_dump is not just for restoring data to the system

Re: [HACKERS] ANALYZE after restore

2002-04-02 Thread Neil Conway
On Wed, 3 Apr 2002 09:40:13 +0800 "Christopher Kings-Lynne" <[EMAIL PROTECTED]> wrote: > Hi, > > Would it be an idea to have pg_dump append an ANALYZE; command to the end of > its dumps to assist newbies / inexperienced admins? That strikes me as a good idea; a lot of the questions we get on -ge

[HACKERS] SHOW ALL as a query result

2002-04-02 Thread Christopher Kings-Lynne
Hi All, Now that Tom's modified the EXPLAIN output to appear as a query result, maybe SHOW and SHOW ALL should also be modified in that way. The current NOTICE: business is a bit messy, and it sure would assist projects just as pgAccess, phpPgAdmin and pgAdmin with displaying configuration! Als

Re: [HACKERS] Suggestions please: names for function cachability

2002-04-02 Thread Gavin Sherry
On Tue, 2 Apr 2002, Peter Eisentraut wrote: > Tom Lane writes: > > > Since I'm about to have to edit pg_proc.h to add a namespace column, > > I thought this would be a good time to revise the current proiscachable > > column into the three-way cachability distinction we've discussed > > before.

[HACKERS] ANALYZE after restore

2002-04-02 Thread Christopher Kings-Lynne
Hi, Would it be an idea to have pg_dump append an ANALYZE; command to the end of its dumps to assist newbies / inexperienced admins? Reason being is that I noticed that when I just restored a 50MB dump that the pg_statistic table had no contents... I think it'd be an idea... Chris --

Re: [HACKERS] Suggestions please: names for function cachability

2002-04-02 Thread Peter Eisentraut
Tom Lane writes: > Since I'm about to have to edit pg_proc.h to add a namespace column, > I thought this would be a good time to revise the current proiscachable > column into the three-way cachability distinction we've discussed > before. But I need some names for the values, and I'm not satisf

Re: [HACKERS] timeout implementation issues

2002-04-02 Thread Barry Lind
Since both the JDBC and ODBC specs have essentially the same symantics for this, I would hope this is done in the backend instead of both interfaces. --Barry Jessica Perry Hekman wrote: > On Mon, 1 Apr 2002, Tom Lane wrote: > > >>On the other hand, we do not have anything in the backend now

Re: [HACKERS] Suggestions please: names for function cachability attributes

2002-04-02 Thread Bradley McLean
* Tom Lane ([EMAIL PROTECTED]) [020402 16:42]: > Since I'm about to have to edit pg_proc.h to add a namespace column, > I thought this would be a good time to revise the current proiscachable > column into the three-way cachability distinction we've discussed > before. But I need some names for t

Re: [HACKERS] Suggestions please: names for function cachability

2002-04-02 Thread Joe Conway
Tom Lane wrote: > BTW, because of MVCC semantics, case 2 covers more ground than you might > think. We are interested in functions whose values cannot change during > a single "scan", ie, while the intra-transaction command counter does > not increment. So functions that do SELECTs are actually

Re: [HACKERS] Suggestions please: names for function cachability attributes

2002-04-02 Thread David Walker
My 2 cents. Level 1. with (isCachableStatic) Level 2. with (isCachableDynamic) Level 3. default In my mind (isCachable) sounds like level 1 On Tuesday 02 April 2002 03:40 pm, Tom Lane wrote: > Since I'm about to have to edit pg_proc.h to add a namespace column, > I thought this would be a good

[HACKERS] Suggestions please: names for function cachability attributes

2002-04-02 Thread Tom Lane
Since I'm about to have to edit pg_proc.h to add a namespace column, I thought this would be a good time to revise the current proiscachable column into the three-way cachability distinction we've discussed before. But I need some names for the values, and I'm not satisfied with the ideas I've ha

Re: [HACKERS] maxint reached?

2002-04-02 Thread Tom Lane
Daniel Kalchev <[EMAIL PROTECTED]> writes: > So in essence this means that my best bet is to again dump/reload the > database... Either that or fix your queries to cast the literals explicitly. regards, tom lane ---(end of broadcast)-

Re: [HACKERS] maxint reached?

2002-04-02 Thread Daniel Kalchev
>>>Tom Lane said: > This is one of a whole raft of cases involving undesirable assignment > of types to numeric constants; see past complaints about int4 being used > where int2 or int8 was wanted, numeric vs float8 constants, etc etc. > We're still looking for a promotion rule that does what

Re: [HACKERS] maxint reached?

2002-04-02 Thread Tom Lane
Daniel Kalchev <[EMAIL PROTECTED]> writes: > It turned out to be an query containing "oid = somenumber" called from perl script. >Is it possible that the default type conversion functions do not work as expected? No, but you do have to cast an oversize value to oid explicitly to prevent it from

Re: [HACKERS] maxint reached?

2002-04-02 Thread Daniel Kalchev
An followup to my previous post. It turned out to be an query containing "oid = somenumber" called from perl script. Is it possible that the default type conversion functions do not work as expected? Changing this to "oid = oid(somenumber)" worked as expected. Daniel

Re: [HACKERS]

2002-04-02 Thread Tom Lane
Alex Lau <[EMAIL PROTECTED]> writes: > CREATE TABLE mytesting ( dosnotmatter text ); > CREATE INDEX myunique ON mytesting oid; > will this help to make sure the oid is unique? No, but CREATE UNIQUE INDEX myunique ON mytesting (oid); would do the trick. regards, tom lan

[HACKERS] maxint reached?

2002-04-02 Thread Daniel Kalchev
Has anyone seen this: ERROR: dtoi4: integer out of range on 7.1.3 What worries me, is that at startup time, the log shows: DEBUG: database system was shut down at 2002-04-02 23:16:52 EEST DEBUG: CheckPoint record at (82, 1928435208) DEBUG: Redo record at (82, 1928435208); Undo record at (

Re: [HACKERS] status of IPv6 Support for INET/CIDR types

2002-04-02 Thread Bruce Momjian
Reinoud van Leeuwen wrote: > Hi, > > We are implementing a database for maintaining our IP addresses. Looking > in the current documentation, it seems that INET/CIDR types only support > IPv4 addresses until now, although > http://archives.postgresql.org/pgsql-patches/2001-09/msg00236.php > se

Re: [HACKERS] timeout implementation issues

2002-04-02 Thread Jessica Perry Hekman
On Tue, 2 Apr 2002, Bruce Momjian wrote: > BEGIN WORK; > query; > SET statement_timeout = 4; > query; > SET statement_timeout = 0; > query; > COMMIT; > SET statement_timeout = 0; > > Basically, it does the reset twice, once assuming the transaction

Re: [HACKERS] timeout implementation issues

2002-04-02 Thread Bruce Momjian
Jessica Perry Hekman wrote: > On Tue, 2 Apr 2002, Bruce Momjian wrote: > > > BEGIN WORK; > > query; > > SET statement_timeout = 4; > > query; > > SET statement_timeout = 0; > > query; > > COMMIT; > > SET statement_timeout = 0; > > > > Basically, it does the reset

Re: [HACKERS] Dblink and ISDN

2002-04-02 Thread Joe Conway
Rod Taylor wrote: > Out of curiousity, what happens if the remove server is unavailable? > I tried it against a bogus IP, and this is what I got: test=# select dblink_tok(t1.dblink_p,0) as f1, dblink_tok(t1.dblink_p,1) as f2 from (select dblink('hostaddr=123.45.67.8 dbname=template1','select

[HACKERS] Unicode ready?

2002-04-02 Thread Kevin McPherson
Is PostgreSQL unicode compliant/ready? Does it store/export text in Unicode wide-character format, or single character strings? ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail comman

Re: [HACKERS] timeout implementation issues

2002-04-02 Thread Bruce Momjian
Jessica Perry Hekman wrote: > On Mon, 1 Apr 2002, Tom Lane wrote: > > > On the other hand, we do not have anything in the backend now that > > applies to just one statement and then automatically resets afterwards; > > and I'm not eager to add a parameter with that behavior just for JDBC's > > co

Re: [HACKERS] How to give permission to others on data directory

2002-04-02 Thread David Walker
Create a separate user and both of you use sudo to start the database. If you're insistent on keeping yourself owner of the data then use sudo to give permission to your project partner to start the database. On Sunday 31 March 2002 05:49 am, Amit Khare wrote: > Hi Peter, > Thank you very much f

Re: [HACKERS] [GENERAL] v7.2.1 Released: Critical Bug Fix

2002-04-02 Thread Dean Hill
I was wondering if it is documented as to exactly how to do a minor upgrade. I've not been able to find it in the past, and I end up doing a full install, dump/reload. I'm running postgresql on nt/2000 using cygwin. Thanks -Dean -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[HACKERS]

2002-04-02 Thread Alex Lau
CREATE TABLE mytesting ( dosnotmatter text ); CREATE INDEX myunique ON mytesting oid; will this help to make sure the oid is unique? and is that right? if in fact the oid roll over, and insertation fail. Will reinsert get an new oid or the same oid retry. Alex ---(en

Re: [HACKERS] Contrib update

2002-04-02 Thread Bruce Momjian
Your patch has been added to the PostgreSQL unapplied patches list at: http://candle.pha.pa.us/cgi-bin/pgpatches I will try to apply it within the next 48 hours. --- Gilles DAROLD wrote: > Hi Justin, > > I have

Re: [HACKERS] Dblink and ISDN

2002-04-02 Thread Rod Taylor
Out of curiousity, what happens if the remove server is unavailable? - Original Message - From: "Joe Conway" <[EMAIL PROTECTED]> To: "Darko Prenosil" <[EMAIL PROTECTED]> Cc: "Hackers" <[EMAIL PROTECTED]> Sent: Tuesday, April 02, 2002 12:58 PM Subject: Re: [HACKERS] Dblink and ISDN >

Re: [HACKERS] [GENERAL] v7.2.1 Released: Critical Bug Fix

2002-04-02 Thread Richard Emberson
Generally, what is the duration between such an announcement and the appearence of the RPMs found on the Download PostgreSQL page? Also, the http://www.us.postgresql.org/news.html has no mention of this upgrade. Thanks. Richard "Marc G. Fournier" wrote: > Over this past weekend, the Postgre

[HACKERS] status of IPv6 Support for INET/CIDR types

2002-04-02 Thread Reinoud van Leeuwen
Hi, We are implementing a database for maintaining our IP addresses. Looking in the current documentation, it seems that INET/CIDR types only support IPv4 addresses until now, although http://archives.postgresql.org/pgsql-patches/2001-09/msg00236.php seems to suggest a patch for IPv6 has been

[HACKERS] hackers mail broken?

2002-04-02 Thread Bradley McLean
Original titles: Patch to add real cancel to ODBC driver Patch to add real can--cel to ODBC driver Bruce, sorry to bother you, would you forward this onto the list? I can't post for reasons I can't fathom. - Patch against 7,2 submitted for comment. It's a little messy; I had some trouble

[HACKERS] Threading in libpg on Solaris

2002-04-02 Thread Martin Renters
I'm working on getting libpq to function in a multi-threaded program on Solaris and I was getting errors back from the library about being unable to receive from the server. It turns out that on Solaris you need to compile libpq with the -D_REENTRANT flags set so that it defines errno to be a fun

[HACKERS] Patch to add real cancel to ODBC driver

2002-04-02 Thread Bradley McLean
Patch against 7,2 submitted for comment. It's a little messy; I had some trouble trying to reconcile the code style of libpq which I copied from, and odbc. Suggestions on what parts look ugly, and or where to send this (is there a separate ODBC place?) are welcome. This seems to work just fine;

[HACKERS] escape sequence conflicting w/ backup (i.e. pg_dump)

2002-04-02 Thread Matias Klein
I have a postgresql DB that contains a lot of HTML code. As you know, HTML contains numerous backslash( \ ) characters. When I use pg_dump to backup the DB I get a "CopyReadAttribute: end of record marker corrupted" error. Is there any way to circumvent this problem so that I can backup a DB

[HACKERS] SET NOT NULL / DROP NOT NULL as an HREF!

2002-04-02 Thread Christopher Kings-Lynne
OK, http://members.iinet.net.au/~klfamily/alternotnull.txt.gz This is an identical patch to what I've submitted twice now and hasn't come through... This is a complete patch to implement changing the nullability of an attribute. It passes all regressions tests. It includes its own quite compr

[HACKERS] SET NOT NULL/DROP NOT NULL patch

2002-04-02 Thread Christopher Kings-Lynne
This is a complete patch to implement changing the nullability of an attribute. It passes all regressions tests. It includes its own quite comprehensive regression test suite and documentation. It prevents you from modifying system tables, non-table relations, system attributes, primary keys an

Re: [HACKERS] Dblink and ISDN

2002-04-02 Thread Joe Conway
Joe Conway wrote: > Darko Prenosil wrote: > >> SAMPLE: >> >> create view myremotetable as >> select dblink_tok(t1.dblink_p,0) as f1, dblink_tok(t1.dblink_p,1) as f2 >> from (select dblink('hostaddr=127.0.0.1 port=5432 dbname=template1 >> user=postgres password=postgres' >>

Re: [HACKERS] mailing list problem

2002-04-02 Thread Oleg Bartunov
OK. Here is a test posting to hackers and Ccing to Marc Oleg On Tue, 26 Mar 2002, Marc G. Fournier wrote: > > ah, then that's gotta be it ... can you do me a favor and email > pgsql-hackers a simple test, so that I can get the email out of hte > approved messages and show you what I'm se

Re: [HACKERS] Dblink and ISDN

2002-04-02 Thread Joe Conway
Darko Prenosil wrote: > SAMPLE: > > create view myremotetable as > select dblink_tok(t1.dblink_p,0) as f1, dblink_tok(t1.dblink_p,1) as f2 > from (select dblink('hostaddr=127.0.0.1 port=5432 dbname=template1 > user=postgres password=postgres' > ,'select proname, prosrc fro

Re: [HACKERS] [GENERAL] v7.2.1 Released: Critical Bug Fix

2002-04-02 Thread Vince Vielhaber
On Tue, 2 Apr 2002, Tom Lane wrote: > Vince Vielhaber <[EMAIL PROTECTED]> writes: > > On Tue, 2 Apr 2002, Richard Emberson wrote: > >> Generally, what is the duration between such an announcement and the > >> appearence of > >> the RPMs found on the Download PostgreSQL page? > >> > >> Also, the

Re: [HACKERS] [GENERAL] v7.2.1 Released: Critical Bug Fix

2002-04-02 Thread Tom Lane
Vince Vielhaber <[EMAIL PROTECTED]> writes: > On Tue, 2 Apr 2002, Richard Emberson wrote: >> Generally, what is the duration between such an announcement and the >> appearence of >> the RPMs found on the Download PostgreSQL page? >> >> Also, the http://www.us.postgresql.org/news.html has no ment

Re: [HACKERS] [GENERAL] v7.2.1 Released: Critical Bug Fix

2002-04-02 Thread Vince Vielhaber
On Tue, 2 Apr 2002, Richard Emberson wrote: > Generally, what is the duration between such an announcement and the > appearence of > the RPMs found on the Download PostgreSQL page? > > Also, the http://www.us.postgresql.org/news.html has no mention of this It takes up to 24 hours for all of the

Re: [HACKERS] timeout implementation issues

2002-04-02 Thread Jessica Perry Hekman
On Mon, 1 Apr 2002, Tom Lane wrote: > On the other hand, we do not have anything in the backend now that > applies to just one statement and then automatically resets afterwards; > and I'm not eager to add a parameter with that behavior just for JDBC's > convenience. It seems like it'd be a big

Re: [HACKERS] [GENERAL] v7.2.1 Released: Critical Bug Fix

2002-04-02 Thread Doug McNaught
"Dean Hill" <[EMAIL PROTECTED]> writes: > I was wondering if it is documented as to exactly how to do a minor > upgrade. I've not been able to find it in the past, and I end up doing > a full install, dump/reload. I'm running postgresql on nt/2000 using > cygwin. Thanks -Dean Minor upgrades d

Re: [HACKERS] [GENERAL] v7.2.1 Released: Critical Bug Fix

2002-04-02 Thread Tom Lane
"Marc G. Fournier" <[EMAIL PROTECTED]> writes: > Over this past weekend, the PostgreSQL Global Development Group packaged > up and put onto our ftp server PostgreSQL v7.2.1 ... a bug fix release, it > fixes a critical bug in v7.2: > sequence counters will go backwards after a crash It seems

Re: [HACKERS] v7.2.1 Released: Critical Bug Fix

2002-04-02 Thread Kaare Rasmussen
> cash I/O improvements (Tom) If it will change the I/O cash flow to more I than O, it will definitely be a success... :-) -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75

[HACKERS] v7.2.1 Released: Critical Bug Fix

2002-04-02 Thread Marc G. Fournier
Over this past weekend, the PostgreSQL Global Development Group packaged up and put onto our ftp server PostgreSQL v7.2.1 ... a bug fix release, it fixes a critical bug in v7.2: sequence counters will go backwards after a crash Other fixes since v7.2 include: Fix pgaccess kanji-coversion

Re: [HACKERS] Proposed patch for ODBC driver w/ C-a-n-c-e-l

2002-04-02 Thread Hiroshi Inoue
Bradley McLean wrote: > > Patch against 7,2 submitted for comment. > > It's a little messy; I had some trouble trying to reconcile the code > style of libpq which I copied from, and odbc. > > Suggestions on what parts look ugly, and or where to send this > (is there a separate ODBC place?) are w

Re: [HACKERS] timeout implementation issues

2002-04-02 Thread Zeugswetter Andreas SB SD
> So the work that would need to be done is asking the driver to request the > timeout via "BEGIN WORK TIMEOUT 5"; getting the backend to parse that > request and set the alarm on each query in that transaction; getting the Well imho that interpretation would be completely unobvious. My first g

Re: [HACKERS] timeout implementation issues, lock timeouts

2002-04-02 Thread Robert Schrem
On Monday 01 April 2002 20:18, Bruce Momjian wrote: > Tom Lane wrote:> > Agreed, only one timeout. > ... We have (at least) two ortogonal reasons why we want to abort a long running transaction: - The long running transaction might compute a result we are not interesed anymore (because it j

[HACKERS] Dblink and ISDN

2002-04-02 Thread Darko Prenosil
We have a request from our customers to link two database servers through the ISDN link.   We found the dblink in the contrib directory, and it works ,but there is one big problem. I'll try to explain it using the sample from README.dblink:   SAMPLE:  create view myremotetable as select dbl