[BUGS] Re: BUG #8512: Can't use columns I can't read in the where clause of a select

2013-10-08 Thread David Johnston
Stephen Frost wrote > * > kurt@ > ( > kurt@ > ) wrote: >> Allows SELECT from any column, or the specific columns listed, of the >> specified table, view, or sequence. Also allows the use of COPY TO. This >> privilege is also needed to reference existing column values in UPDATE or >> DELET

[BUGS] Re: BUG #8444: ERROR: table name "tblb" specified more than once in subquery

2013-09-13 Thread David Johnston
Tom Lane-2 wrote > David Johnston < > polobo@ > > writes: >>> Here is a minimal query that demonstrates the problem. In 9.1 it works: >>> >>> chris=# select * FROM current_user u join (current_user u cross join >>> current_user v) x on true;

[BUGS] Re: BUG #8444: ERROR: table name "tblb" specified more than once in subquery

2013-09-12 Thread David Johnston
A much more simple example courtesy of Chris Travers from the original -general thread that I suggested be moved to -bugs. > Here is a minimal query that demonstrates the problem. In 9.1 it works: > > chris=# select * FROM current_user u join (current_user u cross join > current_user v) x on tr

Re: [BUGS] "with recursive" ignores side effects?

2013-08-06 Thread David Johnston
Fabien COELHO-3 wrote > The key issue for me is that table Foo is updated (as shown by the last > column), but although 'two' was updated to '*' by iteration 1, the last > iteration still sees the initial 'two' which does not exist anymore. > > Am I wrong somewhere? Or is this a subtle bug? My

Re: [BUGS] PGSQL Bug

2013-07-18 Thread David Johnston
Michael Kunzmann wrote > Hello, > > I've noticed the following issue when autostarting PostgreSQL under > Ubuntu 12.04 64bit by bootup. I'm using PostgreSQL 9.1. > > A manual service start works (service postgresql start). Not sure what you actually think is the bug...especially since PostgreSQL

Re: [BUGS] BUG #8228: Unexpected "set-valued function" with varchar(n) but not varchar

2013-06-13 Thread David Johnston
On Thu, Jun 13, 2013 at 4:02 PM, Tom Lane wrote: > david.g.johns...@gmail.com writes: > > The following query results in "SQL Error: ERROR: set-valued function > called > > in context that cannot accept a set" > > > SELECT *, CASE WHEN id = 2 THEN > > (regexp_matches(input_string,'^0*([1-9]\d+)$'

Re: [BUGS] BUG #8211: Syntax error when creating index on expression

2013-06-05 Thread David Johnston
bricklen wrote > expression > > An expression based on one or more columns of the table. The expression > usually must be written with surrounding parentheses, as shown in the > syntax. However, the parentheses can be omitted if the expression has the > form of a function call. So in fact the exa

[BUGS] Re: 9.2.4: Strange behavior when wildcard is on left side of search string

2013-04-06 Thread David Johnston
r d-3 wrote > Hi, > > this is with 9.2.4_PGDG / FC18 / 64bit upgraded from 9.1.8 via > dump/restore, settings kept for the most part. > > Table has 1.5M records, the varchar(100) field in question has a * > varchar_ops* and a *varchar_pattern_ops* btree index. > > 3 Cases: > >- "MYFIELD" li

[BUGS] Re: BUG #7784: trouble with pl ERROR: missing FROM-clause entry for table

2013-01-03 Thread David Johnston
smatiz wrote > The following bug has been logged on the website: > > Bug reference: 7784 > Logged by: Santiago Matiz Vasquez > Email address: > smatiz@ > PostgreSQL version: 9.2.2 > Operating system: MAC LION 10.7.4 > Description: > > > CREATE OR REPLACE FUNCTION

{Not A Bug} RE: [BUGS] BUG #7685: last_value() not consistent throughout window partition

2012-11-20 Thread David Johnston
> -Original Message- > From: pgsql-bugs-ow...@postgresql.org [mailto:pgsql-bugs- > ow...@postgresql.org] On Behalf Of w...@devauld.ca > Sent: Tuesday, November 20, 2012 10:28 AM > To: pgsql-bugs@postgresql.org > Subject: [BUGS] BUG #7685: last_value() not consistent throughout window > part

Re: [GENERAL] [BUGS] Prepared Statement Name Truncation

2012-11-18 Thread David Johnston
On Nov 18, 2012, at 2:24, Tom Lane wrote: > "Greg Sabino Mullane" writes: >>> If it's a postgres bug, what is the fix? Make the identifier max size >>> longer? > >> I'd also be in favor of this, in addition to upgrading from a NOTICE. > > On the whole I'm not too excited about changing this. >

Re: [BUGS] BUG #6131: Query Returning Incorrect Results

2011-07-26 Thread David Johnston
-Original Message- From: Tom Lane [mailto:t...@sss.pgh.pa.us] Sent: Tuesday, July 26, 2011 7:42 PM To: David Johnston Cc: pgsql-bugs@postgresql.org Subject: Re: [BUGS] BUG #6131: Query Returning Incorrect Results "David Johnston" writes: > The embedded script exhibits

[BUGS] BUG #6131: Query Returning Incorrect Results

2011-07-26 Thread David Johnston
The following bug has been logged online: Bug reference: 6131 Logged by: David Johnston Email address: pol...@yahoo.com PostgreSQL version: 9.0.4 Operating system: Windows 7 64-bit Description:Query Returning Incorrect Results Details: The embedded script exhibits