Re: [HACKERS] Roadmap for a Win32 port

2002-06-05 Thread Steve Howe
efer to http://community.borland.com/article/0,1410,23217,00.html. "Classic" is the fork() model, and the "SuperServer" is the threaded model. - Best regards, Steve Howe mailto:[EMAIL PROTECTED] ---(end of broadcast)-

Re: [HACKERS] Roadmap for a Win32 port

2002-06-05 Thread Steve Howe
w what a service is, think about it as a daemon for Windows. A service can be automatically started when the machine boots up. - Best regards, Steve Howe mailto:[EMAIL PROTECTED] ---(end of broadcast)--

[HACKERS] Rule updates and PQcmdstatus() issue

2002-09-06 Thread Steve Howe
(the proper behavior)? Thank you very much. ----- Best regards, Steve Howe mailto:[EMAIL PROTECTED] ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "

Re: [HACKERS] Rule updates and PQcmdstatus() issue

2002-09-06 Thread Steve Howe
Hello Bruce, Friday, September 6, 2002, 3:22:13 PM, you wrote: BM> Steve Howe wrote: >> Hello all, >> >> PostgreSQL *still* has a bug where PQcmdStatus() won't return the >> number of rows updated. But that is essential for applications, since >> wit

Re: [HACKERS] Rule updates and PQcmdstatus() issue

2002-09-06 Thread Steve Howe
Let's hope someone realize how serious is this and make a fix. Thanks again... - Best regards, Steve Howe mailto:[EMAIL PROTECTED] ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] Rule updates and PQcmdstatus() issue

2002-09-06 Thread Steve Howe
his would not work well with PQcmdStatus() because it returns a single integer entry only. This was working on some previous build, wasn't it ? What was the previous behavior ? Shouldn't the patch follow that way ? ----- Best regards, Steve Howe

Re: [HACKERS] Proposal: Solving the "Return proper effected tuple count

2002-09-08 Thread Steve Howe
. >> > I don't think there is any need/desire to add additional API routines to >> > handle multiple return values. >> >> Agreed. BM> Yep. OK, this counts two points against the new API :) - Best regards, Steve Howe mailto:[EMAIL PROTECTED] ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] Proposal: Solving the "Return proper effected tuple count from complex commands [return]" issue

2002-09-08 Thread Steve Howe
Hello Bruce, Monday, September 9, 2002, 12:21:11 AM, you wrote: BM> Steve Howe wrote: >> Hello Bruce, >> >> But this *is* the total number of rows affected. There is no current >> (defined) behavior of "rows affected by the same kind of command >> issued&

Re: [HACKERS] Proposal: Solving the "Return proper effected tuple count

2002-09-08 Thread Steve Howe
Hello Bruce, Monday, September 9, 2002, 12:22:26 AM, you wrote: BM> Steve Howe wrote: >> JC> return OID if sum of all replacement INSERTs in the rule inserted >> JC>only one row, else zero >> I don't agree with this one since it would lead us to a me

Re: [HACKERS] Proposal: Solving the "Return proper effected tuple count

2002-09-08 Thread Steve Howe
ly one row can always be assumed in that table... the possibilities are infinite. BM> The only one I can think of is UPDATE implemented as separate INSERT and BM> DELETE commands. I'm afraid the great imagination of PostgreSQL users has come to all kind of uses and misuses

Re: [HACKERS] Proposal: Solving the "Return proper effected tuple count

2002-09-08 Thread Steve Howe
that weird? It's not weird, or as weird as the other proposal which is retrieving the last inserted OID number. If we can return some information for the client, why not doing it ? :-) - Best regards, Steve Howe mailto:[EMAIL PROTECTED] ---

Re: [HACKERS] Rule updates and PQcmdstatus() issue

2002-09-07 Thread Steve Howe
Hello Tom, Saturday, September 7, 2002, 5:42:33 PM, you wrote: TL> Steve Howe <[EMAIL PROTECTED]> writes: >> BM> I suggest you read the TODO detail on the item and make a proposal on >> BM> how it _should_ work and if you can get agreement from everyone, you may &g

[HACKERS] Proposal: Solving the "Return proper effected tuple count from complex commands [return]" issue

