Re: [BUGS] BUG #8381: data base inconsistancy

2013-08-14 Thread David Fetter
having the correct > updated values. > We are using default isolation level (Read Committed) PostgreSQL 8.1 has been unsupported since 2010. Once you've upgraded to a supported version, if the problem persists, we may be able to help. Cheers, David. -- David Fetter http://fetter.org/

Re: [BUGS] BUG #6687: initdb -A ident can almost never be correct

2012-06-11 Thread David Fetter
On Mon, Jun 11, 2012 at 06:21:43PM +0200, Magnus Hagander wrote: > On Mon, Jun 11, 2012 at 6:14 PM, David Fetter wrote: > > On Mon, Jun 11, 2012 at 06:04:22PM +0200, Magnus Hagander wrote: > >> On Mon, Jun 11, 2012 at 6:01 PM, David Fetter wrote: > >> > On Mon, Ju

Re: [BUGS] BUG #6687: initdb -A ident can almost never be correct

2012-06-11 Thread David Fetter
On Mon, Jun 11, 2012 at 06:04:22PM +0200, Magnus Hagander wrote: > On Mon, Jun 11, 2012 at 6:01 PM, David Fetter wrote: > > On Mon, Jun 11, 2012 at 05:51:06PM +0200, Magnus Hagander wrote: > >> On Mon, Jun 11, 2012 at 5:14 PM,   wrote: > >> > The following bug

Re: [BUGS] BUG #6687: initdb -A ident can almost never be correct

2012-06-11 Thread David Fetter
On Mon, Jun 11, 2012 at 05:51:06PM +0200, Magnus Hagander wrote: > On Mon, Jun 11, 2012 at 5:14 PM, wrote: > > The following bug has been logged on the website: > > > > Bug reference:      6687 > > Logged by:          David Fetter > > Email address:      da...@

Re: [BUGS] Re: select table indicate missing chunk number 0 for toast value 96635 in pg_toast_2619

2012-05-03 Thread David Fetter
ber-0-for-toast-value-96635-in-pg-toast-2619-tp5682176p5682273.html > Sent from the PostgreSQL - bugs mailing list archive at Nabble.com. > > -- > Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mail

Re: [BUGS] Proble Postgre SQL version 7.4.1

2012-01-05 Thread David Fetter
h, so please to report bugs in that language, enlisting help wherever you need to in order to do so. Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fet...@gmail.com iCal: webcal://www.tripit.com/feed/i

Re: [HACKERS] [BUGS] BUG #6083: psql script line numbers incorrectly count \copy data

2011-07-04 Thread David Fetter
o much for copying from a separate file. > > The attached patch seems like an appropriate fix. However, I'm > unsure whether to apply it to released branches ... does anyone > think this might break somebody's application? No. Cheers, David. -- David Fetter http://fe

[BUGS] BUG #6067: In PL/pgsql, EXISTS(SELECT ... INTO...) fails

2011-06-18 Thread David Fetter
The following bug has been logged online: Bug reference: 6067 Logged by: David Fetter Email address: dfet...@vmware.com PostgreSQL version: 9.0.4 Operating system: Linux Description:In PL/pgsql, EXISTS(SELECT ... INTO...) fails Details: Here's some example

Re: [BUGS] BUG #6051: wCTE query fail with wrong error text on a table with rules

2011-06-06 Thread David Fetter
at :) > but the second case seems seriously annoying, since there's no way > for someone to write a CTE-containing rule action without risking a > conflict. Ideas anybody? Is there some way to throw "not implemented" there, too? It seems to me that making accommodations for

Re: [BUGS] Regular issues faced on postgres 8.1

2011-01-21 Thread David Fetter
some kind of plans to build major version upgrades into your development process, as end-of-life is a fact of life in this as in every other software or system. Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter

Re: [BUGS] BUG #5754: CTE optimization fails to account for side effects

2010-11-20 Thread David Fetter
On Mon, Nov 15, 2010 at 06:55:47PM -0500, Tom Lane wrote: > "David Fetter" writes: > > CREATE SEQUENCE my_seq; > > WITH t AS (SELECT nextval('my_seq')) VALUES(1); > > SELECT currval('my_seq'); > > > ERROR: currval of sequence &

