Skip to content

Commit

Permalink
feat: Add additional unsupported features
Browse files Browse the repository at this point in the history
  • Loading branch information
codingconcepts committed Mar 19, 2024
1 parent 2830061 commit 008bfba
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/current/_includes/v23.2/sql/unsupported-postgres-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,29 @@
- [Dropping a single partition from a table]({% link {{ page.version.version }}/partitioning.md %}#known-limitations).
- Foreign data wrappers.
- Advisory Lock Functions (although some functions are defined with no-op implementations).
- `COPY [table] TO [file]` syntax.
- Variadic parameters in procedures:

``` sql
CREATE PROCEDURE examle(VARIADIC a INT[]) LANGUAGE SQL AS 'SELECT 1';
```

- Variadic parameters in functions:

``` sql
CREATE OR REPLACE FUNCTION example(VARIADIC a INT[]) RETURNS INT AS 'SELECT 1' LANGUAGE SQL;
```

- Table inheritance:

``` sql
CREATE TABLE cities (
name TEXT,
population FLOAT,
altitude INT
);

CREATE TABLE capitals (
state CHAR(2)
) INHERITS (cities);
```

0 comments on commit 008bfba

Please sign in to comment.