2002-09-08 Thread Steve Howe
Hello all, Here are the proposals for solutioning the "Return proper effected tuple count from complex commands [return]" issue as seen on TODO. Any comments ?... This is obviously open to voting and discussion. -- Best regards, Steve Howe mailto:[EMAIL

Re: [HACKERS] Proposal: Solving the "Return proper effected tuple count from complex commands [return]" issue

2002-09-08 Thread Steve Howe
roposals. BM> Can I get some votes on this? We have one user very determined to get a BM> fix, and the TODO.detail file has another user who really wants a fix. *Please* let's do it :) Thanks. - Best regards, Steve Howe mailto:[EMAIL PROTECT

Re: [HACKERS] Proposal: Solving the "Return proper effected tuple count

2002-09-08 Thread Steve Howe
JC> I don't know about that. The number of "rows affected" is indeed this JC> number. It's just that they were not all affected in the same way. Agreed too... JC> +1 for the version above ;-) Which ? Yours or Tom's ? :) - Best regards, Steve How

Re: [HACKERS] Rule updates and PQcmdstatus() issue

2002-09-09 Thread Steve Howe
Hello Jan, Monday, September 9, 2002, 11:26:20 AM, you wrote: JW> Steve Howe wrote: >> >> Hello Bruce, >> >> Friday, September 6, 2002, 9:52:18 PM, you wrote: >> >> BM> I am not any happier about it than you are. Your report is good because >&

Re: [HACKERS] Rule updates and PQcmdstatus() issue

2002-09-09 Thread Steve Howe
These should be transparent to the user. I suggest you to read the proposal posted to get aware of the discussion. Thanks. - Best regards, Steve Howe mailto:[EMAIL PROTECTED] ---(end of broadcast)--- TIP 1: subs

Re: [HACKERS] Rule updates and PQcmdstatus() issue

2002-09-09 Thread Steve Howe
Hello Jan, Monday, September 9, 2002, 11:15:47 AM, you wrote: JW> Steve Howe wrote: >> >> Hello all, >> >> PostgreSQL *still* has a bug where PQcmdStatus() won't return the >> number of rows updated. But that is essential for applications, since >&g

Re: [HACKERS] Proposal: Solving the "Return proper effected tuple count from complex commands [return]" issue

2002-09-09 Thread Steve Howe
Hello Peter, Monday, September 9, 2002, 3:41:41 PM, you wrote: PE> Steve Howe writes: >> Here are the proposals for solutioning the "Return proper effected >> tuple count from complex commands [return]" issue as seen on TODO. >> >> Any comments ?...

Re: [HACKERS] Rule updates and PQcmdstatus() issue

2002-09-09 Thread Steve Howe
Hello Jan, Monday, September 9, 2002, 4:56:04 PM, you wrote: JW> Steve Howe wrote: >> >> Hello Jan, >> >> Monday, September 9, 2002, 11:15:47 AM, you wrote: >> >> JW> So please, "proper behavior" is not allways what your favorite tool &g

Re: [HACKERS] Rule updates and PQcmdstatus() issue

2002-09-09 Thread Steve Howe
Hello Bruce, Monday, September 9, 2002, 11:13:20 PM, you wrote: BM> Steve Howe wrote: >> Because the affected commands are supposed to give you back >> information on what your INSERT/UPDATE/DELETE commands, not what is >> making behind the scenes. >> >> And

Re: [HACKERS] Proposal: Solving the "Return proper affected tuple

2002-09-09 Thread Steve Howe
m to happen sometimes... I apologize. - Best regards, Steve Howe mailto:[EMAIL PROTECTED] ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

[HACKERS] "Cache lookup failed for relation 16905" ??

2002-11-02 Thread Steve Howe
where pg_table_is_visible(p.oid); ERROR: Cache lookup failed for relation 16905 ERROR: Cache lookup failed for relation 16905 What does that message mean ? there is not even such a relation in pg_class. Thanks. -- Best regards, Steve Howe mailto:howe@;carcass.dhs.org

Re: [HACKERS] "Cache lookup failed for relation 16905" ??

2002-11-02 Thread Steve Howe
Hello Tom, Saturday, November 2, 2002, 11:26:56 AM, you wrote: TL> Steve Howe <[EMAIL PROTECTED]> writes: >> I got a weird behavior testing PostgreSQL 7.3b3. The query below was >> run in a FreeBSD 4.4 system, on a fresh install and just I just had >> made an initb

Re: [HACKERS] "Cache lookup failed for relation 16905" ??

2002-11-02 Thread Steve Howe
Hello Tom, Saturday, November 2, 2002, 5:17:29 PM, you wrote: TL> Steve Howe <[EMAIL PROTECTED]> writes: >> howe=# select p.oid, n.nspname, pg_get_userbyid(p.proowner), proname >> from pg_proc as p, pg_namespace as n where pg_table_is_visible(p.oid); >> However,