[BUGS] BUG #5754: CTE optimization fails to account for side effects

2010-11-15 Thread David Fetter
The following bug has been logged online: Bug reference: 5754 Logged by: David Fetter Email address: da...@fetter.org PostgreSQL version: 8.4+ Operating system: All Description:CTE optimization fails to account for side effects Details: Here's how to repr

Re: [BUGS] BUG #5652: Optimizer does wrong thing with partitioned tables

2010-09-11 Thread David Fetter
d. > > > Thanks, I will do that. However, I cannot call myself a hacker, I > am but a mere beginner with Postgres. You're a hacker when you start hacking :) Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfet

Re: [HACKERS] Drop one-argument string_agg? (was Re: [BUGS] string_agg delimiter having no effect with order by)

2010-08-04 Thread David Fetter
gates, or at least never have any built-in ones > that use such a feature. > > By my count the following people had offered an opinion on making > this change: > for: tgl, josh, badalex, mmoncure > against: rhaas, thom > Anybody else want to vote, or change their

Re: [HACKERS] Re: Drop one-argument string_agg? (was Re: [BUGS] string_agg delimiter having no effect with order by)

2010-08-04 Thread David Fetter
;) People who have been > waiting for this will burn me as a heretical witch... er.. man > witch... warlock? Witch. Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fet...@gmail.com iCal: webcal://

Re: [BUGS] BUG #5488: pg_dump does not quote column names -> pg_restore may fail when upgrading

2010-06-04 Thread David Fetter
> > Even if we quote them in the dump, I assume applications would need > to quote them too, which I doubt many do. It seems like something that's doable by pg_dump as a "default off" option. TODO for 9.1? Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415

Re: [BUGS] BUG #5339: Version of Perl detected incorrectly

2010-02-22 Thread David Fetter
read? I may have inadvertently used some > bash/gnu-isms... sorry about that. > > *** a/configure > --- b/configure Edit configure.in, not configure :) Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: dav

Re: [BUGS] BUG #5242: ODBC driver v8.4.1 crashed

2009-12-15 Thread David Fetter
t report them here; please report to those > projects directly. Alternatively you can look at the available href='/community/lists'>mailing lists and see if there is a more > apropriate list available." This is better than what I sent :) Cheers, David. -- David Fetter http

Re: [BUGS] BUG #5242: ODBC driver v8.4.1 crashed

2009-12-15 Thread David Fetter
oblems with the PostgreSQL database, for problems with database connectors like JDBC and ODBC, graphical administration tools like pgAdmin and phpPgAdmin, or other external projects like Slony, Bucardo, etc., please report to them directly. In cases where you have a problem with things outside

Re: [BUGS] BUG #5150: math bug

2009-10-30 Thread David Fetter
braic numbers, of which rational numbers are a proper subset, is countable and hence has Lebesgue measure zero on the real line. ;) Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fet...@gmail.com

Re: [BUGS] BUG #5123: bug in window function "last_value"

2009-10-16 Thread David Fetter
On Fri, Oct 16, 2009 at 01:28:57PM -0400, Tom Lane wrote: > David Fetter writes: > > I think what the OP was expecting was to have the last value be 3 > > instead of changing. This is at least a POLA violation. > > [ shrug... ] It's what the spec requires, as far

Re: [BUGS] BUG #5123: bug in window function "last_value"

2009-10-16 Thread David Fetter
have the last value be 3 instead of changing. This is at least a POLA violation. Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fet...@gmail.com Remember to vote! Consider donating to Postgres: http://

Re: [BUGS] BUG #5087: Submitted bug reports not showing up in a timely manner (or at all)

2009-09-29 Thread David Fetter
ts there... We're probably just back in the situation where > we need more moderators for it... I'd be happy to be added as moderator for -bugs or any other list that needs love. I already do -general and sfpug, so this shouldn't be much extra work :) Cheers, David. -- David Fe

Re: [BUGS] BUG #5066: plperl issues with perl_destruct() and END blocks

