Skip to content

Commit

Permalink
Add code pygments
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and github-actions[bot] committed Nov 27, 2024
1 parent 4051d33 commit f193248
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docs/training_manual/spatial_databases/geometry.rst
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,9 @@ tablespaces:
CREATE TABLESPACE homespace LOCATION '/home/pg';
When you create a database, you can then specify which tablespace to use e.g.::
When you create a database, you can then specify which tablespace to use e.g.:

.. code-block:: bash
createdb --tablespace=homespace t4a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ sure it has a constraint enforcing geometries to be polygons.
.. admonition:: Answer
:class: dropdown

::
.. code-block: sql
create table cities (id serial not null primary key,
name varchar(50),
Expand Down
2 changes: 1 addition & 1 deletion docs/training_manual/spatial_databases/spatial_queries.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Modify the cities table so its geometry column is spatially indexed.
.. admonition:: Answer
:class: dropdown

::
.. code-block:: psql
CREATE INDEX cities_geo_idx
ON cities
Expand Down

0 comments on commit f193248

Please sign in to comment.