LucaCappelletti94 opened a new pull request, #2822:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2822

   `CREATE FUNCTION f() RETURNS SETOF int LANGUAGE sql ROWS 10 AS 'SELECT 1'` 
failed with `Expected: end of statement, found: ROWS`, although [`ROWS 
result_rows`](https://www.postgresql.org/docs/current/sql-createfunction.html) 
is the documented row estimate of a set-returning function. 
   
   The `CREATE FUNCTION` attribute loop now accepts `ROWS` once, reads it the 
way `ALTER FUNCTION` already does, and stores it in a new 
`CreateFunction::rows` field.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

  • [PR] PostgreSQL: Support `ROWS` ... LucaCappelletti94 (via GitHub) via github

Reply via email to