Re: [HACKERS] Win32 port

2002-11-06 Thread Steve Howe
using ? Will it compile using Mingw ? - Best regards, Steve Howe mailto:howe@;carcass.dhs.org ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] Win32 port

2002-11-06 Thread Steve Howe
Hello Bruce, Wednesday, November 6, 2002, 8:33:32 PM, you wrote: BM> Steve Howe wrote: >> Hello Bruce, >> >> Wednesday, November 6, 2002, 3:19:35 AM, you wrote: >> >> BM> I have copies of Peer Direct's (Jan's company) port of PostgreSQL to >>

[HACKERS] Datetime type dropped from v7.3 ?

2002-11-06 Thread Steve Howe
owe=# select version (); version - PostgreSQL 7.3b3 on i386-unknown-freebsd4.4, compiled by GCC 2.95.3 (1 row) howe=# create table a(b datetime); ERROR: Type "datetime" does not exist --

Re: [HACKERS] Datetime type dropped from v7.3 ?

2002-11-06 Thread Steve Howe
Hello Tom, Thursday, November 7, 2002, 1:17:00 AM, you wrote: TL> Steve Howe <[EMAIL PROTECTED]> writes: >> Just wondering if the datetime type was dropped on purpose from >> PostgreSQL 7.3 ? TL> Yes. Ad-hoc name translations in the parser create bogosities with TL&g

Re: [HACKERS] Win32 port

2002-11-06 Thread Steve Howe
users that wait for years for the Win32 version... ... just my thoughts, of course. ----- Best regards, Steve Howe mailto:howe@;carcass.dhs.org ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ?

Re: [HACKERS] Win32 port

2002-11-07 Thread Steve Howe
all that patching trouble you mentioned, specially when they offered to do it... I think you probably have a lot of work to do on other areas too... To Katie: does it compile with Mingw too ? - Best regards, Steve Howe mailto:howe@;carcass.dhs.org -

[HACKERS] Large queries - again...

2001-07-20 Thread Steve Howe
aviour. I tried to look at the libpq sources to find out where's the error, but I think it will take much less time to who develops it... Best Regards, Steve Howe ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [HACKERS] Large queries - again...

2001-07-23 Thread Steve Howe
> Tom Lane wrote: > > "Steve Howe" <[EMAIL PROTECTED]> writes: > > > ..\..\backend\lib\dllist.c(20) : fatal error C1083: Cannot open include > > > file: 'sysexits.h': No such file or directory > > > > Jan added that recently. I

Re: [HACKERS] Large queries - again...

