mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 23:28:02 +00:00
Add a few fixes to the latest til.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
In the `psql` console, use `\ef` with the name of a function to fetch and
|
In the `psql` console, use `\ef` with the name of a function to fetch and
|
||||||
open the definition of the function. The function will be opened in your
|
open the definition of the function. The function will be opened in your
|
||||||
system `$EDITOR` in the form of the `create or replace function` query.
|
system `$EDITOR` in the form of a `create or replace function` query.
|
||||||
|
|
||||||
Executing
|
Executing
|
||||||
|
|
||||||
@@ -13,9 +13,9 @@ Executing
|
|||||||
will open the following in your default editor
|
will open the following in your default editor
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
CREATE OR REPLACE FUNCTION pg_catalog.now()¬
|
CREATE OR REPLACE FUNCTION pg_catalog.now()
|
||||||
RETURNS timestamp with time zone¬
|
RETURNS timestamp with time zone
|
||||||
LANGUAGE internal¬
|
LANGUAGE internal
|
||||||
STABLE STRICT¬
|
STABLE STRICT
|
||||||
AS $function$now$function$¬
|
AS $function$now$function$
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user