2009-09-21 Thread David Fetter
On Mon, Sep 21, 2009 at 02:28:11PM -0400, Robert Haas wrote: > On Mon, Sep 21, 2009 at 2:17 PM, David Fetter wrote: > > On Mon, Sep 21, 2009 at 01:06:17PM -0400, Alvaro Herrera wrote: > >> David Fetter escribió: > >> > On Mon, Sep 21, 2009 at 12:06:30PM -0400, Alvaro

Re: [BUGS] BUG #5066: plperl issues with perl_destruct() and END blocks

2009-09-21 Thread David Fetter
On Mon, Sep 21, 2009 at 01:06:17PM -0400, Alvaro Herrera wrote: > David Fetter escribió: > > On Mon, Sep 21, 2009 at 12:06:30PM -0400, Alvaro Herrera wrote: > > > David Fetter escribió: > > > > > > > Taken literally, that would mean, "the last acti

Re: [BUGS] BUG #5066: plperl issues with perl_destruct() and END blocks

2009-09-21 Thread David Fetter
On Mon, Sep 21, 2009 at 12:06:30PM -0400, Alvaro Herrera wrote: > David Fetter escribió: > > > Taken literally, that would mean, "the last action before the > > backend exits," but at least to me, that sounds troubling for the > > same reasons that "end of

Re: [BUGS] BUG #5066: plperl issues with perl_destruct() and END blocks

2009-09-21 Thread David Fetter
for the same reasons that "end of transaction" triggers do. What happens when there are two different END blocks in a session? With connection poolers, backends can last quite awhile. Is it OK for the END block to run hours after the rest of the code? Cheers, David. -- David Fet

Re: [BUGS] BUG #5009: Loss of information

2009-08-25 Thread David Fetter
uniqueness, and only that. If you wish to create some entity which has some other properties, be aware that such entities require locking, which sharply limits their speed. Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidf

Re: [BUGS] TH to_char modifier doesn't work with HH12

2009-07-06 Thread David Fetter
the file, but the whole question of date and time handling has been tricky and complicated for all of human history. Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fet...@gmail.com Remember to vot

Re: [BUGS] TH to_char modifier doesn't work with HH12

2009-07-06 Thread David Fetter
fixing coding mistakes in formatting.c? That depends on whether the project lasts forever ;) Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fet...@gmail.com Remember to vote! Consider donating to Postgres

Re: [BUGS] BUG #4465: GROUP BY is not to SQL standard

2008-10-15 Thread David Fetter
iant than MySQL, > but Postgres is not 100% compliant either. Is any database system > 100% compliant? No. Cheers, David. -- David Fetter <[EMAIL PROTECTED]> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: [EMAIL PROTECT

Re: [BUGS] ERROR: unexpected data beyond EOF in block XXXXX of relation "file"

2008-09-29 Thread David Fetter
gs@postgresql.org) > > To make changes to your subscription: > > http://www.postgresql.org/mailpref/pgsql-bugs > > > > > > -- > View this message in context: > http://www.nabble.com/ERROR%3A--unexpected-data-beyond-EOF-in-block-X-of-relation-%22file%22-tp1968

Re: [BUGS] BUG #4354: Text Type converted to Memo

2008-08-14 Thread David Fetter
t I don't think it is. Delphi's memo type corresponds (roughly) to PostgreSQL's TEXT/VARCHAR one, so it's your expectations that were off. Cheers, David. -- David Fetter <[EMAIL PROTECTED]> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfett

[BUGS] Re: [GENERAL] different results based solely on existence of index (no, seriously)

2008-08-12 Thread David Fetter
g isn't a bug unless you can reproduce it on the latest minor version, in this case 8.3.3, of the major version, in this case 8.3, that the bug appears in. Cheers, David. -- David Fetter <[EMAIL PROTECTED]> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype:

Re: [BUGS] Possible problem with EXTRACT(EPOCH FROM TIMESTAMP)

2008-03-25 Thread David Fetter
; This is a bug. Extract(epoch from [timestamp without time zone]) shouldn't work at all. Epoch only has meaning in the context of a timestamptz. Cheers, David. -- David Fetter <[EMAIL PROTECTED]> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: df

Re: [BUGS] BUG #3910: Incorrect behavior of UPDATE statement on tables with constraints UNIQUE/PRIMARY KEY

