Re: [PATCHES] equal() perf tweak

2003-11-05 Thread Tom Lane
() be a constant-time operation seem like a win to me. Anyway, we should build the code that way and then do profiling with and without support for constant-cost length(). regards, tom lane ---(end of broadcast)--- TIP 7: don't forget

Re: [PATCHES] (repost) pgtcl: restore 8.0 compatibility for large obj fix

2003-11-06 Thread Tom Lane
, and the changes are only needed at 8.1 and up. I'm guessing, though, so I'll go dust off a copy of Tcl 8.0.x and try it. Please. I'm willing to apply the patch, but this close to release there's no room for error. Double-checking is good. regards, tom lane

Re: [PATCHES] initdb in C

2003-11-07 Thread Tom Lane
shared buffers --- I made that change myself. I had some concern about whether Andrew's rewrite had tracked all the recent changes to the initdb shell-script sources. Are you both confident that it is up to date? regards, tom lane ---(end

Re: [PATCHES] initdb in C

2003-11-08 Thread Tom Lane
that initdb itself hasn't got. regards, tom lane ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [PATCHES] initdb in C

2003-11-08 Thread Tom Lane
the more recent versions had at least rudimentary permissions. regards, tom lane ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [PATCHES] initdb in C

2003-11-08 Thread Tom Lane
why contort initdb's behavior for a very transient implementation savings? regards, tom lane ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [PATCHES] equal() perf tweak

2003-11-08 Thread Tom Lane
seems like a secondary consideration.) regards, tom lane ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [PATCHES] Patch 7.4RC1 pgtcl to restore Tcl-8.0 compatibility for large obj fix

2003-11-08 Thread Tom Lane
it. regards, tom lane ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [PATCHES] [HACKERS] BEGIN vs START TRANSACTION

2003-11-09 Thread Tom Lane
reaction was the same as Peter's, but after seeing the small size of the patch I reconsidered. It seems to make sense that BEGIN should be an exact synonym for START TRANSACTION. regards, tom lane ---(end of broadcast)--- TIP 4

Re: [PATCHES] [HACKERS] BEGIN vs START TRANSACTION

2003-11-10 Thread Tom Lane
* lines of documentation to explain that the two statements aren't alike than it would take lines of code to make them work alike. regards, tom lane ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send

Re: [PATCHES] ALTER TABLE modifications

2003-11-11 Thread Tom Lane
Bruce Momjian [EMAIL PROTECTED] writes: Is this to be applied to CVS HEAD? It sounded like large portions were still at the request-for-comment stage... regards, tom lane ---(end of broadcast)--- TIP 8: explain analyze

Re: [PATCHES] [pgsql-hackers-win32] initdb in C

2003-11-12 Thread Tom Lane
. regards, tom lane ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [PATCHES] ALTER TABLE modifications

2003-11-14 Thread Tom Lane
is yes. Any other opinions? regards, tom lane ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html

Re: [PATCHES] minor release note improvements

2003-11-15 Thread Tom Lane
Neil Conway [EMAIL PROTECTED] writes: This patch makes some minor improvements to a few release note entries. Applied. regards, tom lane ---(end of broadcast)--- TIP 7: don't forget to increase your free space map

Re: [PATCHES] improve overcommit docs

2003-11-15 Thread Tom Lane
swap space to cover your memory needs. If this is intended to communicate anything meaningful, can someone rephrase it, please? Seemed pretty content-free to me too. regards, tom lane ---(end of broadcast)--- TIP 8: explain

Re: [PATCHES] SRA Win32 sync() code

2003-11-16 Thread Tom Lane
is that it eliminates the need for anything as messy as that. regards, tom lane ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [PATCHES] SRA Win32 sync() code

2003-11-16 Thread Tom Lane
Bruce Momjian [EMAIL PROTECTED] writes: Tom Lane wrote: One reason I like the idea of adopting a sync-when-you-write policy is that it eliminates the need for anything as messy as that. Yes, but can we do it without causing a performance degredation, and I would hate to change something

