OSDN Git Service

Correct portability-related errors in inet expected output. I'm not
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 25 Nov 2000 21:32:25 +0000 (21:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 25 Nov 2000 21:32:25 +0000 (21:32 +0000)
sure that broadcast('foo/32') means anything, but if it does, surely
it ought to return foo, not 255.255.255.255.

src/test/regress/expected/inet.out

index 6f86056..009c098 100644 (file)
@@ -54,10 +54,10 @@ SELECT '' AS ten, c AS cidr, broadcast(c),
  ten |     cidr     |    broadcast     |       inet       |    broadcast     
 -----+--------------+------------------+------------------+------------------
      | 192.168.1/24 | 192.168.1.255/24 | 192.168.1.226/24 | 192.168.1.255/24
-     | 192.168.1/24 | 192.168.1.255/24 | 192.168.1.226    | 255.255.255.255
+     | 192.168.1/24 | 192.168.1.255/24 | 192.168.1.226    | 192.168.1.226
      | 10/8         | 10.255.255.255/8 | 10.1.2.3/8       | 10.255.255.255/8
-     | 10.0.0.0/32  | 255.255.255.255  | 10.1.2.3/8       | 10.255.255.255/8
-     | 10.1.2.3/32  | 255.255.255.255  | 10.1.2.3         | 255.255.255.255
+     | 10.0.0.0/32  | 10.0.0.0         | 10.1.2.3/8       | 10.255.255.255/8
+     | 10.1.2.3/32  | 10.1.2.3         | 10.1.2.3         | 10.1.2.3
      | 10.1.2/24    | 10.1.2.255/24    | 10.1.2.3/24      | 10.1.2.255/24
      | 10.1/16      | 10.1.255.255/16  | 10.1.2.3/16      | 10.1.255.255/16
      | 10/8         | 10.255.255.255/8 | 10.1.2.3/8       | 10.255.255.255/8