2008-01-29 Thread David Fetter
ng. > For example, in Oracle all works propertly, and result of SELECT is: > SQL> select * from n; > > N > -- > 2 > 3 > 4 You can get around this by doing: UPDATE t SET n=t.n+1 FROM ( SELECT n FROM t ORDER BY n DESC ) t

Re: [BUGS] BUG #3891: Multiple UPDATE doesn't handle UNIQUE constraint correctly

2008-01-21 Thread David Fetter
2 X > > Now, we update table A with values from temporary table temp_A doing > something like > > UPDATE "A" SET "Name" = "temp_A"."Name" FROM "temp_A" WHERE "A".record_id = > "temp_A".record_id

Re: [BUGS] BUG #3729: Query doesn't return the right answer

2007-11-08 Thread David Fetter
ou don't know whether they will be NULL when you write the SQL, use constructs like WHERE foo IS NOT DISTINCT FROM $1 Cheers, David. -- David Fetter <[EMAIL PROTECTED]> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: [EMAIL PROTECTE

Re: [BUGS] The PostgreSQL Data directory Must be on an NTFS formatted Volume

2007-10-26 Thread David Fetter
t you need to do. Cheers, David. -- David Fetter <[EMAIL PROTECTED]> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: [EMAIL PROTECTED] Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate ---

Re: [BUGS] BUG #3320: Error when using INSERT...RETURNING as a subquery

2007-05-29 Thread David Fetter
G is only supported at the top level of a query. What would be involved with making this possible? What we have at the moment is a pretty clear POLA violation because unlike the rest of the row-returning objects (tables, views, SRFs and VALUES() clauses), only RETURNING can't be used in a sub

Re: [BUGS] Plperl functions not re-entrant, wrong results

2007-04-30 Thread David Fetter
ded. There's a setting you can set in your postgresql.conf that will help you find these problems more automatically: custom_variable_classes = 'plperl' plperl.use_strict = true Cheers, David. -- David Fetter <[EMAIL PROTECTED]> http://fetter.org/ phone: +1 415 235 3778

Re: [BUGS] BUG #3228: Linux/M32R project

2007-04-17 Thread David Fetter
m: linux > Description:Linux/M32R project > Details: > > Developing Linux/M32R. Inoaka-san, Please consider submitting this as a pgfoundry project or as a porting issue on the pgsql-hackers mailing list. Regards, David. -- David Fetter <[EMAIL PROTECTED]> http://fet

Re: [BUGS] Operator Classes and ANALYZE

2006-11-06 Thread David Fetter
ixed > * someday, but for now, punt. > */ > > It's in the analyze.c code, but not in the docs. Should a doc patch be in the offing here? Cheers, D -- David Fetter <[EMAIL PROTECTED]> http://fetter.org/ phone: +1 415 235 3778AIM: dfetter666

Re: [BUGS] BUG #2683: spi_exec_query in plperl returns column names which are not marked as UTF8

2006-10-16 Thread David Fetter
On Mon, Oct 16, 2006 at 10:00:13AM -0400, Tom Lane wrote: > David Fetter <[EMAIL PROTECTED]> writes: > > 1. We can continue to support 5.6 until we can't any more, and > > statistically speaking that "can't any more" is quite likely to > > happen

Re: [BUGS] BUG #2683: spi_exec_query in plperl returns column names which are not marked as UTF8

2006-10-15 Thread David Fetter
On Mon, Oct 16, 2006 at 12:10:42AM -0400, Bruce Momjian wrote: > David Fetter wrote: > > On Sun, Oct 15, 2006 at 07:07:18PM -0400, Tom Lane wrote: > > > David Fetter <[EMAIL PROTECTED]> writes: > > > > At some point, we will find something where we will have to

Re: [BUGS] BUG #2683: spi_exec_query in plperl returns column names which are not marked as UTF8

2006-10-15 Thread David Fetter
On Sun, Oct 15, 2006 at 07:07:18PM -0400, Tom Lane wrote: > David Fetter <[EMAIL PROTECTED]> writes: > > At some point, we will find something where we will have to duplicate > > some large hunk of 5.8's functionality to support 5.6. > > No, we won't; we a

Re: [BUGS] BUG #2683: spi_exec_query in plperl returns column names which are not marked as UTF8

