forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1f2cfd2
committed
Fix dumping of casts and transforms using built-in functions
In pg_dump.c dumpCast() and dumpTransform(), we would happily ignore thecast or transform if it happened to use a built-in function because weweren't including the information about built-in functions when queryingpg_proc from getFuncs().Modify the query in getFuncs() to also gather information aboutfunctions which are used by user-defined casts and transforms (where"user-defined" means "has an OID >= FirstNormalObjectId"). This alsoadds to the TAP regression tests for 9.6 and master to cover thesetypes of objects.Back-patch all the way for casts, back to 9.5 for transforms.Discussion:https://www.postgresql.org/message-id/flat/20160504183952.GE10850%40tamriel.snowman.net1 parentfc03f7d commit1f2cfd2
1 file changed
+10
-3
lines changedLines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4204 | 4204 |
| |
4205 | 4205 |
| |
4206 | 4206 |
| |
4207 |
| - | |
| 4207 | + | |
| 4208 | + | |
| 4209 | + | |
4208 | 4210 |
| |
4209 | 4211 |
| |
4210 | 4212 |
| |
| |||
4226 | 4228 |
| |
4227 | 4229 |
| |
4228 | 4230 |
| |
4229 |
| - | |
| 4231 | + | |
| 4232 | + | |
| 4233 | + | |
| 4234 | + | |
| 4235 | + | |
4230 | 4236 |
| |
4231 | 4237 |
| |
4232 | 4238 |
| |
| |||
10170 | 10176 |
| |
10171 | 10177 |
| |
10172 | 10178 |
| |
10173 |
| - | |
| 10179 | + | |
| 10180 | + | |
10174 | 10181 |
| |
10175 | 10182 |
| |
10176 | 10183 |
| |
|
0 commit comments
Comments
(0)