Skip to content

Commit 77ed13c

Browse files
authored
Merge pull request #2678 from dolthub/taylor/info-views
Support information_schema views/tables hooks for doltgres
2 parents 9555784 + fff8702 commit 77ed13c

File tree

5 files changed

+715
-641
lines changed

5 files changed

+715
-641
lines changed

sql/errors.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,9 @@ var (
595595
// are automatically rolled back. Clients receiving this error must retry the transaction.
596596
ErrLockDeadlock = errors.NewKind("serialization failure: %s, try restarting transaction.")
597597

598+
// ErrViewCreateStatementInvalid is returned when a ViewDatabase returns a CREATE VIEW statement that is invalid
599+
ErrViewCreateStatementInvalid = errors.NewKind(`Invalid CREATE VIEW statement: %s`)
600+
598601
// ErrViewsNotSupported is returned when attempting to access a view on a database that doesn't support them.
599602
ErrViewsNotSupported = errors.NewKind("database '%s' doesn't support views")
600603

0 commit comments

Comments
 (0)