mirror of
https://github.com/turbot/steampipe.git
synced 2026-02-19 07:00:17 -05:00
Rename 'connection_state' table to 'steampipe_connection_state'. #3403 Rename 'internal' table to 'steampipe_internal Remove 'Connection' property from ConnectionState
27 lines
607 B
Go
27 lines
607 B
Go
package steampipeconfig
|
|
|
|
const PostgresNotificationStructVersion = 20230306
|
|
|
|
type PostgresNotificationType int
|
|
|
|
const (
|
|
PgNotificationSchemaUpdate PostgresNotificationType = iota + 1
|
|
)
|
|
|
|
type PostgresNotification struct {
|
|
StructVersion int
|
|
Type PostgresNotificationType
|
|
}
|
|
|
|
type SteampipeNotification struct {
|
|
StructVersion int
|
|
Type PostgresNotificationType
|
|
}
|
|
|
|
func NewSchemaUpdateNotification(notificationType PostgresNotificationType) *SteampipeNotification {
|
|
return &SteampipeNotification{
|
|
StructVersion: PostgresNotificationStructVersion,
|
|
Type: notificationType,
|
|
}
|
|
}
|