Re: [PATCHES] SIGPIPE handling

2003-11-16 Thread Tom Lane
Bruce Momjian [EMAIL PROTECTED] writes: Is running the rest of the application with SIGPIPE = SIG_IGN a problem? That is NOT an acceptable thing for a library to do. regards, tom lane ---(end of broadcast)--- TIP 1

Re: [PATCHES] improve overcommit docs

2003-11-16 Thread Tom Lane
settings that govern this instead of 1. Okay, I revised that section yet again based on this info: http://candle.pha.pa.us/main/writings/pgsql/sgml/kernel-resources.html#AEN17043 Thanks for the update. regards, tom lane ---(end of broadcast

Re: [PATCHES] SRA Win32 sync() code

2003-11-16 Thread Tom Lane
that are not currently needed where they are, and would only be needed under their new names at some future time. If the rename gets lost shortly after it's done, it can be redone. regards, tom lane ---(end of broadcast)--- TIP 1

Re: [PATCHES] SIGPIPE handling

2003-11-16 Thread Tom Lane
that though. regards, tom lane ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [PATCHES] SRA Win32 sync() code

2003-11-16 Thread Tom Lane
. There could and should be a lower-level notion of open relation that bgwriter and checkpoint could use. See recent discussion with Neil, for example. Vadim had always wanted to do that, IIRC. regards, tom lane ---(end of broadcast

Re: [pgsql-hackers-win32] [PATCHES] SRA Win32 sync() code

2003-11-16 Thread Tom Lane
, which is what we can assume is true on every platform... regards, tom lane ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html

Re: [PATCHES] cleanup execTuples.c

2003-11-20 Thread Tom Lane
that planstate-ps_ResultTupleSlot = ExecInitExtraTupleSlot(estate); is better than planstate-ps_ResultTupleSlot = ExecAllocTableSlot(estate-es_tupleTable); regards, tom lane ---(end of broadcast)--- TIP 5: Have you checked our

Re: [PATCHES] LISTEN/NOTIFY regression tests

2003-11-20 Thread Tom Lane
recall if anyone had good ideas about how to describe the expected output. If you search the archives you can probably find the previous discussions --- it was a couple years ago. regards, tom lane ---(end of broadcast)--- TIP

Re: [PATCHES] refactor CreateTupleDescCopy()

2003-11-20 Thread Tom Lane
completely (perhaps CopyTupleDesc() ?) as a means of catching places that aren't correctly updated. (I worry about add-on modules that might not get recompiled between versions; they'd still link, but then crash, if the routine name is the same.) regards, tom lane

Re: [PATCHES] cleanup execTuples.c

2003-11-20 Thread Tom Lane
of call sites seems small enough that altering the API isn't out of the question either, if you like that better. regards, tom lane ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [PATCHES] minor cleanup in plpgsql.sgml

2003-11-25 Thread Tom Lane
to clean up the current weird-hack implementation of SELECT INTO until we can freeze the syntax somehow. The above looks at least as reasonable as what we're currently recommending ... regards, tom lane ---(end of broadcast

Re: [PATCHES] make installcheck on non-default ports

2003-11-25 Thread Tom Lane
behavior of being able to set PGHOST/PGPORT in the environment to control which postmaster make installcheck will speak to. So, yeah, I think it's a bad idea. regards, tom lane ---(end of broadcast)--- TIP 7: don't forget

Re: [PATCHES] Problem with dblink

2003-11-30 Thread Tom Lane
Joe Conway [EMAIL PROTECTED] writes: Tom Lane wrote: (More generally, I wonder if AtEOXact_SPI oughtn't be fixed to emit a WARNING if the SPI stack isn't empty, except in the error case. Neglecting SPI_finish is analogous to a resource leak, and we have code in place to warn about other sorts

Re: [PATCHES] WIP: unique hash indexes

2003-11-30 Thread Tom Lane
), since I'm about to get started on some related hash index work, for which I'll submit a mega-patch containing everything. regards, tom lane ---(end of broadcast)--- TIP 7: don't forget to increase your free space map

