mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-19 22:10:05 +02:00
863a62064c
test isn't that complete up to now, but I think it shows enough of the capabilities of the module. The Makefile assumes it is located in a directory under pgsql/src/pl. Since it includes Makefile.global and Makefile.port and doesn't use any own compiler/linker calls, it should build on most of our supported platforms (I only tested under Linux up to now). It requires flex and bison I think. Maybe we should ship prepared gram.c etc. like for the main parser too? Jan
23 lines
700 B
Plaintext
23 lines
700 B
Plaintext
Test suite for PL/pgSQL
|
|
|
|
Scenario:
|
|
|
|
A building with a modern TP cabel installation where any
|
|
of the wall connectors can be used to plug in phones,
|
|
ethernet interfaces or local office hubs. The backside
|
|
of the wall connectors is wired to one of several patch-
|
|
fields in the building.
|
|
|
|
In the patchfields, there are hubs and all the slots
|
|
representing the wall connectors. In addition there are
|
|
slots that can represent a phone line from the central
|
|
phone system.
|
|
|
|
Triggers ensure consistency of the patching information.
|
|
|
|
Functions are used to build up powerful views that let
|
|
you look behind the wall when looking at a patchfield
|
|
or into a room.
|
|
|
|
|