Skip to content

Commit

Permalink
sql: add obj_description(int, string) overload
Browse files Browse the repository at this point in the history
For ORM compatibility.
  • Loading branch information
jordanlewis committed Feb 10, 2017
1 parent 07efe74 commit 96e8bce
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkg/sql/parser/builtins.go
Original file line number Diff line number Diff line change
Expand Up @@ -1651,6 +1651,15 @@ var Builtins = map[string][]Builtin{
category: categoryCompatibility,
Info: "Not usable; exposed only for ORM compatibility with PostgreSQL.",
},
Builtin{
Types: ArgTypes{{"object_oid", TypeInt}, {"catalog_name", TypeString}},
ReturnType: fixedReturnType(TypeString),
fn: func(_ *EvalContext, _ Datums) (Datum, error) {
return DNull, nil
},
category: categoryCompatibility,
Info: "Not usable; exposed only for ORM compatibility.",
},
},
"shobj_description": {
Builtin{
Expand Down

0 comments on commit 96e8bce

Please sign in to comment.