zio-sql icon indicating copy to clipboard operation
zio-sql copied to clipboard

Add 'extract' function to PostgresModule

Open jczuchnowski opened this issue 5 years ago • 3 comments

Add support for function extract described in the PostgreSQL docs.

  1. Add function to PostgresFunctionDef in PostgresModule
  2. Add test in FunctionDefSpec

jczuchnowski avatar Nov 15 '20 18:11 jczuchnowski

I'll try this one.

rpiotrow avatar Nov 21 '20 16:11 rpiotrow

This is still an open issue.

jczuchnowski avatar Feb 20 '22 22:02 jczuchnowski

This function needs extra handling as it's input is not a simple list of parameters. The signature is

extract ( field from timestamp ) 

jczuchnowski avatar Feb 23 '22 20:02 jczuchnowski