-
- Downloads
Create a function quote_nullable(), which works the same as quote_literal()
except that it returns the string 'NULL', rather than a SQL null, when called with a null argument. This is often a much more useful behavior for constructing dynamic queries. Add more discussion to the documentation about how to use these functions. Brendan Jurd
Showing
- doc/src/sgml/func.sgml 35 additions, 1 deletiondoc/src/sgml/func.sgml
- doc/src/sgml/plpgsql.sgml 73 additions, 21 deletionsdoc/src/sgml/plpgsql.sgml
- src/backend/utils/adt/quote.c 17 additions, 1 deletionsrc/backend/utils/adt/quote.c
- src/include/catalog/catversion.h 2 additions, 2 deletionssrc/include/catalog/catversion.h
- src/include/catalog/pg_proc.h 5 additions, 1 deletionsrc/include/catalog/pg_proc.h
- src/include/utils/builtins.h 2 additions, 1 deletionsrc/include/utils/builtins.h
Loading
Please register or sign in to comment