Re: [PATCHES] Make pg_dump dump conversions

2003-11-30 Thread Tom Lane
Bruce Momjian [EMAIL PROTECTED] writes: I will try to apply it within the next 48 hours. This one's applied already, no? regards, tom lane ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [PATCHES] export FUNC_MAX_ARGS as a read-only GUC variable

2003-11-30 Thread Tom Lane
to it. regards, tom lane ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [PATCHES] export FUNC_MAX_ARGS as a read-only GUC variable

2003-11-30 Thread Tom Lane
... regards, tom lane ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [PATCHES] clock_timestamp() and transaction_timestamp() function

2003-12-01 Thread Tom Lane
for statement_timestamp, but a cleaner replacement for timeofday() would be nice to have. regards, tom lane ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [PATCHES] clock_timestamp() and transaction_timestamp() function

2003-12-01 Thread Tom Lane
Bruce Momjian [EMAIL PROTECTED] writes: Tom Lane wrote: This is a nonstarter, Oh, I forgot about that. Peter seems only to want statement_timestamp and transaction_timestamp. Aren't those both stable if statement_timestamp is set from exec_simple_query? Hm. If you restricted the option

Re: [PATCHES] clock_timestamp() and transaction_timestamp() function

2003-12-01 Thread Tom Lane
Peter Eisentraut [EMAIL PROTECTED] writes: Tom Lane writes: This is a nonstarter, as is the previous proposal to have a single function with an explicit parameter that selects the behavior. The reason is that any such function would have to be treated as completely non-optimizable. Why

Re: [PATCHES] export FUNC_MAX_ARGS as a read-only GUC variable (was: [GENERAL] SELECT Question)

2003-12-01 Thread Tom Lane
Peter Eisentraut [EMAIL PROTECTED] writes: Tom Lane writes: There was just a discussion a few days ago about the page size for large objects, for which the correct answer was BLCKSZ/4 IIRC. Whether people actually *should* care about the page size of large objects I dunno, but the fact

Re: [PATCHES] 7.4 shared memory error on 64-bit SPARC/Solaris 5.8

2003-12-01 Thread Tom Lane
still have worked, because we'd never have selected a key value wider than 32 bits anyway. What *exact* misbehavior were you seeing? regards, tom lane ---(end of broadcast)--- TIP 9: the planner will ignore your desire

Re: [PATCHES] 7.4 shared memory error on 64-bit SPARC/Solaris 5.8

2003-12-01 Thread Tom Lane
Kurt Roeckx [EMAIL PROTECTED] writes: On Mon, Dec 01, 2003 at 05:19:17PM -0500, Tom Lane wrote: After reviewing the proposed patch, I find it hard to believe that the patch would have fixed any such problem --- It's not the key (key_t) that is the problem, but the size, which used to be int

Re: [PATCHES] [HACKERS] Index creation takes for ever

2003-11-30 Thread Tom Lane
it. regards, tom lane ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list

Re: [PATCHES] [HACKERS] Index creation takes for ever

2003-12-01 Thread Tom Lane
level implementation dependency? Because it sorts on tuple position, which is certainly about as low level as you can get. More to the point, though, no evidence has been provided that this is a good idea. regards, tom lane ---(end of broadcast

Re: [PATCHES] introduce default_use_oids

2003-12-02 Thread Tom Lane
Bruce Momjian [EMAIL PROTECTED] writes: Also, I think we have to have a SET before every CREATE TABLE. No, only when the value changes from last time. This is not rocket science, it's the way pg_dump handles SETs already. regards, tom lane

Re: [PATCHES] 7.4 shared memory error on 64-bit SPARC/Solaris 5.8

2003-12-02 Thread Tom Lane
already running a postmaster that was eating all the available semaphores. When it worked, it was because you'd stopped the other postmaster, and not because of any code changes. regards, tom lane ---(end of broadcast)--- TIP 1

Re: [PATCHES] Small documentation patch

2003-12-03 Thread Tom Lane
a variable. regards, tom lane ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send unregister YourEmailAddressHere to [EMAIL PROTECTED])

