Re: [PATCHES] Sun Studio on Linux spinlock patch

2008-03-05 Thread Tom Lane
... what benefit is there to using Sun's compiler on Linux? regards, tom lane -- Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org) To make changes to your subscription: http://mail.postgresql.org/mj/mj_wwwusr?domain=postgresql.orgextra=pgsql-patches

Re: [PATCHES] NetBSD/MIPS supports dlopen

2008-03-05 Thread Tom Lane
. Anyway: (1) this should probably be back-patched; (2) please clean up the ugly double negative here: ! #if !defined(HAVE_DLOPEN) #else dlclose(handle); #endif regards, tom lane -- Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org) To make

Re: [PATCHES] NetBSD/MIPS supports dlopen

2008-03-05 Thread Tom Lane
Alvaro Herrera [EMAIL PROTECTED] writes: Tom Lane wrote: Weird, I haven't seen the commit message come through here. Yeah, that's strange -- the (2) commit message got to me, but this one hasn't. Moderation filter got it for some reason? None of the back-patch commits came through either

Re: [PATCHES] WIP: guc enums

2008-03-04 Thread Tom Lane
or vice versa. (This is legal per C spec, so you won't introduce any portability issues when you do it.) regards, tom lane -- Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org) To make changes to your subscription: http://mail.postgresql.org/mj/mj_wwwusr

Re: [PATCHES] libpq.so linking problem on Solaris using --with-gssapi

2008-03-04 Thread Tom Lane
Bjorn Munch [EMAIL PROTECTED] writes: The fix is simply to add -lgss to the list, as the attached patch does. I'm pretty sure no other Makefiles are affected. Applied, thanks. regards, tom lane -- Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org

Re: [PATCHES] [BUGS] BUG #3973: pg_dump using inherited tables do not always restore

2008-03-03 Thread Tom Lane
Alex Hunsaker [EMAIL PROTECTED] writes: On Wed, Feb 20, 2008 at 3:55 PM, Tom Lane [EMAIL PROTECTED] wrote: Actually the bug is that ALTER TABLE allows you to do that. It should not be possible to drop an inherited constraint, but right now there's not enough information in the system catalogs

Re: [PATCHES] DTrace probe patch for OS X Leopard

2008-02-29 Thread Tom Lane
the target program? regards, tom lane ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [PATCHES] remove TCL_ARRAYS

2008-02-29 Thread Tom Lane
in the libpgtcl client. AFAICT from the 7.x code, the client-side kluge was never enabled by default anyway, so it seems unlikely anyone will miss it. regards, tom lane ---(end of broadcast)--- TIP 5: don't forget to increase your

Re: [PATCHES] DTrace probe patch for OS X Leopard

2008-02-29 Thread Tom Lane
for #includes, and contains just that block. Or just two files. Call probes_null something else, have it be included where needed, have it include the autogenerated file when appropriate. regards, tom lane ---(end of broadcast

Re: [PATCHES] DTrace probe patch for OS X Leopard

2008-02-29 Thread Tom Lane
to use it? regards, tom lane ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

Re: [PATCHES] DTrace probe patch for OS X Leopard

2008-02-29 Thread Tom Lane
poorly-designed tools dictate our coding conventions. regards, tom lane ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [PATCHES] DTrace probe patch for OS X Leopard

2008-02-28 Thread Tom Lane
. There are a whole lot of include files that are needed by way more than 3 .c files, and yet are not folded into postgres.h. c.h is right out. regards, tom lane ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner

Re: [PATCHES] tuplestore_putvalues()

2008-02-28 Thread Tom Lane
a performance or number-of-places-to-change standpoint. But it seems worth a bit of investigation while we're touching the code. Other than that issue, the patch seems OK in a quick once-over. regards, tom lane ---(end of broadcast

Re: [PATCHES] SRF memory leaks

2008-02-27 Thread Tom Lane
refcount does not prove that the SRF itself hasn't still got a pointer to the tupdesc. Can't we fix it so that the tupdesc is allocated in the new special context (at least in the primary code paths), and then no explicit free is needed? regards, tom lane

Re: [PATCHES] SRF memory leaks

2008-02-27 Thread Tom Lane
Neil Conway [EMAIL PROTECTED] writes: On Wed, 2008-02-27 at 15:07 -0500, Tom Lane wrote: Negative refcount does not prove that the SRF itself hasn't still got a pointer to the tupdesc. That sounds quite bizarre. The SRF has already finished execution at this point, so keeping a pointer

Re: [PATCHES] SRF memory leaks

2008-02-26 Thread Tom Lane
Neil Conway [EMAIL PROTECTED] writes: On Mon, 2008-02-25 at 21:00 -0500, Tom Lane wrote: I find this part of the patch to be a seriously bad idea. AFAICS this is not true of any of the SRFs in the backend, which always return expendable tupdescs. It's OK in the built-in SRFs is disastrously

Re: [PATCHES] lc_time and localized dates

2008-02-26 Thread Tom Lane
. But as Peter remarks nearby, this discussion is wasted anyway, because there is only one correct answer: whatever Oracle does with these cases is what to_char() should do. regards, tom lane ---(end of broadcast)--- TIP 1: if posting

Re: [PATCHES] Bulk Insert tuning

2008-02-26 Thread Tom Lane
versions of it, one for writing and one for reading. In any case the point being to encapsulate all these random little options in a struct, which could also carry along state that needs to be saved across a series of inserts, such as the last pinned buffer. regards, tom lane

Re: [PATCHES] Fix pgstatindex using for large indexes

2008-02-25 Thread Tom Lane
Zdenek Kotala [EMAIL PROTECTED] writes: Tom Lane napsal(a): Most places where we've dealt with this before, we use double, which is guaranteed to be available whereas uint64 is not ... Is this requirement still valid? Yes. Is there any currently supported platform which does not have

Re: [PATCHES] Fix pgstatindex using for large indexes

2008-02-25 Thread Tom Lane
Andrew Dunstan [EMAIL PROTECTED] writes: Tom Lane wrote: Is there any currently supported platform which does not have uint64? I don't know, and neither do you. Maybe we should look at some reasonable way of getting the info out of a compiled instance. How about if we get pg_config

Re: [PATCHES] Avahi support for Postgresql

2008-02-25 Thread Tom Lane
)? regards, tom lane ---(end of broadcast)--- TIP 1: 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 cleanly