2006-10-15 Thread David Fetter
On Sun, Oct 15, 2006 at 06:12:43PM -0400, Tom Lane wrote: > David Fetter <[EMAIL PROTECTED]> writes: > > On Sun, Oct 15, 2006 at 04:43:17PM -0400, Tom Lane wrote: > >> ISTM the real question is what do we buy if we make such a > >> restriction? Getting rid of a f

Re: [HACKERS] [BUGS] BUG #2683: spi_exec_query in plperl returns

2006-10-15 Thread David Fetter
ck is mighty ugly. > > I am also wondering, now that it's been raised, if we need to issue > a "use utf8;" in the startup code, so that literals in the code get > the right encoding. That would be a reason to go to 5.8, as 'use utf8;' is tricky at best in 5.6. Cheer

Re: [BUGS] BUG #2683: spi_exec_query in plperl returns column names which are not marked as UTF8

2006-10-15 Thread David Fetter
On Sun, Oct 15, 2006 at 04:43:17PM -0400, Tom Lane wrote: > David Fetter <[EMAIL PROTECTED]> writes: > > I'd like to suggest that raise that minimum requirement for Perl > > to 5.8 for 8.3, as Perl 5.8 will be about five years old by then. > > Well, we're s

Re: [BUGS] BUG #2683: spi_exec_query in plperl returns column names which are not marked as UTF8

2006-10-15 Thread David Fetter
system or other so ancient that Perl 5.8 did not come pre-installed with it, but we can't be supporting other projects backwards into eternity. Supporting our own is already plenty of work. Cheers, D -- David Fetter <[EMAIL PROTECTED]> http://fetter.org/ phone: +1

Re: [BUGS] Restoring 7.4.2 pg_dumpall output in 8.1.4 fails

2006-08-10 Thread David Fetter
On Thu, Aug 10, 2006 at 11:44:31AM -0700, Jie Liang wrote: > Tom, > I used: > pg_dumpall > db.out on my 7.4.2 server It's not a bug. Use the pg_dumpall from 8.1.4 to talk to the still-live 7.4.2 server :) Cheers, D -- David Fetter <[EMAIL PROTECTED]> http://fetter.org/

Re: [BUGS] BUG #2542: ALTER USER foo SET bar = func(baz) errors out

2006-07-20 Thread David Fetter
On Thu, Jul 20, 2006 at 10:46:27PM -0400, Tom Lane wrote: > "David Fetter" <[EMAIL PROTECTED]> writes: > > is there some way to let the right hand side of SET be the (TEXT) > > output of a function? > > No. SET is a utility command and utility commands gener

[BUGS] BUG #2542: ALTER USER foo SET bar = func(baz) errors out

2006-07-20 Thread David Fetter
The following bug has been logged online: Bug reference: 2542 Logged by: David Fetter Email address: [EMAIL PROTECTED] PostgreSQL version: All Operating system: All Description:ALTER USER foo SET bar = func(baz) errors out Details: foo=> ALTER USER foo

Re: [BUGS] BUG #2539: PL/PgSQL doesn't disallow COPY commands on compile, even though it disallows them.

2006-07-19 Thread David Fetter
On Wed, Jul 19, 2006 at 07:02:15PM -0400, Tom Lane wrote: > "David Fetter" <[EMAIL PROTECTED]> writes: > > Description:PL/PgSQL doesn't disallow COPY commands on > > compile, even though it disallows them. > > There are many many things that wo

[BUGS] BUG #2539: PL/PgSQL doesn't disallow COPY commands on compile, even though it disallows them.

2006-07-19 Thread David Fetter
The following bug has been logged online: Bug reference: 2539 Logged by: David Fetter Email address: [EMAIL PROTECTED] PostgreSQL version: All Operating system: Linux and OSX that I've tested Description:PL/PgSQL doesn't disallow COPY commands on compile, e

Re: [PATCHES] [BUGS] BUG #2221: Bad delimiters allowed in COPY ...

2006-01-31 Thread David Fetter
On Tue, Jan 31, 2006 at 09:50:26PM -0600, Andrew Dunstan wrote: > David Fetter said: > > On Tue, Jan 31, 2006 at 08:03:41PM -0500, Bruce Momjian wrote: > >> Uh, couldn't the delimiter be a backslash in CVS mode? > > > > I don't think so. Folks? > >