Re: [PATCHES] read-only GUC variables - supporting doc changes

2003-12-05 Thread Tom Lane
+ xref linkend=runtime-config-resource for information. I think you could drop the middle four sentences (Each ... formatted page) without losing much. Otherwise it looks fine ... regards, tom lane ---(end of broadcast

Re: [PATCHES] [HACKERS] bytea, index and like operator again and detailed report

2003-12-06 Thread Tom Lane
... regards, tom lane ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [PATCHES] Another pg_autovacuum patch

2003-12-08 Thread Tom Lane
Matthew T. O'Connor [EMAIL PROTECTED] writes: Ok, one more pg_autovacuum patch (Thanks to Tom for fixing the long long overflow problem). Applied. regards, tom lane ---(end of broadcast)--- TIP 2: you can get off all

Re: [PATCHES] make wal_debug GUC var a boolean

2003-12-12 Thread Tom Lane
Neil Conway [EMAIL PROTECTED] writes: Tom Lane [EMAIL PROTECTED] writes: The others are already #ifdef'd out by default, which is more or less what I was suggesting you do with the wal_debug code. (FWIW, trace_notify is not #ifdef'd out.) My mistake --- if you feel like making it so, go

Re: [PATCHES] fork/exec patch

2003-12-14 Thread Tom Lane
about it and I think other people did too. It's a messy, ugly approach; moreover we have no field experience that says it's reliable. It may be the least messy, ugly approach available, but I concur with Neil's wish to at least look for other answers. regards, tom lane

Re: [PATCHES] fork/exec patch

2003-12-14 Thread Tom Lane
Alvaro Herrera [EMAIL PROTECTED] writes: On Sun, Dec 14, 2003 at 06:53:22PM -0500, Tom Lane wrote: You can hardly claim that no one had issues with that. Don't the FSM and the system catalog cache use a similar mechanism? FSM uses a backing file to hold information over a database shutdown

Re: [PATCHES] fork/exec patch

2003-12-14 Thread Tom Lane
files may actually be a cleaner solution than writing shared memory, once we take these considerations into account. My gripe about race conditions was I want to see how you solve this, and wasn't intended to mean I don't think that is soluble. regards, tom lane

Re: [PATCHES] fork/exec patch

2003-12-16 Thread Tom Lane
Claudio do it this way ... regards, tom lane ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send unregister YourEmailAddressHere to [EMAIL PROTECTED])

Re: [PATCHES] [GENERAL] restore error - language plperlu is not trusted