Re: [PATCHES] Fix pgstatindex using for large indexes

2008-02-25 Thread Tom Lane
that pgstattuple does not present a reason to make that decision today, especially not when making it rely on int64 is at variance with the coding method already in use in related parts of the core backend. regards, tom lane ---(end of broadcast

Re: [PATCHES] SRF memory leaks

2008-02-25 Thread Tom Lane
multi_call_ctx when it's being created by the funcapi.c code. regards, tom lane ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [PATCHES] Shlib exports file refactoring

2008-02-25 Thread Tom Lane
that the buildfarm wouldn't make, I might think differently ... but then you'd need to be giving some more detailed directions than these. regards, tom lane ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your

Re: [PATCHES] fix in --help output

2008-02-22 Thread Tom Lane
; then AC_LIBOBJ(getopt) AC_LIBOBJ(getopt_long) fi regards, tom lane ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [PATCHES] Fix pgstatindex using for large indexes

2008-02-21 Thread Tom Lane
that max_avail and free_space should be uint64. Most places where we've dealt with this before, we use double, which is guaranteed to be available whereas uint64 is not ... regards, tom lane ---(end of broadcast)--- TIP 1

Re: [PATCHES] fix in --help output

2008-02-21 Thread Tom Lane
are using it rather than one that acts the way we want. regards, tom lane ---(end of broadcast)--- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate

Re: [PATCHES] --describe-config crashes

2008-02-21 Thread Tom Lane
that's also effectively the way GUC handles it, I'm inclined to think we should print NULL as not (NULL). Otherwise, will apply. regards, tom lane ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner

Re: [PATCHES] [BUGS] BUG #3969: pg_ctl cannot detect server startup

2008-02-20 Thread Tom Lane
. regards, tom lane ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [PATCHES] Proposed patch to change TOAST compression strategy

2008-02-18 Thread Tom Lane
, tom lane ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [PATCHES] tzcode update

2008-02-18 Thread Tom Lane
support. I can't imagine that fixing this isn't pretty darn high on the Solaris to-do list, anyway. Financial apps doing, say, 30-year mortgage projections are broken *today* on platforms without post-Y2038 calendar support. regards, tom lane

[PATCHES] Proposed patch to change TOAST compression strategy

2008-02-17 Thread Tom Lane
, tom lane bin5xGxvAMBU7.bin Description: toast-strategy.patch ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get

Re: [PATCHES] tzcode update

2008-02-16 Thread Tom Lane
check was at least as good. regards, tom lane ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [PATCHES] Fix for 8.3 MSVC locale (Was [HACKERS] NLS on MSVC strikes back!)

2008-02-14 Thread Tom Lane
values for other LC_foo variables to match. regards, tom lane ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [PATCHES] tzcode update

2008-02-13 Thread Tom Lane
(or at least used to be --- did C99 tighten this up?). regards, tom lane ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

Re: [PATCHES] Endless recovery

2008-02-11 Thread Tom Lane
to me too. Any chance that you still have the WAL log for examination? regards, tom lane ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [PATCHES] Proposed patch for 8.3 VACUUM FULL crash

2008-02-11 Thread Tom Lane
Gregory Stark [EMAIL PROTECTED] writes: Tom Lane [EMAIL PROTECTED] writes: On investigation the problem occurs because we changed vacuum.c's PageGetFreeSpaceWithFillFactor() to use PageGetHeapFreeSpace() instead of just computing pd_upper - pd_lower as it had done in every previous release

Re: [PATCHES] tzcode update

2008-02-11 Thread Tom Lane
should probably add some reaching out to 2100 or so. regards, tom lane ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

[PATCHES] Proposed patch for 8.3 VACUUM FULL crash

2008-02-10 Thread Tom Lane
that the extra notup condition should be back-patched, at least as far back as we have fillfactor support, and maybe all the way back on general principles. Comments? regards, tom lane Index: vacuum.c === RCS file

Re: [PATCHES] NUMERIC key word

2008-02-10 Thread Tom Lane
Neil Conway [EMAIL PROTECTED] writes: On Tue, 2008-01-29 at 13:20 -0500, Tom Lane wrote: The reason it was kept was to override the search path --- unqualified NUMERIC will always be taken as pg_catalog.numeric even if you have some other type numeric in front of it. It should be possible

Re: [PATCHES] Proposed patch for bug #3921

2008-02-03 Thread Tom Lane
and more that that's really the right definition. regards, tom lane ---(end of broadcast)--- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate

[PATCHES] Proposed patch for bug #3921

2008-02-02 Thread Tom Lane
that LIKE INCLUDING INDEXES shouldn't copy index tablespaces at all, but I didn't hear anyone favoring that approach in the bug discussion. regards, tom lane Index: src/backend/commands/indexcmds.c === RCS file

Re: [PATCHES] NUMERIC key word

2008-01-29 Thread Tom Lane
not. regards, tom lane ---(end of broadcast)--- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate

Re: [PATCHES] WIP: plpgsql source code obfuscation

2008-01-28 Thread Tom Lane
that a dependency on pgcrypto is going to be accepted into core, not even in the (ahem) obfuscated way that it's presented here. regards, tom lane ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [PATCHES] WIP: plpgsql source code obfuscation

2008-01-28 Thread Tom Lane
a showstopper problem. regards, tom lane ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [PATCHES] WIP: plpgsql source code obfuscation

2008-01-28 Thread Tom Lane
Andrew Dunstan [EMAIL PROTECTED] writes: Tom Lane wrote: However, I definitely agree that a separate loadable PL is the way to go for functionality of this sort. There is no way that a dependency on pgcrypto is going to be accepted into core, not even in the (ahem) obfuscated way that it's

Re: [PATCHES] WIP: plpgsql source code obfuscation

2008-01-28 Thread Tom Lane
encoding. We've just gone around closing doors like this. Ah, right, I hadn't thought about that, but it would be a hazard. regards, tom lane ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ

Re: [PATCHES] [8.4] Updated WITH clause patch (non-recursive)

2008-01-27 Thread Tom Lane
recall at the moment if Greg has a credible design sketch for the remaining work, but it might be a good idea to review that before deciding. regards, tom lane ---(end of broadcast)--- TIP 7: You can help support the PostgreSQL

Re: [PATCHES] [8.4] Updated WITH clause patch (non-recursive)

2008-01-27 Thread Tom Lane
to make that happen. regards, tom lane ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get

[PATCHES] Proposed patch: synchronized_scanning GUC variable

2008-01-27 Thread Tom Lane
thought I'd better post it for comment anyway. regards, tom lane Index: doc/src/sgml/config.sgml === RCS file: /cvsroot/pgsql/doc/src/sgml/config.sgml,v retrieving revision 1.162 diff -c -r1.162 config.sgml *** doc

Re: [PATCHES] Proposed patch: synchronized_scanning GUC variable

2008-01-27 Thread Tom Lane
Gregory Stark [EMAIL PROTECTED] writes: I liked the synchronized_sequential_scans idea myself. The name is still open for discussion --- it's an easy search-and-replace in the patch ... regards, tom lane ---(end of broadcast

Re: [PATCHES] sinval contention reduction

2008-01-26 Thread Tom Lane
Simon Riggs [EMAIL PROTECTED] writes: On Fri, 2008-01-25 at 19:02 -0500, Tom Lane wrote: This seems large, complex, and untested (I note in particular a guaranteed-to-fail Assert). Yes, its for discussion. How would you describe such a patch in the future? I want to be able

Re: [PATCHES] sinval contention reduction

2008-01-25 Thread Tom Lane
to a signal. Do you have any evidence for performance improvement? regards, tom lane ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL

Re: [PATCHES] [HACKERS] Thoughts about bug #3883

2008-01-25 Thread Tom Lane
() and StatementCancelHandler(). Seems cleaner than before. regards, tom lane Index: src/backend/port/posix_sema.c === RCS file: /cvsroot/pgsql/src/backend/port/posix_sema.c,v retrieving revision 1.19 diff -c -r1.19

Re: [PATCHES] Friendly help for psql

2008-01-20 Thread Tom Lane
in psql; though I'm not sure what to do to disambiguate the case with no arguments. regards, tom lane ---(end of broadcast)--- TIP 7: You can help support the PostgreSQL project by donating at http

Re: [PATCHES] Friendly help for psql

2008-01-20 Thread Tom Lane
). I think you're headed in the same direction as Alvaro. A slight extension on this would be help produces short blurb describing \h and \? help something produces same result as \h something regards, tom lane

