kb:pg:nasledjivanje_tabela

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
kb:pg:nasledjivanje_tabela [2019/11/14 12:33] nessakb:pg:nasledjivanje_tabela [2019/11/14 12:35] nessa
Line 3: Line 3:
 PostgreSQL ima mehanizam za nasleđivanje između tabela ([[https://www.postgresql.org/docs/10/ddl-inherit.html|https://www.postgresql.org/docs/10/ddl-inherit.html]]) PostgreSQL ima mehanizam za nasleđivanje između tabela ([[https://www.postgresql.org/docs/10/ddl-inherit.html|https://www.postgresql.org/docs/10/ddl-inherit.html]])
  
-<programlisting>+Primer:<code>
 CREATE TABLE cities ( CREATE TABLE cities (
     name            text,     name            text,
Line 13: Line 13:
     state           char(2)     state           char(2)
 ) INHERITS (cities); ) INHERITS (cities);
-</programlisting>+</code>
  
  
  • kb/pg/nasledjivanje_tabela.txt
  • Last modified: 2019/11/14 12:50
  • by nessa