![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
select table1.oid from view1; NOTICE: adding missing FROM-clause entry for table "table1" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ |
|
(psql crashes) |
#3
| |||
| |||
|
|
Description: Select table.oid from view seems to loop Details: Hello! Here's what i found: select count(*) from view1; count ------- 12874 (1 row) select table1.oid from view1; NOTICE: adding missing FROM-clause entry for table "table1" (psql crashes) |
#4
| |||
| |||
|
|
The following bug has been logged online: Bug reference: 1169 Logged by: Robert Osowiecki Email address: robson (AT) cavern (DOT) pl PostgreSQL version: 7.4 Operating system: Linux Description: Select table.oid from view seems to loop Here's what i found: select count(*) from view1; count ------- 12874 (1 row) select table1.oid from view1; NOTICE: adding missing FROM-clause entry for table "table1" (psql crashes) |
#5
| |||
| |||
|
|
In 7.4 there is a postgresql.conf setting to control this behaviour (add_missing_from). I'd turn it off, as I've always found it to cause problems rather than solve them. |

![]() |
| Thread Tools | |
| Display Modes | |
| |