Re: [PATCHES] Friendly help for psql

2008-01-20 Thread Tom Lane
remain as possible additions.) We really shouldn't be designing this on -patches, though. regards, tom lane ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [PATCHES] [GENERAL] Forgot to dump old data before re-installing machine

2008-01-18 Thread Tom Lane
... regards, tom lane ---(end of broadcast)--- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate

Re: [PATCHES] [GENERAL] Forgot to dump old data before re-installing machine

2008-01-18 Thread Tom Lane
is, at least as much as it is in other situations where we say that. I didn't like the wording of the other part of the hint though. Maybe This could be a problem of mismatched byte ordering? Other than that quibble, +1. regards, tom lane ---(end

Re: [PATCHES] [HACKERS] SSL over Unix-domain sockets

2008-01-17 Thread Tom Lane
there first. I think this idea is nothing but a crude kluge anyway... regards, tom lane ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL

Re: [PATCHES] [HACKERS] SSL over Unix-domain sockets

2008-01-17 Thread Tom Lane
could imagine adapting the existing postmaster code that keeps the socket atime fresh so that it will work on a symlink, thus providing partial protection against tmp-cleaners. Portability of this is uncertain... regards, tom lane ---(end

Re: [PATCHES] [HACKERS] SSL over Unix-domain sockets

2008-01-17 Thread Tom Lane
create the symlink at the same time and have it recreate on boot. No, that's not the same, because it doesn't provide protection against the symlink getting deleted later on. regards, tom lane ---(end of broadcast)--- TIP 2

[PATCHES] Proposed patch for renaming constraints along with indexes

2008-01-16 Thread Tom Lane
to be documented, except as a release-note item. Comments? regards, tom lane binKlTSMUpwon.bin Description: rename-index-constraints.patch ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate

[PATCHES] Revised xml memory allocation patch

2008-01-14 Thread Tom Lane
: the patch removes most of the PG_TRY blocks in xml.c. For ease of reading I did not reindent the contained code, but will do so before applying, if we choose to apply. regards, tom lane binymlB0qnjYe.bin Description: xml-mem-4.patch ---(end

Re: [PATCHES] Revised patch for fixing archiver shutdown behavior

2008-01-11 Thread Tom Lane
, the postmaster would complain at exit, but the pg_control state is already SHUTDOWN at that point. There'd be a log entry showing abnormal archiver exit if the panic had had any actual effect on it. regards, tom lane ---(end of broadcast

Re: [PATCHES] Revised patch for fixing archiver shutdown behavior

2008-01-10 Thread Tom Lane
the lockfile (if any) look live. Maybe we should go back to the plan of having the postmaster wait for the archiver to exit. regards, tom lane ---(end of broadcast)--- TIP 5: don't forget to increase your free space map

Re: [PATCHES] Revised patch for fixing archiver shutdown behavior

2008-01-10 Thread Tom Lane
Alvaro Herrera [EMAIL PROTECTED] writes: Tom Lane wrote: Maybe we should go back to the plan of having the postmaster wait for the archiver to exit. Yeah, that seems the safest to me -- the problem is that it complicates the shutdown sequence a fair bit, because postmaster must act

Re: [PATCHES] Revised patch for fixing archiver shutdown behavior

2008-01-10 Thread Tom Lane
I wrote: I'll respin my patch this way... Third time's the charm? regards, tom lane binFKkWVCJKov.bin Description: archiver-shutdown-3.patch ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ

Re: [PATCHES] [BUGS] BUG #3860: xpath crashes backend when is querying xmlagg result

2008-01-10 Thread Tom Lane
are assuming a great deal of libxml stuff still works after an ereport (which makes throwing ereport from xml_palloc even more risky). regards, tom lane ---(end of broadcast)--- TIP 7: You can help support the PostgreSQL project

Re: [PATCHES] [BUGS] BUG #3860: xpath crashes backend when is querying xmlagg result

2008-01-10 Thread Tom Lane
Alvaro Herrera [EMAIL PROTECTED] writes: Tom Lane escribió: One thing I was wondering about earlier today is whether libxml isn't expecting NULL-return-on-failure from the malloc-substitute routine. If we take control away from it unexpectedly, I wouldn't be a bit surprised if its data

Re: [PATCHES] [HACKERS] Archiver behavior at shutdown

2008-01-09 Thread Tom Lane
, tom lane ---(end of broadcast)--- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate

[PATCHES] Revised patch for fixing archiver shutdown behavior

2008-01-09 Thread Tom Lane
or not. Comments? regards, tom lane binEUCN9e9ool.bin Description: archiver-shutdown.patch ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [PATCHES] Revised patch for fixing archiver shutdown behavior

2008-01-09 Thread Tom Lane
are gone. The comment in line 2180 seems a bit bogus ...? Yeah, that could use a bit more work I guess, since normal children sounds like it would refer to more than just backends. regards, tom lane ---(end of broadcast

Re: [PATCHES] Revised patch for fixing archiver shutdown behavior

2008-01-09 Thread Tom Lane
... regards, tom lane binN52EbkMKOk.bin Description: archiver-shutdown-2.patch ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

Re: [PATCHES] [HACKERS] OUTER JOIN performance regression remains in 8.3beta4

2008-01-08 Thread Tom Lane
simple adjustment to my prior patch for 8.3, which I will go ahead and make if there are no objections... regards, tom lane binleD9NAxImv.bin Description: const-propagation-8.2.patch ---(end of broadcast)--- TIP 2: Don't 'kill

Re: [PATCHES] [HACKERS] OUTER JOIN performance regression remains in 8.3beta4

2008-01-08 Thread Tom Lane
thing it's good for is this rather specialized optimization rule. regards, tom lane ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [PATCHES] Fix for _outAgg()

2008-01-08 Thread Tom Lane
backpatch that portion of the patch to back branches if anyone feels strongly. Not worth backpatching --- the plan node output support is only of interest to hard-core hackers, who'd be working on current sources. regards, tom lane ---(end

Re: [PATCHES] [HACKERS] OUTER JOIN performance regression remains in 8.3beta4

2008-01-06 Thread Tom Lane
patch. It seems to fix my simplified test case, but I'm not sure if there are any additional considerations involved in your real queries. This is against CVS HEAD but I think it will apply cleanly to beta4. Haven't looked closely at how to fix 8.2, yet. regards, tom

Re: [PATCHES] [HACKERS] Unworkable column delimiter characters for COPY

2007-12-27 Thread Tom Lane
Andrew Dunstan [EMAIL PROTECTED] writes: Tom Lane wrote: It seems we ought to forbid delimiter from matching CSV quote or escape characters. I'll let you clean up that case though... This should do the trick - I'll apply it tomorrow. A couple thoughts: * This test needs to appear further

Re: [PATCHES] typo in func.sgml

2007-12-20 Thread Tom Lane
=?UTF-8?B?SmFuIFVyYmHFhHNraQ==?= [EMAIL PROTECTED] writes: - individual data types is expected evolve in order to align the + individual data types is expected to evolve in order to align the Applied, thanks. regards, tom lane ---(end

Re: [PATCHES] patch to disallow zero length paths in binary (minor bug fix)

2007-12-17 Thread Tom Lane
. Ideally I think it'd be a good idea if these types did allow zero elements, but that would clearly be a feature extension more than a bug fix, since the implications aren't entirely obvious. I concur with disallowing the case for existing branches. Will go apply. regards, tom

Re: [PATCHES] archiver ps display

2007-12-17 Thread Tom Lane
on reports from the field. Applied patch attached. regards, tom lane Index: pgarch.c === RCS file: /cvsroot/pgsql/src/backend/postmaster/pgarch.c,v retrieving revision 1.35 diff -c -r1.35 pgarch.c *** pgarch.c

Re: [PATCHES] Auto create (top level) directory for create tablespace

2007-12-15 Thread Tom Lane
it is a horrible idea. regards, tom lane ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [PATCHES] Proposed patch to avoid translation risks in psql's \d commands

2007-12-12 Thread Tom Lane
Guillaume Lelarge [EMAIL PROTECTED] writes: Tom Lane a écrit : The attached patch does this, and seems to resolve Guillaume Lelarge's original complaint. It does resolve it. I applied your patch on my CVS HEAD checkout and it works just great. Patch is applied to CVS

[PATCHES] Proposed patch to avoid translation risks in psql's \d commands

2007-12-11 Thread Tom Lane
to just live with that, since it seems a relatively minor deficiency, but I wonder if anyone has a better idea how to do it? regards, tom lane Index: src/bin/psql/describe.c === RCS file: /cvsroot/pgsql/src/bin/psql

Re: [PATCHES] pgbench - startup delay

2007-12-10 Thread Tom Lane
situations... regards, tom lane ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [PATCHES] pgbench - startup delay

2007-12-10 Thread Tom Lane
switches, I believe they are all equivalent to one or another GUC variable: http://developer.postgresql.org/pgdocs/postgres/runtime-config-short.html so the restrictions are the same as for the underlying variable. regards, tom lane ---(end of broadcast

Re: [PATCHES] pgbench - startup delay

2007-12-10 Thread Tom Lane
() --- it's the same sort of animal as PGHOST or PGPORT. So those provide alternate paths for getting at the same functionality, and any documentation patch should be clear about this. regards, tom lane ---(end of broadcast

[PATCHES] Proposed patch to disallow password=foo in database name parameter

2007-12-10 Thread Tom Lane
? regards, tom lane Index: fe-connect.c === RCS file: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v retrieving revision 1.354 diff -c -r1.354 fe-connect.c *** fe-connect.c9 Dec 2007 19:01:40 -

Re: [PATCHES] Proposed patch to disallow password=foo in database name parameter

2007-12-10 Thread Tom Lane
Joshua D. Drake [EMAIL PROTECTED] writes: Tom Lane wrote: As of PG 8.3, libpq allows a conninfo string to be passed in via the dbName parameter of PQsetdbLogin. I didn't even know we could do that. I always use the shell variable option instead. Does anyone actually use the facility? Well

Re: [PATCHES] Proposed patch to disallow password=foo in database name parameter

2007-12-10 Thread Tom Lane
to show the best way of doing it if we're gonna do it ... regards, tom lane ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

[PATCHES] Patch for PQconnectionUsedPassword brain-damage

2007-12-08 Thread Tom Lane
for an ugly special case, instead. regards, tom lane Index: doc/src/sgml/libpq.sgml === RCS file: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v retrieving revision 1.247 diff -c -r1.247 libpq.sgml *** doc/src/sgml

Re: [PATCHES] [PATCH] automatic integer conversion

2007-12-08 Thread Tom Lane
/2007-12/msg00014.php Anyway, I'd like to see a design discussion about what any libpq API changes in this area ought to look like, rather than having it be determined by who can submit the quickest-and-dirtiest patch. regards, tom lane ---(end

Re: [PATCHES] Proposed patch to make mergejoin cost estimation more symmetric

2007-12-07 Thread Tom Lane
affects the estimated total cost (only). regards, tom lane ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [PATCHES] Proposed patch to make mergejoin cost estimation more symmetric

2007-12-07 Thread Tom Lane
, tom lane ---(end of broadcast)--- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate

Re: [PATCHES] Proposed patch to make mergejoin cost estimation more symmetric

2007-12-07 Thread Tom Lane
equal to the sum of its input startup costs (hence, zero in the cases of interest here). regards, tom lane ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail

Re: [PATCHES] PQParam version 0.5

2007-12-06 Thread Tom Lane
into the idea that libpq should know explicitly about each and every backend datatype. The 100% lack of any documentation in the patch isn't helping you sell it, BTW. regards, tom lane ---(end of broadcast)--- TIP 1: if posting

[PATCHES] Proposed patch to make mergejoin cost estimation more symmetric

2007-12-06 Thread Tom Lane
? regards, tom lane Index: src/backend/optimizer/path/costsize.c === RCS file: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v retrieving revision 1.189 diff -c -r1.189 costsize.c *** src/backend/optimizer/path/costsize.c

Re: [PATCHES] [COMMITTERS] pgsql: Remove obsoleted README files.

2007-12-03 Thread Tom Lane
Hannes Eder [EMAIL PROTECTED] writes: Don't try to install a missing file ;) Install.pm needs an update, see attached .diff Ooops :-(. Looks like Magnus got to this mere seconds before I did. regards, tom lane ---(end of broadcast

Re: [PATCHES] [DOCS] Partition: use triggers instead of rules

2007-12-02 Thread Tom Lane
, the COPY operation will not be so straightforward. Does my latest patch attached address this well enough? Applied with revisions and extensions. (I take it you hadn't actually tested the example :-() regards, tom lane ---(end of broadcast

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