Re: [BUGS] BUG #4479: Incorrect TSearch2 results when inserting after deleting

2008-10-23 Thread Nikolay Samokhvalov
To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-bugs > -- Sincerely yours, Nikolay Samokhvalov Postgresmen LLC, http://postgresmen.ru

Re: [BUGS] No error when FROM is missing in subquery

2006-12-18 Thread Nikolay Samokhvalov
ok, sorry, I've realized that it's yet another example of "outer reference", Tom will say "read any SQL book" again :-) http://archives.postgresql.org/pgsql-bugs/2006-12/msg00115.php On 12/19/06, Nikolay Samokhvalov <[EMAIL PROTECTED]> wrote: Followin

[BUGS] No error when FROM is missing in subquery

2006-12-18 Thread Nikolay Samokhvalov
Following query is considered as correct, no "missing from" error has been reported (so, entire table will be updated and "on update" triggers will be fired for every row): update item set obj_id = obj_id where obj_id in (select obj_id where item_point is null order by obj_modified limit 10) Is

Re: [BUGS] Fwd: Strange behaviour of RULE (selecting last inserted ID of 'sequenced' column)

2006-08-11 Thread Nikolay Samokhvalov
uot;id" > column of just-created row. > > Any thoughts? > > -- Forwarded message -- > From: Nikolay Samokhvalov <[EMAIL PROTECTED]> > Date: Jul 13, 2006 6:15 PM > Subject: Strange behaviour of RULE (selecting last inserted ID of > 'sequenced'

[BUGS] Fwd: Strange behaviour of RULE (selecting last inserted ID of 'sequenced' column)

2006-08-04 Thread Nikolay Samokhvalov
I still think that this is quite strange behaviour. When I write '...SELECT NEW.id...' I don't expect that another calling of column's default expr will take place. I just want to have access to "id" column of just-created row. Any thoughts? -- Forwarded me

Re: [BUGS] Fwd: [NOVICE] Trigger and Recursive Relation ?

2006-08-02 Thread Nikolay Samokhvalov
On 8/2/06, Nikolay Samokhvalov <[EMAIL PROTECTED]> wrote: Does Postgres work this way? In the case of 'delete from tbl;' we have search condition>=TRUE for all rows. If we evaluate it *before* any other operation, we should mark all rows to be deleted. I guess, Postgres

Re: [BUGS] Fwd: [NOVICE] Trigger and Recursive Relation ?

2006-08-02 Thread Nikolay Samokhvalov
t - he reports, that problem remains even after dropping FK at all. On 8/2/06, Tom Lane <[EMAIL PROTECTED]> wrote: "Nikolay Samokhvalov" <[EMAIL PROTECTED]> writes: > Is this a bug or not? I don't think so --- or perhaps better, this is a buggy trigger. he UPDATE i

[BUGS] Fwd: [NOVICE] Trigger and Recursive Relation ?

2006-08-01 Thread Nikolay Samokhvalov
Is this a bug or not? Actually, ordinary person get used to think that if "delete from tbl" ends, then there should no rows exists in tbl, but I understand that DELETE FROM works in a loop and... Let's take a look at the standard paper (ISO/IEC 9075-2:2003 -- 14.7 -- General Rules): "... 11) Al

[BUGS] BUG #2490: '||' and type casting for user defined types

2006-06-22 Thread Nikolay Samokhvalov
The following bug has been logged online: Bug reference: 2490 Logged by: Nikolay Samokhvalov Email address: [EMAIL PROTECTED] PostgreSQL version: CVS Operating system: fedora core 5 Description:'||' and type casting for user defined types Details: Assu

[BUGS] BUG #2245: pg_dump doesn't dump expressions with sequence in DEFAULT setting for some column in table

2006-02-07 Thread Nikolay Samokhvalov
The following bug has been logged online: Bug reference: 2245 Logged by: Nikolay Samokhvalov Email address: [EMAIL PROTECTED] PostgreSQL version: 8.1.2 Operating system: Linux Fedora Core 4 Description:pg_dump doesn't dump expressions with sequence in DEFAULT se