Re: Summary of DDL/DML statement return/output values?

2020-06-23 Thread Steve Estes
Thanks Alvaro. Looks cool. So, on the one hand it'd be nice to be able to auto-generate this once all the commands are standardized into one structure. That'd be slick. On the other hand, the number of commands in SQL is not that large a universe, such that it'd be at least somewhat practical t

Re: Summary of DDL/DML statement return/output values?

2020-06-23 Thread Alvaro Herrera
On 2020-Jun-23, Steve Estes wrote: > Thanks Alvaro. Looks cool. So, on the one hand it'd be nice to be able to > auto-generate this once all the commands are standardized into one > structure. That'd be slick. I thought they were already standardized ... But anyway, I was thinking that this wo

Re: Summary of DDL/DML statement return/output values?

2020-06-23 Thread Steve Estes
Yeah I wouldn't say it's worth putting effort in over something that just returns the command name, but the other cases do have some variety to them and would probably be a benefit. I found INSERT to be very odd until I saw its explanation (the OIDs legacy thing). Is there a command that returns