![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Dear all, some of my views are created with help of the UNION operator. Now, I also need to include the base table XMIN system column into those views. Which works fine (as long as I alias them) except that UNION does an internal sort. My PG version (7.4) complains about not being able to find a sort operator for data type XID (of which XMIN is). Searching the web unearthes a solution for loading those missing operators for as early as 6.4.1 (1998) ! http://archives.postgresql.org/pgsql...1/msg00096.php Strangely enough I see those operators listed in the release notes for 7.2 ... http://www.postgresql.org/docs/7.2/i...lease-7-2.html Are those operators included in PG > 7.4 ? Should they be ? Is it my version that's compiled without them, perhaps ? Thanks, Karsten -- GPG key ID E4071346 @ wwwkeys.pgp.net E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346 ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org |
|
Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a tool for doing 5% of the work and then sitting around waiting for someone else to do the other 95% so you can sue them. |
#2
| |||
| |||
|
|
Try a cast, or just use UNION ALL Thanks. |
#3
| |||
| |||
|
|
However, the question still holds true: Is there any particular reason those operators aren't found in my PG installation despite being listed as added since 7.2 ? |
![]() |
| Thread Tools | |
| Display Modes | |
| |