Re: [PATCHES] [BUGS] BUG #2221: Bad delimiters allowed in COPY ...

2006-01-31 Thread David Fetter
cstate->null_print, cstate->delim[0]) != NULL) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), errmsg("COPY delimiter must not appear in the NULL specification"))); I suppose that a different error code might be The Right Thing™ here.

Re: [PATCHES] [BUGS] BUG #2221: Bad delimiters allowed in COPY ...

2006-01-30 Thread David Fetter
On Mon, Jan 30, 2006 at 08:21:34AM -0500, Andrew Dunstan wrote: > > > David Fetter wrote: > > > > >+/* Disallow BADCHARS characters */ > >+if (strcspn(cstate->delim, BADCHARS) != 1) > >+ereport(ERROR, > >+

Re: [PATCHES] [BUGS] BUG #2221: Bad delimiters allowed in COPY ...

2006-01-29 Thread David Fetter
On Sun, Jan 29, 2006 at 10:20:47PM -0500, Neil Conway wrote: > On Sun, 2006-01-29 at 17:03 -0800, David Fetter wrote: > > Another followup, this time with the comment done right. > > + /* Disallow the forbidden_delimiter strings */ > + if (strcspn(cstate->

Re: [PATCHES] [BUGS] BUG #2221: Bad delimiters allowed in COPY ... TO

2006-01-29 Thread David Fetter
On Sun, Jan 29, 2006 at 04:41:43PM -0800, David Fetter wrote: > On Sun, Jan 29, 2006 at 09:50:08PM +0000, David Fetter wrote: > > > > The following bug has been logged online: > > > > Bug reference: 2221 > > Logged by: David Fetter > &g

Re: [BUGS] BUG #2221: Bad delimiters allowed in COPY ... TO

2006-01-29 Thread David Fetter
On Sun, Jan 29, 2006 at 09:50:08PM +, David Fetter wrote: > > The following bug has been logged online: > > Bug reference: 2221 > Logged by: David Fetter > Email address: [EMAIL PROTECTED] > PostgreSQL version: all > Operating system: all &

[BUGS] BUG #2221: Bad delimiters allowed in COPY ... TO

2006-01-29 Thread David Fetter
The following bug has been logged online: Bug reference: 2221 Logged by: David Fetter Email address: [EMAIL PROTECTED] PostgreSQL version: all Operating system: all Description:Bad delimiters allowed in COPY ... TO Details: This came up while I was testing my

Re: [BUGS] [PATCHES] Patch to allow contrib/pgbench files to have blank lines

2005-12-09 Thread David Fetter
mmitted your patches to current and 8.1 stable. Please apply the following patch that removes an unneeded (and broken) counter increment. Cheers, D -- David Fetter [EMAIL PROTECTED] http://fetter.org/ phone: +1 415 235 3778 Remember to

[BUGS] Patch to allow contrib/pgbench files to have blank lines

2005-11-22 Thread David Fetter
Folks, Having blank lines in -f scripts was causing silent failures. This fixes it, for some value of "fixes." If it's OK, please apply to 8.1 CURRENT and CVS TIP :) Cheers, D -- David Fetter [EMAIL PROTECTED] http://fetter.org/ phone: +1 415 235 3778 Remember to vote! Index:

Re: [BUGS] BUG #2051: CREATE TEMP TABLE AS SELECT doesn't play nice with ON COMMIT DROP

2005-11-22 Thread David Fetter
On Tue, Nov 22, 2005 at 06:20:37PM -0500, Bruce Momjian wrote: > > TODO has: > > o Add ON COMMIT capability to CREATE TABLE AS ... SELECT Great :) Cheers, D -- David Fetter [EMAIL PROTECTED] http://fetter.org/ phone: +1 415 235 3778 Remember to vote! ---

Re: [BUGS] BUG #2051: CREATE TEMP TABLE AS SELECT doesn't play

2005-11-17 Thread David Fetter
On Thu, Nov 17, 2005 at 07:11:42PM -0500, Neil Conway wrote: > On Thu, 2005-11-17 at 13:07 -0800, David Fetter wrote: > > This is still a bug, or at least a big gotcha. > > It's not a bug, merely an unimplemented feature. If no one beats me > to it I'll take

Re: [BUGS] BUG #2051: CREATE TEMP TABLE AS SELECT doesn't play nice with ON COMMIT DROP

2005-11-17 Thread David Fetter
On Thu, Nov 17, 2005 at 05:32:43PM -0500, Tom Lane wrote: > David Fetter <[EMAIL PROTECTED]> writes: > > On Thu, Nov 17, 2005 at 04:37:14PM -0500, Tom Lane wrote: > >> CREATE TEMP TABLE foo ... ON COMMIT DROP; > > > It's that first little elipsis mark that&

Re: [BUGS] BUG #2051: CREATE TEMP TABLE AS SELECT doesn't play nice with ON COMMIT DROP

2005-11-17 Thread David Fetter
On Thu, Nov 17, 2005 at 04:37:14PM -0500, Tom Lane wrote: > David Fetter <[EMAIL PROTECTED]> writes: > > This is still a bug, > > No, it's a feature request, and a rather low-priority one considering > you can already do > > CREATE TEMP TABLE foo ... ON C

Re: [BUGS] BUG #2051: CREATE TEMP TABLE AS SELECT doesn't play nice with ON COMMIT DROP

2005-11-17 Thread David Fetter
On Thu, Nov 17, 2005 at 03:26:21PM -0500, Jaime Casanova wrote: > On 11/17/05, David Fetter <[EMAIL PROTECTED]> wrote: > > > > The following bug has been logged online: > > > > Bug reference: 2051 > > Logged by: David Fetter > > Email a

[BUGS] BUG #2051: CREATE TEMP TABLE AS SELECT doesn't play nice with ON COMMIT DROP

2005-11-17 Thread David Fetter
The following bug has been logged online: Bug reference: 2051 Logged by: David Fetter Email address: [EMAIL PROTECTED] PostgreSQL version: 8.0x Operating system: Linux Description:CREATE TEMP TABLE AS SELECT doesn't play nice with ON COMMIT DROP Details: C

Re: [BUGS] BUG #1947: Enhancement Request - CONCAT() function

2005-10-09 Thread David Fetter
s not seem to have a method of accepting enhancement > requests. That is why I specifically put ENHANCEMENT REQUEST in the > description. I've never seen somebody try so hard to get himself labeled as a help-rejecting complainer before. Are you *certain* that this is what you want to do,

Re: [BUGS] BUG #1947: Enhancement Request - CONCAT() function

2005-10-08 Thread David Fetter
f compatibility. This is not one of those cases. > Are you honestly going to tell me that if your user base requested > certain additional functionality that you would refuse to include it > simply because it was "not in the standard"? Several proposals have been rejected because

Re: [BUGS] BUG #1947: Enhancement Request - CONCAT() function

2005-10-08 Thread David Fetter
that you must support multiple back-end databases, please look over this presentation http://www.powerpostgresql.com/Downloads/database_depends_public.swf and see whether this is really a road you want to travel. Cheers, D -- David Fetter [EMAIL PROTECTED] http://fetter.org

Re: [BUGS] BUG #1921: NULL<>NULL ?!?!?!?!?!?!?

2005-09-29 Thread David Fetter
r they are equal, and so the only right answer to "Is BogDan's birthday unequal to his coworker's?" is "I don't know." HTH :) Cheers, D -- David Fetter [EMAIL PROTECTED] http://fetter.org/ phone: +1 510 893 6100 mobile: +1 415 235 3778 Remember to vo

Re: [BUGS] Column Name parameter problem

2005-09-28 Thread David Fetter
for a fix in 8.2, but for now, use another PL like PL/Perl, or (if you're brave ;) C. Cheers, D -- David Fetter [EMAIL PROTECTED] http://fetter.org/ phone: +1 510 893 6100 mobile: +1 415 235 3778 Remember to vote! ---(end of broadcast)--- TI

Re: [BUGS] BUG #1875: Function parameter names clash with table column names

2005-09-10 Thread David Fetter
in this case that the parameter names of the function > cannot be the same as the column names used by the INSERT statement > -- clashes. This is not really a bug. If the things really are different, in this case function input parameters and column names, they should also have differen

Re: [BUGS] PSQL commands not backwards-compatible

2005-08-30 Thread David Fetter
ith > > previous versions of PostgreSQL. > > > > I am working on a patch to warn on psql startup if the backslash > commands might not work. In case of relenting on the feature freeze vs. bug thing, I am preparing a patch that makes psql's \d commands backward-compati

[BUGS] BUG #1770: Composite type dependency broken

2005-07-14 Thread David Fetter
The following bug has been logged online: Bug reference: 1770 Logged by: David Fetter Email address: [EMAIL PROTECTED] PostgreSQL version: 8.0.3 Operating system: Linux Description:Composite type dependency broken Details: Here's a repro (psql): create tabl

[BUGS] Composite Type dependency bug

2005-07-14 Thread David Fetter
Folks, Pardon the dup, but I couldn't post via the web site :/ The following bug has been logged online: Bug reference: 1770 Logged by: David Fetter Email address: [EMAIL PROTECTED] PostgreSQL version: 8.0.3 Operating system: Linux Description:Composite

Re: [BUGS] float conversion / presentation problem ?

2005-04-07 Thread David Fetter
e-10 > digits. I once had a clue about the exact laws for this, but it was > many years ago :-( As with base-10, any denominator that can't be expressed as a power of the prime factors in the base results in a repeating number. So basically any denominator that can't be express

Re: [BUGS] Dollar quoting inside a regex bracket expression

2004-09-27 Thread David Fetter
On Sun, Sep 26, 2004 at 11:45:42PM -0400, Tom Lane wrote: > David Fetter <[EMAIL PROTECTED]> writes: > > CREATE OR REPLACE FUNCTION has_bad_chars(text) RETURNS BOOLEAN > > AS $function$ > > SELECT $1 ~ $q$[\t\r\n\v|$qq$\$qq$]$q$; > > $function$ LANGUAGE SQL;

Re: [BUGS] postgres 7.1.3 wth perl 5.8.0

2004-08-11 Thread David Fetter
tion. Are you going to support your own branch of PostgreSQL in perpetuity? That's what you're signing up for if you don't upgrade. > so.. is there a way to fix this without upgrading postgres, but not > using Redhat 7.x ? No. Cheers, D -- David Fetter [EMAIL PROTECTED]

Re: [BUGS] Regex bug

2004-08-06 Thread David Fetter
On Fri, Aug 06, 2004 at 01:32:32PM -0400, Tom Lane wrote: > David Fetter <[EMAIL PROTECTED]> writes: > > Here's a symptom as reported by John Hansen aka applejack: > > > SELECT 'r'||'\000\125'||'hello' ~ '^.hello' AS "OM

[BUGS] Regex bug

2004-08-06 Thread David Fetter
Kind people, Here's a symptom as reported by John Hansen aka applejack: SELECT 'r'||'\000\125'||'hello' ~ '^.hello' AS "OMG"; OMG - t (1 row) I have produced this behavior in 7.4.3 and CVS tip. This should be false, shouldn&#

[BUGS] Backslash Bug in ARE Class-Shorthand Escape?

2003-12-06 Thread David Fetter
7; ~ '\\d'); ?column? -- t (1 row) test=> select ('123' ~ '\d'); ?column? -- f (1 row) -- David Fetter [EMAIL PROTECTED] http://fetter.org/ phone: +1 510 893 6100cell: +1 415 235 3778 Not believin

Re: [BUGS] PERFORM bug with FOUND?

2003-11-22 Thread David Fetter
Tom Lane <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] (David Fetter) writes: >> I've written a little hack, here included, which is supposed to find >> whether a user is in a group. I'd intended to do a PERFORM instead of >> SELECT INTO, but PERFORM appear

[BUGS] PERFORM bug with FOUND?

2003-11-21 Thread David Fetter
r u , pg_group g WHERE u.usename = the_user AND g.groname = the_group AND u.usesysid = ANY (g.grolist); IF FOUND THEN RETURN true; ELSE RETURN false; END IF; END; ' LANGUAGE 'plpgsql' STRICT IMMUTABLE; TIA for any hints, tips