![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
outbound_count | outbound_bytes ---------------------+----------+-------+----------------+-------------- |
|
outbound_count | outbound_bytes ---------------------+----------+-------+----------------+-------------- |
#2
| |||
| |||
|
#3
| |||
| |||
|
|
I'm using the "uniqueidentifier" column in some of these tables. When I created the new schema, I created an instance of "uniqueidentifier" and its supporting functions and casts within the new schema. When I try to "INSERT INTO myschema.mytable ... SELECT ... FROM public.mytable;" It's having difficulty seeing that the data types are compatible across the schema. |
#4
| |||
| |||
|
|
Hi all, I have the following firewall connection data. datetime | protocol | port | inside_ip | outside_ip | outbound_count | outbound_bytes ---------------------+----------+-------+----------------+-------------- --+----------------+--------------- 2004-05-05 05:00:00 | 6 | 21 | 192.168.11.191 | 205.227.137.53 | 6 | 3881 2004-05-05 05:00:00 | 6 | 22326 | 192.168.11.191 | 205.227.137.53 | 1 | 2592 2004-05-05 05:00:00 | 6 | 38005 | 192.168.11.191 | 205.227.137.53 | 1 | 51286 2004-05-05 05:00:00 | 6 | 51861 | 192.168.11.191 | 205.227.137.53 | 1 | 42460 2004-05-05 05:00:00 | 6 | 52095 | 192.168.11.191 | 205.227.137.53 | 1 | 2558 2004-05-05 05:00:00 | 6 | 59846 | 192.168.11.191 | 205.227.137.53 | 1 | 118 2004-05-05 05:00:00 | 6 | 60243 | 192.168.11.191 | 205.227.137.53 | 1 | 2092 2004-05-05 06:00:00 | 6 | 21 | 192.168.11.185 | 205.227.137.53 | 6 | 3814 2004-05-05 06:00:00 | 6 | 29799 | 192.168.11.185 | 205.227.137.53 | 1 | 118 2004-05-05 06:00:00 | 6 | 30138 | 192.168.11.185 | 205.227.137.53 | 1 | 2092 2004-05-05 06:00:00 | 6 | 30215 | 192.168.11.185 | 205.227.137.53 | 1 | 42460 2004-05-05 06:00:00 | 6 | 51279 | 192.168.11.185 | 205.227.137.53 | 1 | 1332 2004-05-05 06:00:00 | 6 | 52243 | 192.168.11.185 | 205.227.137.53 | 1 | 51286 2004-05-05 06:00:00 | 6 | 60079 | 192.168.11.185 | 205.227.137.53 | 1 | 2558 I am wanting to aggregate / collapse each entry to something similar to: datetime | protocol | port | inside_ip | outside_ip | outbound_count | outbound_bytes ---------------------+----------+-------+----------------+-------------- --+----------------+--------------- 2004-05-05 05:00:00 | 6 | 21 | 192.168.11.191 | 205.227.137.53 | 12 | 104987 2004-05-05 06:00:00 | 6 | 21 | 192.168.11.185 | 205.227.137.53 | 12 | 103660 I have not had much success - any assistance greatly appreciated Darren ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org) |
![]() |
| Thread Tools | |
| Display Modes | |
| |