2003-12-18 Thread Tom Lane
cases. The pg_dump change looks okay for the 7.4 branch. It will not apply to HEAD but I think you can just add if (plang-lanpltrusted) before the dumpACL call in that case. regards, tom lane ---(end of broadcast

Re: [PATCHES] [GENERAL] Temporary tables and miscellaneous schemas

2003-12-20 Thread Tom Lane
schemas from the \dn display. That isn't what this patch does, however. regards, tom lane ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send unregister

Re: [PATCHES] [GENERAL] Temporary tables and miscellaneous schemas

2003-12-20 Thread Tom Lane
if we ever add schemas that might conflict. Looking at the present output of \dn, I wonder whether we should not suppress the pg_toast schema as well. That could be done (at the moment) by bouncing all schemas 'pg_t*' ... regards, tom lane ---(end

Re: [PATCHES] [GENERAL] Temporary tables and miscellaneous schemas

2003-12-20 Thread Tom Lane
everything not in your search path ... regards, tom lane ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [PATCHES] [GENERAL] Temporary tables and miscellaneous schemas

2003-12-22 Thread Tom Lane
be simple. regards, tom lane ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html

Re: [PATCHES] [GENERAL] Temporary tables and miscellaneous schemas

2003-12-22 Thread Tom Lane
Bruce Momjian [EMAIL PROTECTED] writes: Tom Lane wrote: Why are you doing any of this? We had agreed to suppress all temp schemas, period. The query should be simple. I know some feel that showing any temporary schemas is wrong, but it seems that the local temp schema has valuable

Re: [PATCHES] [GENERAL] Temporary tables and miscellaneous schemas

2003-12-22 Thread Tom Lane
not like 'pg\\_temp%' OR nspname = (current_schemas(true))[1]) ... would probably work well enough. regards, tom lane ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command

Re: [PATCHES] Doc patch--clarifying $1 in PL/PgSQL

2003-12-22 Thread Tom Lane
David Fetter [EMAIL PROTECTED] writes: On Mon, Dec 22, 2003 at 05:50:12PM -0500, Tom Lane wrote: David Fetter [EMAIL PROTECTED] writes: + Note that it is not possible to assign function arguments during + a literalDECLARE/ block. Seems to me this is a bug that should be fixed

Re: [PATCHES] Alpha test

2003-12-22 Thread Tom Lane
to test. regards, tom lane ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html

Re: [PATCHES] Alpha test

2003-12-22 Thread Tom Lane
Bruce Momjian [EMAIL PROTECTED] writes: Tom Lane wrote: example, we have *no* evidence to suggest that that NOFIXADE stuff in main.c is needed on platforms that don't define __alpha. I would tend to take an if it ain't broke don't fix it approach, especially on platforms we don't have handy

Re: [PATCHES] Alpha test

2003-12-22 Thread Tom Lane
Bruce Momjian [EMAIL PROTECTED] writes: Tom Lane wrote: It seems risky to me to define macros that are in the reserved-for-system-use namespace. Who knows what might break in the system headers if we did that? I see we already do this in solaris.h: Mph. Well, at least that's restricted

Re: [PATCHES] [GENERAL] Temporary tables and miscellaneous schemas

2003-12-22 Thread Tom Lane
that the precedence will work correctly if processNamePattern plasters an AND phrase after this. regards, tom lane ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send unregister

Re: [PATCHES] [GENERAL] Temporary tables and miscellaneous schemas

2003-12-22 Thread Tom Lane
Bruce Momjian [EMAIL PROTECTED] writes: !n.nspname = (current_schemas(true))[1]\n, /* temp schema is first */ One more thing: that needs to be pg_catalog.current_schemas to be search-path-proof. regards, tom lane

Re: [PATCHES] Quoting of psql \d output

2003-12-22 Thread Tom Lane
more-easily-accessible library. regards, tom lane ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [PATCHES] Quoting of psql \d output

2003-12-23 Thread Tom Lane
in messages. I think it's actively misleading. A simpler but uglier solution would be to quote the schema and table names separately: Table public.foo regards, tom lane ---(end of broadcast)--- TIP 6: Have you searched

Re: [PATCHES] [BUGS] (Modified) Patch request for PostgreSQL 7.4 for HP-UX IA-64

2003-12-23 Thread Tom Lane
can't, then the gcc IA64 code is wrong, because it uses the default version of S_UNLOCK.) +#define S_LOCK_FREE(lock) ( *(volatile slock_t*)(lock)) This is wrong too, unless you're not using the convention that zero indicates a free lock. regards, tom lane

Re: [PATCHES] Doc patch--clarifying $1 in PL/PgSQL

2003-12-23 Thread Tom Lane
Jan Wieck [EMAIL PROTECTED] writes: Tom Lane wrote: Not that hard ... just requires replacing some special-purpose code with general-purpose code ... Does that code cause the variables value to change from function call to function call (what most users would expect if they give

Re: [PATCHES] CATALOG/NOCATALOG for new users

2003-12-24 Thread Tom Lane
from previous postgres will not give their old superusers back their catalog privilege, unless they dump with 7.5's pg_dump. Only if you make it default to NOCATALOG, which is highly debatable in my mind, since it is non-backwards-compatible. regards, tom lane

Re: [PATCHES] fork/exec patch: pre-CreateProcess finalization

2003-12-26 Thread Tom Lane
on an #ifdef. If you want to change them both, let's first see the reason why it's necessary. regards, tom lane ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [PATCHES] fork/exec patch: pre-CreateProcess finalization

2003-12-26 Thread Tom Lane
above and below depending on #ifdefs. regards, tom lane ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [PATCHES] update i386 spinlock for hyperthreading

2003-12-26 Thread Tom Lane
is the place to be adding anything anyway. regards, tom lane ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html

Re: [PATCHES] update i386 spinlock for hyperthreading

2003-12-26 Thread Tom Lane
Manfred Spraul [EMAIL PROTECTED] writes: Tom Lane wrote: Don't you have to put it in a specific place in the loop to make that work? If not, why not? Rep;nop is just a short delay - that's all. That view seems to me to be directly contradicted by this statement: The PAUSE instruction

Re: [PATCHES] fork/exec patch: pre-CreateProcess finalization

2003-12-26 Thread Tom Lane
to PostgresMain didn't change. I do not want to alter either of those decisions, however. What we need is to provide an alternative exec-able interface that encapsulates the processing that now occurs between these steps. regards, tom lane ---(end of broadcast

Re: [PATCHES] Quoting of psql \d output

2003-12-26 Thread Tom Lane
that don't customarily use ... as quotation marks. regards, tom lane ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [PATCHES] fork/exec patch: pre-CreateProcess finalization

2003-12-27 Thread Tom Lane
, but by and large, yes: I want to run BackendFork pretty much as-is. I see no strong reason to do differently, and I am convinced that we will spend the next six months ferreting out startup bugs if we make wholesale revisions in the order in which things are done. regards, tom

Re: [PATCHES] libpq endless loop if client_min_messages=debug1

2003-12-28 Thread Tom Lane
. regards, tom lane ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [PATCHES] libpq endless loop if client_min_messages=debug1

2003-12-28 Thread Tom Lane
with the data payload string once we implement that. I also fixed the underlying infinite-loop problem. regards, tom lane ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs

Re: [BUGS] [PATCHES] (Modified) Patch request for PostgreSQL 7.4 for HP-UX

2004-01-02 Thread Tom Lane
why we'd abandon that technique in favor of using cpp again. So I propose that we remove the cpp invocation and associated infrastructure from genbki.sh. Any objections? regards, tom lane ---(end of broadcast)--- TIP 6: Have

Re: [PATCHES] [COMMITTERS] pgsql-server/ oc/src/sgml/datatype.sgml

2004-01-04 Thread Tom Lane
the present definition is badly designed and needs to be replaced with a different API. regards, tom lane ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [PATCHES] minor smgr code cleanup

2004-01-05 Thread Tom Lane
(char). See the archives; we've had at least one bug of this ilk. regards, tom lane ---(end of broadcast)--- TIP 8: explain analyze is your friend

List rewrite (was Re: [PATCHES] minor smgr code cleanup)

2004-01-05 Thread Tom Lane
to bother with FastList, so if we don't get the List rewrite done, I'm gonna have to revisit some things ... regards, tom lane ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http

Re: [PATCHES] remove 'noversion' from standalone backend

2004-01-06 Thread Tom Lane
to pgsql-committers. But for your situation I don't see the value in the extra message. regards, tom lane ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs

Re: [PATCHES] add WITH OIDS to CREATE TABLE AS

2004-01-06 Thread Tom Lane
is applied.) The references to default_with_oids have to be postponed to analyze.c's processing. Compare the way that inhOpt has an INH_DEFAULT setting --- you probably need the same kind of solution for the WITH OIDS options. regards, tom lane ---(end

Re: [PATCHES] Function argument names

2004-01-06 Thread Tom Lane
about what's involved? regards, tom lane ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [PATCHES] Patch of intarray module in v7.4.1

2004-01-08 Thread Tom Lane
Korea PostgreSQL Users' Group [EMAIL PROTECTED] writes: In 7.4.1, intarray module have a problme about equal operator (=). select * from table where intarray_column = '{}'; above query make error. Good catch. Patch applied --- thanks! regards, tom lane

Re: [PATCHES] fork/exec patch: pre-CreateProcess finalization

2004-01-08 Thread Tom Lane
))); proc_exit(status); } is responsible. May we have an explanation of the thought process, if any? regards, tom lane ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate

Re: [PATCHES] fork/exec patch: pre-CreateProcess finalization

2004-01-08 Thread Tom Lane
IsUnderPostmaster true --- elog pays attention to the value of that flag, and will do the wrong thing if called in a child process that doesn't yet have it set. regards, tom lane ---(end of broadcast)--- TIP 7: don't forget to increase your

Re: [PATCHES] fork/exec patch: pre-CreateProcess finalization

2004-01-08 Thread Tom Lane
to know the cancel key --- he can just issue a SIGINT (or worse) directly to the target backend. regards, tom lane ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining

Re: [PATCHES] fork/exec patch: pre-CreateProcess finalization

2004-01-08 Thread Tom Lane
up the postmaster, etc. But if it's a separate array then we can just have the rule that no one but the postmaster gets to write in it. I still think it's unnecessary to make a separate shmem segment for it, though. regards, tom lane ---(end

Re: [PATCHES] fork/exec patch: pre-CreateProcess finalization

2004-01-08 Thread Tom Lane
-postmasters would need to read the array, either to check an incoming cancel request or to get the current-session key value to pass back to the client. I don't think that PostgresMain or any subsidiary routine would ever need to touch it. regards, tom lane

Re: [PATCHES] fork/exec patch: pre-CreateProcess finalization

2004-01-08 Thread Tom Lane
, tom lane ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [PATCHES] fork/exec patch: pre-CreateProcess finalization

2004-01-08 Thread Tom Lane
Claudio Natoli [EMAIL PROTECTED] writes: Tom Lane wrote: I think the simplest way to make this work is to use an array that's 2*MaxBackend items long (corresponding to the max number of children the postmaster will fork). Actually, now that I think about it, is even that big enough

Re: [PATCHES] pltcl - cannot create 'normal' interpreter - Tcl_CreateSlave() fails - A solution

2004-01-18 Thread Tom Lane
, it is unused (see win/tclWinFile.c - TclpFindExecutable()). Just a value != NULL is OK, so I used an empty string. AFAICS this patch breaks all non-Windows platforms. Sorry, that won't do ... regards, tom lane ---(end of broadcast

Re: [PATCHES] small smgr refactoring

2004-01-19 Thread Tom Lane
. regards, tom lane ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [PATCHES] fix recent WITH OIDS bug

2004-01-22 Thread Tom Lane
Neil Conway [EMAIL PROTECTED] writes: Yeah, I had considered that, but hesitated for the same reason you cite. Is it worth creating a parse_util.c, perhaps? Okay with me, if you feel like taking the trouble. regards, tom lane ---(end

Re: [PATCHES] pltcl - Cache lookup for attribute error - version 2

2004-01-23 Thread Tom Lane
numbers. People who just want a list of the live columns can get it from the OLD or NEW arrays. regards, tom lane ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail

Re: [PATCHES] pltcl - Cache lookup for attribute error - version 2

2004-01-23 Thread Tom Lane
. Hm. Perhaps we should tighten the test to reject only .tupno, rather than any name starting with dot? regards, tom lane ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

<    1   2   3   4   5   6   7   8   9   10   >