2001-07-20 Thread Steve Howe
- Original Message - From: "Tom Lane" <[EMAIL PROTECTED]> To: "Steve Howe" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, July 20, 2001 5:17 PM Subject: Re: [HACKERS] Large queries - again... > "Steve Howe" <[E

Re: [HACKERS] Large queries - again...

2001-07-20 Thread Steve Howe
> "Steve Howe" <[EMAIL PROTECTED]> writes: > >> (Thinks for awhile...) You're not using PQsetnonblocking() are you, > >> by any chance? > > > No, I'm not. > > Drat, another perfectly good theory down the drain :-(. > > Well, we

Re: [HACKERS] Large queries - again...

2001-07-20 Thread Steve Howe
- Original Message - From: "Bruce Momjian" <[EMAIL PROTECTED]> To: "Steve Howe" <[EMAIL PROTECTED]> Cc: "Tom Lane" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, July 21, 2001 1:39 AM Subject: Re: [HACKERS] Large queries

[HACKERS] PQexec() 8191 bytes limit and text fields

2001-07-18 Thread Steve Howe
wrapper to the built-in large objects API. Does anyone have a better way of doing this ? Best Regards, Steve Howe http://www.vitavoom.com ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://www.postgresql.org/search.mpl

Re: [HACKERS] PQexec() 8191 bytes limit and text fields

2001-07-18 Thread Steve Howe
seems ok in everything but this issue... I guess I'll do it again, after checking the sources :) Other people reported me they send large queries with no problems, so I guess it should really be a problem of mine... Best Regards, Steve Howe - Original Message - From:

Re: [HACKERS] Large queries - again...

2001-07-20 Thread Steve Howe
Hello Tom, It returns "Error: pqReadData() -- read() failed: errno=0 No error " as expected when a nil pointer is returned. Best Regards, Steve Howe - Original Message - From: "Tom Lane" <[EMAIL PROTECTED]> To: "Steve Howe" <[EMAIL P

Re: [HACKERS] Large queries - again...

2001-07-20 Thread Steve Howe
ample that proves libpq under windows has this bug ??? Best Regards, Steve Howe - Original Message - From: "Tom Lane" <[EMAIL PROTECTED]> To: "Steve Howe" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, July 20, 2001 12:35 PM Subject: Re: [H

[HACKERS] LIBPQ on Windows and large Queries

2001-07-25 Thread Steve Howe
broken because of this issue (ODBC applications are fine btw). I can also do any kind of testing under Windows (and actually I'll do it anyway). I wonder if this limitation also applies to the unix libpq library ??? Jan, Tom, Bruce - any news on this ? Best

Re: [HACKERS] LIBPQ on Windows and large Queries

2001-07-31 Thread Steve Howe
Hello all, I was in a trip and just arrived, and will do it real soon. Best Regards, Steve Howe - Original Message - From: "Tom Lane" <[EMAIL PROTECTED]> To: "Hiroshi Inoue" <[EMAIL PROTECTED]> Cc: "Steve Howe" <[EMAIL PROTECTED

[HACKERS] Cursor queries & fetches

2001-08-04 Thread Steve Howe
ly work: they execute the query, store all rows in memory, and then pass small resultsets retrieved by FETCH commands on the client, or does it produces and retrieves each recorset as each FETCH command is issued ?? Best Regards, Steve Howe ---(end of broadcast)

[HACKERS] Retriving users from group ?...

2001-08-14 Thread Steve Howe
EATE TABLE pg_groupusers(grosysid integer, usesysid integer); That makes much more sense for me, unless at least the contrib array functions get implemented as builtins, so that we can test user groupship. Can that be added to the TODO least ?... Best Regards,

[HACKERS] Determining users from group

2001-09-03 Thread Steve Howe
Hello All!!! Can anyone show me a query (not using any contrib code) lists users from a group ??? Like "Users | Group" ??? Current groups implementation is inflexible due to arrays not having a membership function (i.e. 'in' operator). Best

Re: [HACKERS] Catalogs design question

2001-10-20 Thread Steve Howe
is contrib code inyo your servers". Many users can't do it, and many don't even know how to do it :( Best Regards, Steve Howe ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] Catalogs design question

2001-10-20 Thread Steve Howe
itself bothers me. We have no other option left ? Like arrays being referenced in relations ? That's far from perfect, but at least would solve those issues and others which might appear in other catalogs... Best Regards, Steve Howe ---(end of broadcast)-

[HACKERS] Catalogs design question

2001-10-19 Thread Steve Howe
/7.1/postgres/arrays.html): "Tip: Arrays are not lists; using arrays in the manner described in the previous paragraph is often a sign of database misdesign. The array field should generally be split off into a separate table. Tables can obviously be searched easi

Re: [HACKERS] Catalogs design question

2001-10-27 Thread Steve Howe
SULT' LANGUAGE 'sql'; CREATE and it would be allowed... howe=# select proargtypes from pg_proc where proname='test'; proargtypes 21 21 21 21 21 21 21 21 21 21 21 21 21 (1 row) Again, the pro

Re: [HACKERS] Catalogs design question

2001-10-27 Thread Steve Howe
www.vitavoom.com) - it's like an ODBC driver or such. I must provide the functionality I described for the driver users; it's not for me. I would of course have compiled and used the contrib code. But the driver must work "out-of-the-box", and requiring a recompile (where many ti

[HACKERS] OID Implicit limit

2000-12-18 Thread Steve Howe
Hi folks, Reading the documentation, I see that OIDs are unique through the whole database. But since OIDs are int4, does that limit the number of rows I can have in a database to 2^32 = 4 billion ? Best Regards, Howe

Re: [HACKERS] OID Implicit limit

2000-12-20 Thread Steve Howe
""Christopher Kings-Lynne"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > Reading the documentation, I see that OIDs are unique through > the > > > whole database. > > > But since OIDs are int4, does that limit the number of rows I > can >

[HACKERS] Must implement PQnotifyFree()

2001-01-14 Thread Steve Howe
allocation schemes. Of course it is trivial to implement such a function and this should be no trouble. Could you please consider it ? Of course nobody wants memory corruption in their applications and we don't like having to let those records allocated, but we can't currently do

[HACKERS] This script will crash the connection

2001-01-23 Thread Steve Howe
rmally before or while processing the request. The connection to the server was lost. Attempting reset: Failed. !# Any comments ? I need this kind of code working for a demo for ZeosDBO users... Best Regards, Steve Howe