Wiki page
[PostgreSQL] by
sandro
2018-08-07 18:27:35.
0000: 44 20 32 30 31 38 2d 30 38 2d 30 37 54 31 38 3a D 2018-08-07T18:
0010: 32 37 3a 33 35 2e 36 35 37 0a 4c 20 50 6f 73 74 27:35.657.L Post
0020: 67 72 65 53 51 4c 0a 50 20 64 34 35 30 66 38 30 greSQL.P d450f80
0030: 33 66 33 39 66 31 65 32 34 33 62 31 65 63 35 38 3f39f1e243b1ec58
0040: 38 39 32 36 66 38 31 65 64 33 30 61 62 33 30 31 8926f81ed30ab301
0050: 61 0a 55 20 73 61 6e 64 72 6f 0a 57 20 31 33 34 a.U sandro.W 134
0060: 30 30 0a 42 61 63 6b 20 74 6f 20 3c 61 20 68 72 00.Back to <a hr
0070: 65 66 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e ef="https://www.
0080: 67 61 69 61 2d 67 69 73 2e 69 74 2f 66 6f 73 73 gaia-gis.it/foss
0090: 69 6c 2f 73 70 61 74 69 61 6c 69 74 65 5f 67 75 il/spatialite_gu
00a0: 69 2f 77 69 6b 69 3f 6e 61 6d 65 3d 73 70 61 74 i/wiki?name=spat
00b0: 69 61 6c 69 74 65 2d 67 75 69 22 3e 6d 61 69 6e ialite-gui">main
00c0: 20 57 69 6b 69 20 70 61 67 65 3c 2f 61 3e 3c 68 Wiki page</a><h
00d0: 72 3e 3c 62 72 3e 0d 0a 3c 68 31 3e 54 68 65 20 r><br>..<h1>The
00e0: 47 55 49 20 61 73 20 61 20 50 6f 73 74 67 72 65 GUI as a Postgre
00f0: 53 51 4c 20 63 6c 69 65 6e 74 3c 2f 68 31 3e 0d SQL client</h1>.
0100: 0a 53 74 61 72 74 69 6e 67 20 66 72 6f 6d 20 76 .Starting from v
0110: 65 72 73 69 6f 6e 20 3c 62 3e 32 2e 31 2e 30 3c ersion <b>2.1.0<
0120: 2f 62 3e 20 74 68 65 20 47 55 49 20 68 61 73 20 /b> the GUI has
0130: 74 68 65 20 63 61 70 61 62 69 6c 69 74 79 20 74 the capability t
0140: 6f 20 73 75 70 70 6f 72 74 20 63 6f 6e 6e 65 63 o support connec
0150: 74 69 6f 6e 73 20 74 6f 20 65 78 74 65 72 6e 61 tions to externa
0160: 6c 20 3c 62 3e 50 6f 73 74 67 72 65 53 51 4c 20 l <b>PostgreSQL
0170: 2f 20 50 6f 73 74 47 49 53 3c 2f 62 3e 20 64 61 / PostGIS</b> da
0180: 74 61 62 61 73 65 73 2e 3c 62 72 3e 0d 0a 54 68 tabases.<br>..Th
0190: 69 73 20 66 75 6e 63 74 69 6f 6e 61 6c 69 74 79 is functionality
01a0: 20 69 73 20 6d 61 69 6e 6c 79 20 62 61 73 65 64 is mainly based
01b0: 20 6f 6e 20 3c 61 20 68 72 65 66 3d 22 68 74 74 on <a href="htt
01c0: 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 ps://www.gaia-gi
01d0: 73 2e 69 74 2f 66 6f 73 73 69 6c 2f 76 69 72 74 s.it/fossil/virt
01e0: 75 61 6c 70 67 2f 77 69 6b 69 3f 6e 61 6d 65 3d ualpg/wiki?name=
01f0: 74 75 74 6f 72 69 61 6c 22 3e 6c 69 62 76 69 72 tutorial">libvir
0200: 74 75 61 6c 70 67 3c 2f 61 3e 2c 20 74 68 61 74 tualpg</a>, that
0210: 20 69 73 20 6e 6f 77 20 61 20 72 65 71 75 69 72 is now a requir
0220: 65 64 20 64 65 70 65 6e 64 65 6e 63 79 20 66 6f ed dependency fo
0230: 72 20 74 68 65 20 47 55 49 20 74 6f 6f 6c 2e 0d r the GUI tool..
0240: 0a 54 68 65 20 70 72 65 73 65 6e 74 20 74 75 74 .The present tut
0250: 6f 72 69 61 6c 20 69 73 20 69 6e 74 65 6e 64 65 orial is intende
0260: 64 20 74 6f 20 71 75 69 63 6b 6c 79 20 65 78 70 d to quickly exp
0270: 6c 61 69 6e 20 68 6f 77 20 74 68 65 20 50 6f 73 lain how the Pos
0280: 74 67 72 65 53 51 4c 20 73 75 70 70 6f 72 74 20 tgreSQL support
0290: 69 73 20 69 6d 70 6c 65 6d 65 6e 74 65 64 20 62 is implemented b
02a0: 79 20 3c 62 3e 73 70 61 74 69 61 6c 69 74 65 5f y <b>spatialite_
02b0: 67 75 69 3c 2f 62 3e 2e 3c 62 72 3e 3c 62 72 3e gui</b>.<br><br>
02c0: 0d 0a 3c 74 61 62 6c 65 20 63 65 6c 6c 73 70 61 ..<table cellspa
02d0: 63 69 6e 67 3d 22 36 22 20 63 65 6c 6c 70 61 64 cing="6" cellpad
02e0: 64 69 6e 67 3d 22 36 22 20 62 67 63 6f 6c 6f 72 ding="6" bgcolor
02f0: 3d 22 23 66 30 66 66 65 30 22 20 77 69 64 74 68 ="#f0ffe0" width
0300: 3d 22 31 30 30 25 22 20 62 6f 72 64 65 72 3d 22 ="100%" border="
0310: 31 22 3e 0d 0a 3c 74 72 3e 3c 74 64 20 63 6f 6c 1">..<tr><td col
0320: 73 70 61 6e 3d 22 32 22 20 61 6c 69 67 6e 3d 22 span="2" align="
0330: 63 65 6e 74 65 72 22 3e 3c 68 33 3e 31 20 2d 20 center"><h3>1 -
0340: 45 73 74 61 62 6c 69 73 68 69 6e 67 20 61 20 43 Establishing a C
0350: 6f 6e 6e 65 63 74 69 6e 67 20 74 6f 20 61 20 50 onnecting to a P
0360: 6f 73 74 67 72 65 53 51 4c 20 44 42 4d 53 3c 2f ostgreSQL DBMS</
0370: 68 33 3e 3c 68 72 3e 3c 2f 74 64 3e 3c 2f 74 72 h3><hr></td></tr
0380: 3e 0d 0a 3c 74 72 3e 0d 0a 3c 74 64 3e 3c 62 3e >..<tr>..<td><b>
0390: 31 2e 61 3c 2f 62 3e 20 66 69 72 73 74 20 70 72 1.a</b> first pr
03a0: 65 73 73 20 74 68 65 20 61 70 70 72 6f 70 72 69 ess the appropri
03b0: 61 74 65 20 62 75 74 74 6f 6e 20 66 72 6f 6d 20 ate button from
03c0: 74 68 65 20 54 6f 6f 6c 62 61 72 3c 2f 74 64 3e the Toolbar</td>
03d0: 0d 0a 3c 74 64 3e 3c 69 6d 67 20 73 72 63 3d 22 ..<td><img src="
03e0: 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 https://www.gaia
03f0: 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e -gis.it/gaia-sin
0400: 73 2f 67 75 69 2d 70 6f 73 74 67 72 65 73 2f 67 s/gui-postgres/g
0410: 75 69 31 2e 70 6e 67 22 20 61 6c 74 3d 22 63 6f ui1.png" alt="co
0420: 6e 6e 65 63 74 69 6f 6e 20 31 22 3e 3c 2f 74 64 nnection 1"></td
0430: 3e 0d 0a 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 0d 0a >..</tr>..<tr>..
0440: 3c 74 64 3e 3c 62 3e 31 2e 62 3c 2f 62 3e 20 74 <td><b>1.b</b> t
0450: 68 65 6e 20 73 65 6c 65 63 74 20 74 68 65 20 61 hen select the a
0460: 70 70 72 6f 70 72 69 61 74 65 20 69 74 65 6d 20 ppropriate item
0470: 66 72 6f 6d 20 74 68 65 20 6d 61 69 6e 20 4d 65 from the main Me
0480: 6e 75 3c 2f 74 64 3e 0d 0a 3c 74 64 3e 3c 69 6d nu</td>..<td><im
0490: 67 20 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 g src="https://w
04a0: 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 ww.gaia-gis.it/g
04b0: 61 69 61 2d 73 69 6e 73 2f 67 75 69 2d 70 6f 73 aia-sins/gui-pos
04c0: 74 67 72 65 73 2f 67 75 69 32 2e 70 6e 67 22 20 tgres/gui2.png"
04d0: 61 6c 74 3d 22 63 6f 6e 6e 65 63 74 69 6f 6e 20 alt="connection
04e0: 32 22 3e 3c 2f 74 64 3e 0d 0a 3c 2f 74 72 3e 0d 2"></td>..</tr>.
04f0: 0a 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 0d 0a 3c 74 .</tr>..<tr>..<t
0500: 64 3e 3c 62 3e 31 2e 63 3c 2f 62 3e 20 61 6e 64 d><b>1.c</b> and
0510: 20 66 69 6e 61 6c 6c 79 20 73 65 6c 65 63 74 20 finally select
0520: 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 the appropriate
0530: 69 74 65 6d 20 66 72 6f 6d 20 74 68 65 20 63 6f item from the co
0540: 6e 74 65 78 74 20 4d 65 6e 75 20 74 68 61 74 20 ntext Menu that
0550: 77 69 6c 6c 20 61 70 70 65 61 72 20 62 79 20 63 will appear by c
0560: 6c 69 63 6b 69 6e 67 20 74 68 65 20 3c 62 3e 6c licking the <b>l
0570: 65 66 74 3c 2f 62 3e 20 62 75 74 74 6f 6e 20 6f eft</b> button o
0580: 66 20 74 68 65 20 6d 6f 75 73 65 20 6f 76 65 72 f the mouse over
0590: 20 74 68 65 20 3c 62 3e 50 6f 73 74 72 65 53 51 the <b>PostreSQ
05a0: 4c 3c 2f 62 3e 20 6d 61 69 6e 20 6e 6f 64 65 20 L</b> main node
05b0: 66 72 6f 6d 20 74 68 65 20 54 61 62 6c 65 20 54 from the Table T
05c0: 72 65 65 2e 3c 2f 74 64 3e 0d 0a 3c 74 64 3e 3c ree.</td>..<td><
05d0: 69 6d 67 20 73 72 63 3d 22 68 74 74 70 73 3a 2f img src="https:/
05e0: 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 /www.gaia-gis.it
05f0: 2f 67 61 69 61 2d 73 69 6e 73 2f 67 75 69 2d 70 /gaia-sins/gui-p
0600: 6f 73 74 67 72 65 73 2f 67 75 69 33 2e 70 6e 67 ostgres/gui3.png
0610: 22 20 61 6c 74 3d 22 63 6f 6e 6e 65 63 74 69 6f " alt="connectio
0620: 6e 20 33 22 3e 3c 2f 74 64 3e 0d 0a 3c 2f 74 72 n 3"></td>..</tr
0630: 3e 3c 74 72 3e 0d 0a 3c 74 64 3e 3c 62 3e 31 2e ><tr>..<td><b>1.
0640: 64 3c 2f 62 3e 20 69 6e 20 61 6c 6c 20 74 68 72 d</b> in all thr
0650: 65 65 20 63 61 73 65 73 20 74 68 65 20 50 6f 73 ee cases the Pos
0660: 74 67 72 65 53 51 4c 20 63 6f 6e 6e 65 63 74 69 tgreSQL connecti
0670: 6f 6e 20 64 69 61 6c 6f 67 20 77 69 6c 6c 20 74 on dialog will t
0680: 68 65 6e 20 61 70 70 65 61 72 2e 3c 62 72 3e 0d hen appear.<br>.
0690: 0a 4a 75 73 74 20 69 6e 73 65 72 74 20 74 68 65 .Just insert the
06a0: 20 72 65 71 75 69 72 65 64 20 63 6f 6e 6e 65 63 required connec
06b0: 74 69 6f 6e 20 61 72 67 75 6d 65 6e 74 73 20 61 tion arguments a
06c0: 6e 64 20 63 6f 6e 66 69 72 6d 2e 3c 62 72 3e 3c nd confirm.<br><
06d0: 62 72 3e 0d 0a 57 68 65 6e 20 69 6e 76 61 6c 69 br>..When invali
06e0: 64 20 61 72 67 75 6d 65 6e 74 73 20 61 72 65 20 d arguments are
06f0: 67 69 76 65 6e 2c 20 61 6e 20 65 72 72 6f 72 20 given, an error
0700: 6d 65 73 73 61 67 65 20 20 77 69 6c 6c 20 62 65 message will be
0710: 20 64 69 73 70 6c 61 79 65 64 2c 20 6f 74 68 65 displayed, othe
0720: 72 77 69 73 65 20 74 68 65 20 63 6f 6e 6e 65 63 rwise the connec
0730: 74 69 6f 6e 20 77 69 6c 6c 20 62 65 20 69 6d 6d tion will be imm
0740: 65 64 69 61 74 65 6c 79 20 65 73 74 61 62 6c 69 ediately establi
0750: 73 68 65 64 2e 3c 62 72 3e 3c 62 72 3e 3c 62 72 shed.<br><br><br
0760: 3e 3c 68 72 3e 3c 62 72 3e 3c 62 72 3e 3c 62 72 ><hr><br><br><br
0770: 3e 0d 0a 49 66 20 79 6f 75 20 61 72 65 20 61 74 >..If you are at
0780: 74 65 6d 70 74 69 6e 67 20 74 6f 20 63 6f 6e 6e tempting to conn
0790: 65 63 74 20 61 20 72 65 6d 6f 74 65 20 73 65 72 ect a remote ser
07a0: 76 65 72 2c 20 79 6f 75 20 6d 61 79 20 66 69 6e ver, you may fin
07b0: 64 20 69 74 20 75 73 65 66 75 6c 20 74 6f 20 72 d it useful to r
07c0: 65 61 64 20 74 68 65 20 74 75 74 6f 72 69 61 6c ead the tutorial
07d0: 20 61 62 6f 75 74 20 3c 61 20 68 72 65 66 3d 22 about <a href="
07e0: 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 https://www.gaia
07f0: 2d 67 69 73 2e 69 74 2f 66 6f 73 73 69 6c 2f 76 -gis.it/fossil/v
0800: 69 72 74 75 61 6c 70 67 2f 77 69 6b 69 3f 6e 61 irtualpg/wiki?na
0810: 6d 65 3d 70 6f 72 74 2d 66 6f 72 77 61 72 64 69 me=port-forwardi
0820: 6e 67 22 3e 53 53 48 20 74 75 6e 6e 65 6c 69 6e ng">SSH tunnelin
0830: 67 20 61 6e 64 20 50 6f 72 74 20 46 6f 72 77 61 g and Port Forwa
0840: 72 64 69 6e 67 3c 2f 61 3e 0d 0a 3c 62 72 3e 3c rding</a>..<br><
0850: 62 72 3e 3c 62 72 3e 0d 0a 3c 68 72 3e 0d 0a 3c br><br>..<hr>..<
0860: 74 61 62 6c 65 20 62 67 63 6f 6c 6f 72 3d 22 23 table bgcolor="#
0870: 66 66 63 63 38 30 22 20 63 65 6c 6c 73 70 61 63 ffcc80" cellspac
0880: 69 6e 67 3d 22 36 22 20 63 65 6c 6c 70 61 64 64 ing="6" cellpadd
0890: 69 6e 67 3d 22 36 22 20 62 6f 72 64 65 72 3d 22 ing="6" border="
08a0: 31 22 20 77 69 64 74 68 3d 22 31 30 30 25 22 3e 1" width="100%">
08b0: 0d 0a 3c 74 72 3e 3c 74 64 20 61 6c 69 67 6e 3d ..<tr><td align=
08c0: 22 63 65 6e 74 65 72 22 3e 3c 68 33 3e 53 70 65 "center"><h3>Spe
08d0: 63 69 61 6c 20 6e 6f 74 65 20 66 6f 72 20 57 69 cial note for Wi
08e0: 6e 64 6f 77 73 20 75 73 65 72 73 3c 2f 68 33 3e ndows users</h3>
08f0: 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e </td></tr>..<tr>
0900: 3c 74 64 3e 0d 0a 50 6c 65 61 73 65 20 72 65 61 <td>..Please rea
0910: 64 20 74 68 65 20 3c 61 20 68 72 65 66 3d 22 23 d the <a href="#
0920: 61 64 64 65 6e 64 75 6d 22 3e 41 64 64 65 6e 64 addendum">Addend
0930: 75 6d 3c 2f 61 3e 20 61 62 6f 75 74 20 4c 69 62 um</a> about Lib
0940: 50 51 20 6c 61 74 65 20 62 69 6e 64 69 6e 67 2e PQ late binding.
0950: 0d 0a 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 2f ..</td></tr>..</
0960: 74 61 62 6c 65 3e 3c 2f 74 64 3e 0d 0a 3c 74 64 table></td>..<td
0970: 3e 3c 69 6d 67 20 73 72 63 3d 22 68 74 74 70 73 ><img src="https
0980: 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e ://www.gaia-gis.
0990: 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f 67 75 69 it/gaia-sins/gui
09a0: 2d 70 6f 73 74 67 72 65 73 2f 67 75 69 34 2e 70 -postgres/gui4.p
09b0: 6e 67 22 20 61 6c 74 3d 22 63 6f 6e 6e 65 63 74 ng" alt="connect
09c0: 69 6f 6e 20 34 22 3e 3c 2f 74 64 3e 0d 0a 3c 2f ion 4"></td>..</
09d0: 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 20 63 6f 6c tr>..<tr><td col
09e0: 73 70 61 6e 3d 22 32 22 20 61 6c 69 67 6e 3d 22 span="2" align="
09f0: 63 65 6e 74 65 72 22 3e 3c 68 33 3e 32 20 2d 20 center"><h3>2 -
0a00: 45 78 70 61 6e 64 69 6e 67 20 74 68 65 20 50 6f Expanding the Po
0a10: 73 74 67 72 65 53 51 4c 20 74 72 65 65 3c 2f 68 stgreSQL tree</h
0a20: 33 3e 3c 68 72 3e 3c 2f 74 64 3e 3c 2f 74 72 3e 3><hr></td></tr>
0a30: 0d 0a 3c 74 72 3e 0d 0a 3c 74 64 3e 3c 62 3e 32 ..<tr>..<td><b>2
0a40: 2e 61 3c 2f 62 3e 20 6f 6e 63 65 20 61 20 6e 65 .a</b> once a ne
0a50: 77 20 50 6f 73 74 67 72 65 73 20 63 6f 6e 6e 65 w Postgres conne
0a60: 63 74 69 6f 6e 20 68 61 73 20 62 65 65 6e 20 73 ction has been s
0a70: 75 63 63 65 73 73 66 75 6c 6c 79 20 65 73 74 61 uccessfully esta
0a80: 62 6c 69 73 68 65 64 2c 20 74 68 65 20 50 6f 73 blished, the Pos
0a90: 74 67 72 65 73 20 6e 6f 64 65 20 6f 6e 20 74 68 tgres node on th
0aa0: 65 20 6d 61 69 6e 20 54 61 62 6c 65 20 54 72 65 e main Table Tre
0ab0: 65 20 77 69 6c 6c 20 63 6f 6e 74 61 69 6e 20 61 e will contain a
0ac0: 6c 6c 20 54 61 62 6c 65 73 20 61 6e 64 20 56 69 ll Tables and Vi
0ad0: 65 77 73 20 64 65 66 69 6e 65 64 20 69 6e 20 74 ews defined in t
0ae0: 68 65 20 50 6f 73 74 67 72 65 73 20 44 61 74 61 he Postgres Data
0af0: 62 61 73 65 2c 20 69 6e 20 74 68 65 20 73 61 6d base, in the sam
0b00: 65 20 61 72 72 61 6e 67 65 6d 65 6e 74 20 61 64 e arrangement ad
0b10: 6f 70 74 65 64 20 62 79 20 50 6f 73 74 67 72 65 opted by Postgre
0b20: 53 51 4c 3a 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e SQL:..<ul>..<li>
0b30: 43 6f 6e 6e 65 63 74 69 6f 6e 20 3c 69 3e 61 6b Connection <i>ak
0b40: 61 3c 2f 69 3e 20 3c 62 3e 44 61 74 61 62 61 73 a</i> <b>Databas
0b50: 65 3c 2f 62 3e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 e</b>..<ul>..<li
0b60: 3e 3c 62 3e 53 63 68 65 6d 61 3c 2f 62 3e 0d 0a ><b>Schema</b>..
0b70: 3c 75 6c 3e 0d 0a 3c 6c 69 3e 3c 62 3e 54 61 62 <ul>..<li><b>Tab
0b80: 6c 65 3c 2f 62 3e 20 6f 72 20 3c 62 3e 56 69 65 le</b> or <b>Vie
0b90: 77 3c 2f 62 3e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c w</b></li>..</ul
0ba0: 3e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 3c 2f 6c ></li>..</ul></l
0bb0: 69 3e 0d 0a 3c 2f 75 6c 3e 3c 62 72 3e 3c 62 72 i>..</ul><br><br
0bc0: 3e 0d 0a 54 68 65 20 64 69 66 66 65 72 65 6e 74 >..The different
0bd0: 20 64 61 74 61 62 61 73 65 20 74 79 70 65 73 20 database types
0be0: 77 69 6c 6c 20 62 65 20 69 64 65 6e 74 69 66 69 will be identifi
0bf0: 65 64 20 62 79 20 61 6e 20 61 70 70 72 6f 70 72 ed by an appropr
0c00: 69 61 74 65 20 69 63 6f 6e 3b 20 56 69 65 77 73 iate icon; Views
0c10: 20 77 69 6c 6c 20 62 65 20 64 69 73 74 69 6e 67 will be disting
0c20: 75 69 73 68 65 64 20 66 72 6f 6d 20 54 61 62 6c uished from Tabl
0c30: 65 73 2c 20 61 6e 64 20 3c 62 3e 50 6f 73 74 47 es, and <b>PostG
0c40: 49 53 3c 2f 62 3e 20 54 61 62 6c 65 73 20 28 63 IS</b> Tables (c
0c50: 6f 6e 74 61 69 6e 69 6e 67 20 3c 62 3e 47 65 6f ontaining <b>Geo
0c60: 6d 65 74 72 79 3c 2f 62 3e 20 63 6f 6c 75 6d 6e metry</b> column
0c70: 73 29 20 77 69 6c 6c 20 62 65 20 63 6c 65 61 72 s) will be clear
0c80: 6c 79 20 64 69 73 74 69 6e 67 75 69 73 68 65 64 ly distinguished
0c90: 20 66 72 6f 6d 20 6f 72 64 69 6e 61 72 79 20 54 from ordinary T
0ca0: 61 62 6c 65 73 2e 3c 62 72 3e 3c 62 72 3e 0d 0a ables.<br><br>..
0cb0: 3c 62 3e 4e 6f 74 65 3c 2f 62 3e 3a 20 61 6c 6c <b>Note</b>: all
0cc0: 20 50 6f 73 74 67 72 65 73 20 54 61 62 6c 65 73 Postgres Tables
0cd0: 20 61 6e 64 20 56 69 65 77 73 20 28 6e 61 6d 65 and Views (name
0ce0: 6c 79 3a 20 3c 62 3e 56 69 72 74 75 61 6c 50 6f ly: <b>VirtualPo
0cf0: 73 74 67 72 65 73 3c 2f 62 3e 20 54 61 62 6c 65 stgres</b> Table
0d00: 73 29 20 77 69 6c 6c 20 61 6c 77 61 79 73 20 68 s) will always h
0d10: 61 76 65 20 61 20 63 6f 6e 76 65 6e 74 69 6f 6e ave a convention
0d20: 61 6c 20 6e 61 6d 65 20 73 74 61 72 74 69 6e 67 al name starting
0d30: 20 77 69 74 68 20 74 68 65 20 3c 62 3e 76 70 67 with the <b>vpg
0d40: 5f 3c 2f 62 3e 20 70 72 65 66 69 78 2e 3c 62 72 _</b> prefix.<br
0d50: 3e 0d 0a 57 68 65 6e 65 76 65 72 20 70 6f 73 73 >..Whenever poss
0d60: 69 62 6c 65 20 74 68 65 20 6f 72 69 67 69 6e 61 ible the origina
0d70: 6c 20 50 6f 73 74 67 72 65 73 20 4e 61 6d 65 20 l Postgres Name
0d80: 77 69 6c 6c 20 62 65 20 70 72 65 73 65 72 76 65 will be preserve
0d90: 64 2c 20 6f 74 68 65 72 77 69 73 65 20 61 20 6e d, otherwise a n
0da0: 75 6d 65 72 69 63 20 73 75 66 66 69 78 20 77 69 umeric suffix wi
0db0: 6c 6c 20 62 65 20 61 64 64 65 64 2c 20 65 6e 73 ll be added, ens
0dc0: 75 72 69 6e 67 20 61 20 75 6e 69 71 75 65 20 6e uring a unique n
0dd0: 61 6d 65 20 2e 3c 62 72 3e 3c 62 72 3e 3c 62 72 ame .<br><br><br
0de0: 3e 0d 0a 3c 68 72 3e 0d 0a 3c 62 72 3e 3c 62 72 >..<hr>..<br><br
0df0: 3e 0d 0a 3c 62 3e 4e 6f 74 65 3c 2f 62 3e 3a 20 >..<b>Note</b>:
0e00: 61 6c 6c 20 64 61 74 61 62 61 73 65 20 6f 62 6a all database obj
0e10: 65 63 74 73 20 69 6e 20 74 68 65 20 50 6f 73 74 ects in the Post
0e20: 67 72 65 73 20 54 72 65 65 20 61 72 65 20 64 79 gres Tree are dy
0e30: 6e 61 6d 69 63 2c 20 61 6e 64 20 77 69 6c 6c 20 namic, and will
0e40: 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 64 69 automatically di
0e50: 73 61 70 70 65 61 72 20 77 68 65 6e 20 74 68 65 sappear when the
0e60: 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 63 corresponding c
0e70: 6f 6e 6e 65 63 74 69 6f 6e 20 68 61 73 20 62 65 onnection has be
0e80: 65 6e 20 63 6c 6f 73 65 64 2c 20 6f 72 20 77 68 en closed, or wh
0e90: 65 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 en the current s
0ea0: 65 73 73 69 6f 6e 20 65 6e 64 73 2e 3c 2f 74 64 ession ends.</td
0eb0: 3e 0d 0a 3c 74 64 3e 3c 69 6d 67 20 73 72 63 3d >..<td><img src=
0ec0: 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 "https://www.gai
0ed0: 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 a-gis.it/gaia-si
0ee0: 6e 73 2f 67 75 69 2d 70 6f 73 74 67 72 65 73 2f ns/gui-postgres/
0ef0: 67 75 69 35 2e 70 6e 67 22 20 61 6c 74 3d 22 74 gui5.png" alt="t
0f00: 61 62 6c 65 20 74 72 65 65 22 3e 3c 2f 74 64 3e able tree"></td>
0f10: 0d 0a 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 0d 0a 3c ..</tr>..<tr>..<
0f20: 74 64 3e 3c 62 3e 32 2e 62 3c 2f 62 3e 20 69 66 td><b>2.b</b> if
0f30: 2c 20 66 6f 72 20 61 6e 79 20 70 6f 73 73 69 62 , for any possib
0f40: 6c 65 20 72 65 61 73 6f 6e 20 28 73 75 63 68 20 le reason (such
0f50: 61 73 20 6f 6e 3a 20 61 20 73 79 73 74 65 6d 20 as on: a system
0f60: 63 72 61 73 68 2c 20 70 6f 77 65 72 20 66 61 69 crash, power fai
0f70: 6c 75 72 65 2c 20 65 74 63 2e 29 2c 20 74 68 65 lure, etc.), the
0f80: 20 63 75 72 72 65 6e 74 20 73 65 73 73 69 6f 6e current session
0f90: 20 66 61 69 6c 73 20 74 6f 20 63 6f 72 72 65 63 fails to correc
0fa0: 74 6c 79 20 70 65 72 66 6f 72 6d 20 74 68 65 20 tly perform the
0fb0: 65 78 70 65 63 74 65 64 20 66 69 6e 61 6c 20 63 expected final c
0fc0: 6c 65 61 6e 75 70 2c 20 79 6f 75 72 20 53 51 4c leanup, your SQL
0fd0: 69 74 65 20 64 61 74 61 62 61 73 65 20 77 69 6c ite database wil
0fe0: 6c 20 72 65 6d 61 69 6e 20 69 6e 20 61 20 64 69 l remain in a di
0ff0: 72 74 79 20 61 6e 64 20 69 6e 63 6f 6e 73 69 73 rty and inconsis
1000: 74 65 6e 74 20 73 74 61 74 65 2e 3c 62 72 3e 0d tent state.<br>.
1010: 0a 41 73 20 74 68 65 20 73 69 64 65 20 66 69 67 .As the side fig
1020: 75 72 65 20 73 68 6f 77 73 2c 20 77 68 65 6e 20 ure shows, when
1030: 72 65 73 74 61 72 74 69 6e 67 20 61 20 6e 65 77 restarting a new
1040: 20 73 65 73 73 69 6f 6e 20 61 6c 6c 20 3c 62 3e session all <b>
1050: 6f 72 70 68 61 6e 65 64 20 56 69 72 74 75 61 6c orphaned Virtual
1060: 50 6f 73 74 67 72 65 73 20 74 61 62 6c 65 73 3c Postgres tables<
1070: 2f 62 3e 2c 20 66 72 6f 6d 20 61 6e 79 20 61 62 /b>, from any ab
1080: 6f 72 74 65 64 20 73 65 73 73 69 6f 6e 28 73 29 orted session(s)
1090: 2c 20 63 61 6e 20 73 74 69 6c 6c 20 62 65 20 73 , can still be s
10a0: 65 65 6e 2e 3c 62 72 3e 3c 62 72 3e 0d 0a 49 66 een.<br><br>..If
10b0: 20 74 68 69 73 20 68 61 70 70 65 6e 73 2c 20 64 this happens, d
10c0: 6f 6e 27 74 20 64 65 73 70 61 69 72 3a 20 61 6c on't despair: al
10d0: 6c 20 79 6f 75 20 6e 65 65 64 20 74 6f 20 64 6f l you need to do
10e0: 20 69 73 20 74 6f 20 73 65 6c 65 63 74 20 74 68 is to select th
10f0: 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 69 74 e appropriate it
1100: 65 6d 20 66 72 6f 6d 20 74 68 65 20 50 6f 73 74 em from the Post
1110: 67 72 65 73 20 63 6f 6e 74 65 78 74 20 6d 65 6e gres context men
1120: 75 20 61 6e 64 20 74 68 65 20 44 42 20 77 69 6c u and the DB wil
1130: 6c 20 62 65 20 69 6d 6d 65 64 69 61 74 65 6c 79 l be immediately
1140: 20 62 65 20 63 6f 6e 76 65 72 74 65 64 20 69 6e be converted in
1150: 74 6f 20 61 20 73 61 66 65 2c 20 63 6f 6e 73 69 to a safe, consi
1160: 73 74 65 6e 74 20 61 6e 64 20 63 6c 65 61 6e 20 stent and clean
1170: 73 74 61 74 65 2e 3c 2f 74 64 3e 0d 0a 3c 74 64 state.</td>..<td
1180: 3e 3c 69 6d 67 20 73 72 63 3d 22 68 74 74 70 73 ><img src="https
1190: 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e ://www.gaia-gis.
11a0: 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f 67 75 69 it/gaia-sins/gui
11b0: 2d 70 6f 73 74 67 72 65 73 2f 6f 72 70 68 61 6e -postgres/orphan
11c0: 73 2e 70 6e 67 22 20 61 6c 74 3d 22 6f 72 70 68 s.png" alt="orph
11d0: 61 6e 20 74 61 62 6c 65 73 22 3e 3c 2f 74 64 3e an tables"></td>
11e0: 0d 0a 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 ..</tr>..<tr><td
11f0: 20 63 6f 6c 73 70 61 6e 3d 22 32 22 20 61 6c 69 colspan="2" ali
1200: 67 6e 3d 22 63 65 6e 74 65 72 22 3e 3c 68 33 3e gn="center"><h3>
1210: 33 20 2d 20 4d 65 74 61 64 61 74 61 20 6f 66 20 3 - Metadata of
1220: 50 6f 73 74 67 72 65 53 51 4c 20 6f 62 6a 65 63 PostgreSQL objec
1230: 74 73 3c 2f 68 33 3e 3c 68 72 3e 3c 2f 74 64 3e ts</h3><hr></td>
1240: 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 0d 0a 3c 74 64 </tr>..<tr>..<td
1250: 3e 3c 62 3e 33 2e 61 3c 2f 62 3e 20 79 6f 75 20 ><b>3.a</b> you
1260: 63 61 6e 20 65 61 73 69 6c 79 20 71 75 65 72 79 can easily query
1270: 20 74 68 65 20 6d 65 74 61 64 61 74 61 20 66 6f the metadata fo
1280: 72 20 65 61 63 68 20 50 6f 73 74 67 72 65 73 20 r each Postgres
1290: 6f 62 6a 65 63 74 3b 20 6a 75 73 74 20 73 65 6c object; just sel
12a0: 65 63 74 20 74 68 65 20 61 70 70 72 6f 70 72 69 ect the appropri
12b0: 61 74 65 20 69 74 65 6d 20 66 72 6f 6d 20 74 68 ate item from th
12c0: 65 20 63 6f 6e 74 65 78 74 20 6d 65 6e 75 2e 3c e context menu.<
12d0: 2f 74 64 3e 0d 0a 3c 74 64 3e 3c 69 6d 67 20 73 /td>..<td><img s
12e0: 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e rc="https://www.
12f0: 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 gaia-gis.it/gaia
1300: 2d 73 69 6e 73 2f 67 75 69 2d 70 6f 73 74 67 72 -sins/gui-postgr
1310: 65 73 2f 67 75 69 36 2e 70 6e 67 22 20 61 6c 74 es/gui6.png" alt
1320: 3d 22 6d 65 74 61 64 61 74 61 20 69 6e 66 6f 22 ="metadata info"
1330: 3e 3c 2f 74 64 3e 0d 0a 3c 2f 74 72 3e 0d 0a 3c ></td>..</tr>..<
1340: 74 72 3e 0d 0a 3c 74 64 3e 3c 62 3e 33 2e 62 3c tr>..<td><b>3.b<
1350: 2f 62 3e 20 4d 65 74 61 64 61 74 61 20 66 6f 72 /b> Metadata for
1360: 20 61 20 3c 62 3e 43 6f 6e 6e 65 63 74 69 6f 6e a <b>Connection
1370: 3c 2f 62 3e 20 3c 69 3e 61 6b 61 3c 2f 69 3e 20 </b> <i>aka</i>
1380: 3c 62 3e 44 61 74 61 62 61 73 65 3c 2f 62 3e 20 <b>Database</b>
1390: 6f 62 6a 65 63 74 20 77 69 6c 6c 20 72 65 70 6f object will repo
13a0: 72 74 20 74 68 65 20 69 6e 69 74 69 61 6c 20 63 rt the initial c
13b0: 6f 6e 6e 65 63 74 69 6f 6e 20 61 72 67 75 6d 65 onnection argume
13c0: 6e 74 73 2e 3c 62 72 3e 3c 62 72 3e 3c 62 72 3e nts.<br><br><br>
13d0: 0d 0a 3c 68 72 3e 0d 0a 3c 62 72 3e 3c 62 72 3e ..<hr>..<br><br>
13e0: 0d 0a 3c 62 3e 4e 6f 74 65 3c 2f 62 3e 3a 20 79 ..<b>Note</b>: y
13f0: 6f 75 20 63 61 6e 20 61 6c 77 61 79 73 20 63 6f ou can always co
1400: 6e 6e 65 63 74 20 6d 6f 72 65 20 74 68 61 6e 20 nnect more than
1410: 6f 6e 65 20 50 6f 73 74 67 72 65 73 20 44 61 74 one Postgres Dat
1420: 61 62 61 73 65 20 69 6e 20 74 68 65 20 73 61 6d abase in the sam
1430: 65 20 73 65 73 73 69 6f 6e 3b 20 68 6f 77 65 76 e session; howev
1440: 65 72 20 63 6f 6e 6e 65 63 74 69 6e 67 20 74 68 er connecting th
1450: 65 20 73 61 6d 65 20 44 61 74 61 62 61 73 65 20 e same Database
1460: 6d 6f 72 65 20 74 68 61 6e 20 6f 6e 63 65 20 69 more than once i
1470: 73 20 6e 6f 74 20 70 65 72 6d 69 74 74 65 64 20 s not permitted
1480: 28 61 20 77 61 72 6e 69 6e 67 20 6d 65 73 73 61 (a warning messa
1490: 67 65 20 77 69 6c 6c 20 62 65 20 73 68 6f 77 6e ge will be shown
14a0: 20 69 6e 20 74 68 69 73 20 63 61 73 65 29 2e 3c in this case).<
14b0: 2f 74 64 3e 0d 0a 3c 74 64 3e 3c 69 6d 67 20 73 /td>..<td><img s
14c0: 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e rc="https://www.
14d0: 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 gaia-gis.it/gaia
14e0: 2d 73 69 6e 73 2f 67 75 69 2d 70 6f 73 74 67 72 -sins/gui-postgr
14f0: 65 73 2f 67 75 69 37 2e 70 6e 67 22 20 61 6c 74 es/gui7.png" alt
1500: 3d 22 63 6f 6e 6e 65 63 74 69 6f 6e 20 6d 65 74 ="connection met
1510: 61 64 61 74 61 22 3e 3c 2f 74 64 3e 0d 0a 3c 2f adata"></td>..</
1520: 74 72 3e 0d 0a 3c 74 72 3e 0d 0a 3c 74 64 3e 3c tr>..<tr>..<td><
1530: 62 3e 33 2e 63 3c 2f 62 3e 20 4d 65 74 61 64 61 b>3.c</b> Metada
1540: 74 61 20 66 6f 72 20 61 20 3c 62 3e 53 63 68 65 ta for a <b>Sche
1550: 6d 61 3c 2f 62 3e 20 6f 62 6a 65 63 74 20 61 72 ma</b> object ar
1560: 65 6e 27 74 20 72 65 61 6c 6c 79 20 76 65 72 79 en't really very
1570: 20 69 6e 74 65 72 65 73 74 69 6e 67 2c 20 73 69 interesting, si
1580: 6e 63 65 20 6f 6e 6c 79 20 74 68 65 20 6e 61 6d nce only the nam
1590: 65 20 77 69 6c 6c 20 62 65 20 73 68 6f 77 6e 2e e will be shown.
15a0: 3c 2f 74 64 3e 0d 0a 3c 74 64 3e 3c 69 6d 67 20 </td>..<td><img
15b0: 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 src="https://www
15c0: 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 .gaia-gis.it/gai
15d0: 61 2d 73 69 6e 73 2f 67 75 69 2d 70 6f 73 74 67 a-sins/gui-postg
15e0: 72 65 73 2f 67 75 69 38 2e 70 6e 67 22 20 61 6c res/gui8.png" al
15f0: 74 3d 22 73 63 68 65 6d 61 20 6d 65 74 61 64 61 t="schema metada
1600: 74 61 22 3e 3c 2f 74 64 3e 0d 0a 3c 2f 74 72 3e ta"></td>..</tr>
1610: 0d 0a 3c 74 72 3e 0d 0a 3c 74 64 3e 3c 62 3e 33 ..<tr>..<td><b>3
1620: 2e 64 3c 2f 62 3e 20 4d 65 74 61 64 61 74 61 20 .d</b> Metadata
1630: 66 6f 72 20 3c 62 3e 54 61 62 6c 65 3c 2f 62 3e for <b>Table</b>
1640: 20 6f 72 20 3c 62 3e 56 69 65 77 3c 2f 62 3e 20 or <b>View</b>
1650: 6f 62 6a 65 63 74 20 77 69 6c 6c 20 72 65 70 6f object will repo
1660: 72 74 20 61 6c 6c 20 3c 62 3e 47 52 41 4e 54 20 rt all <b>GRANT
1670: 70 65 72 6d 69 73 73 69 6f 6e 73 3c 2f 62 3e 20 permissions</b>
1680: 66 6f 72 20 74 68 65 20 63 75 72 72 65 6e 74 20 for the current
1690: 55 73 65 72 2e 3c 62 72 3e 3c 62 72 3e 3c 62 72 User.<br><br><br
16a0: 3e 0d 0a 3c 68 72 3e 0d 0a 3c 62 72 3e 3c 62 72 >..<hr>..<br><br
16b0: 3e 0d 0a 3c 62 3e 4e 6f 74 65 3c 2f 62 3e 3a 20 >..<b>Note</b>:
16c0: 61 6c 73 6f 20 69 6e 20 74 68 65 20 63 61 73 65 also in the case
16d0: 20 6f 66 20 61 20 3c 62 3e 52 45 41 44 2d 57 52 of a <b>READ-WR
16e0: 49 54 45 3c 2f 62 3e 20 65 6e 61 62 6c 65 64 20 ITE</b> enabled
16f0: 63 6f 6e 6e 65 63 74 69 6f 6e 2c 20 61 6c 6c 20 connection, all
1700: 50 6f 73 74 67 72 65 73 20 54 61 62 6c 65 73 20 Postgres Tables
1710: 6c 61 63 6b 69 6e 67 20 74 68 65 20 70 65 72 6d lacking the perm
1720: 69 73 73 69 6f 6e 20 74 6f 20 65 78 65 63 75 74 ission to execut
1730: 65 20 3c 62 3e 49 4e 53 45 52 54 3c 2f 62 3e 2c e <b>INSERT</b>,
1740: 20 3c 62 3e 55 50 44 41 54 45 3c 2f 62 3e 20 6f <b>UPDATE</b> o
1750: 72 20 3c 62 3e 44 45 4c 45 54 45 3c 2f 62 3e 20 r <b>DELETE</b>
1760: 73 74 61 74 65 6d 65 6e 74 73 20 77 69 6c 6c 20 statements will
1770: 62 65 20 74 72 65 61 74 65 64 20 61 73 20 3c 62 be treated as <b
1780: 3e 52 45 41 44 2d 4f 4e 4c 59 3c 2f 62 3e 20 54 >READ-ONLY</b> T
1790: 61 62 6c 65 73 2e 3c 62 72 3e 0d 0a 54 68 65 20 ables.<br>..The
17a0: 73 61 6d 65 20 69 73 20 74 72 75 65 20 66 6f 72 same is true for
17b0: 20 54 61 62 6c 65 73 20 77 68 65 72 65 20 6e 6f Tables where no
17c0: 20 3c 62 3e 50 52 49 4d 41 52 59 20 4b 45 59 3c <b>PRIMARY KEY<
17d0: 2f 62 3e 20 68 61 73 20 62 65 65 6e 20 64 65 66 /b> has been def
17e0: 69 6e 65 64 2e 3c 2f 74 64 3e 0d 0a 3c 74 64 3e ined.</td>..<td>
17f0: 3c 69 6d 67 20 73 72 63 3d 22 68 74 74 70 73 3a <img src="https:
1800: 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 //www.gaia-gis.i
1810: 74 2f 67 61 69 61 2d 73 69 6e 73 2f 67 75 69 2d t/gaia-sins/gui-
1820: 70 6f 73 74 67 72 65 73 2f 67 75 69 39 2e 70 6e postgres/gui9.pn
1830: 67 22 20 61 6c 74 3d 22 74 61 62 6c 65 20 6d 65 g" alt="table me
1840: 74 61 64 61 74 61 22 3e 3c 2f 74 64 3e 0d 0a 3c tadata"></td>..<
1850: 2f 74 72 3e 0d 0a 3c 74 72 3e 0d 0a 3c 74 64 3e /tr>..<tr>..<td>
1860: 3c 62 3e 33 2e 65 3c 2f 62 3e 20 4d 65 74 61 64 <b>3.e</b> Metad
1870: 61 74 61 20 66 6f 72 20 61 20 3c 62 3e 50 6f 73 ata for a <b>Pos
1880: 74 47 49 53 20 54 61 62 6c 65 3c 2f 62 3e 20 6f tGIS Table</b> o
1890: 62 6a 65 63 74 73 20 73 68 6f 77 20 61 6c 6c 20 bjects show all
18a0: 73 65 74 74 69 6e 67 73 20 6f 66 20 74 68 65 20 settings of the
18b0: 3c 62 3e 47 45 4f 4d 45 54 52 59 3c 2f 62 3e 20 <b>GEOMETRY</b>
18c0: 63 6f 6c 75 6d 6e 28 73 29 2c 20 69 6e 63 6c 75 column(s), inclu
18d0: 64 69 6e 67 20 74 68 65 20 47 65 6f 6d 65 74 72 ding the Geometr
18e0: 79 54 79 70 65 2c 20 74 68 65 20 53 72 69 64 20 yType, the Srid
18f0: 61 6e 64 20 74 68 65 20 43 6f 6f 72 64 69 6e 61 and the Coordina
1900: 74 65 44 69 6d 65 6e 73 69 6f 6e 2e 3c 2f 74 64 teDimension.</td
1910: 3e 0d 0a 3c 74 64 3e 3c 69 6d 67 20 73 72 63 3d >..<td><img src=
1920: 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 "https://www.gai
1930: 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 a-gis.it/gaia-si
1940: 6e 73 2f 67 75 69 2d 70 6f 73 74 67 72 65 73 2f ns/gui-postgres/
1950: 67 75 69 31 30 2e 70 6e 67 22 20 61 6c 74 3d 22 gui10.png" alt="
1960: 70 6f 73 74 67 69 73 20 6d 65 74 61 64 61 74 61 postgis metadata
1970: 22 3e 3c 2f 74 64 3e 0d 0a 3c 2f 74 72 3e 0d 0a "></td>..</tr>..
1980: 3c 74 72 3e 0d 0a 3c 74 64 3e 3c 62 3e 33 2e 66 <tr>..<td><b>3.f
1990: 3c 2f 62 3e 20 61 6c 6c 20 3c 62 3e 50 6f 73 74 </b> all <b>Post
19a0: 47 49 53 20 54 61 62 6c 65 73 3c 2f 62 3e 20 77 GIS Tables</b> w
19b0: 69 6c 6c 20 61 6c 77 61 79 73 20 68 61 76 65 20 ill always have
19c0: 61 20 3c 62 3e 63 6f 6d 70 61 6e 69 6f 6e 20 54 a <b>companion T
19d0: 61 62 6c 65 3c 2f 62 3e 20 73 68 61 72 69 6e 67 able</b> sharing
19e0: 20 74 68 65 20 73 61 6d 65 20 69 64 65 6e 74 69 the same identi
19f0: 63 61 6c 20 6e 61 6d 65 2c 20 62 75 74 20 77 69 cal name, but wi
1a00: 74 68 20 61 6e 20 61 64 64 65 64 20 27 3c 62 3e th an added '<b>
1a10: 5f 70 6f 73 74 67 69 73 3c 2f 62 3e 27 20 73 75 _postgis</b>' su
1a20: 66 66 69 78 2e 3c 62 72 3e 3c 62 72 3e 3c 62 72 ffix.<br><br><br
1a30: 3e 0d 0a 3c 62 3e 4e 6f 74 65 3c 2f 62 3e 3a 20 >..<b>Note</b>:
1a40: 74 68 65 73 65 20 61 72 65 20 6e 6f 74 20 74 68 these are not th
1a50: 65 20 6f 72 69 67 69 6e 61 6c 20 3c 62 3e 56 69 e original <b>Vi
1a60: 72 74 75 61 6c 50 6f 73 74 67 72 65 73 20 54 61 rtualPostgres Ta
1a70: 62 6c 65 73 3c 2f 62 3e 20 77 68 69 63 68 20 73 bles</b> which s
1a80: 74 6f 72 65 20 74 68 65 20 47 65 6f 6d 65 74 72 tore the Geometr
1a90: 69 65 73 20 69 6e 20 74 68 65 20 6f 72 69 67 69 ies in the origi
1aa0: 6e 61 6c 20 50 6f 73 74 67 72 65 73 20 62 69 6e nal Postgres bin
1ab0: 61 72 79 20 66 6f 72 6d 61 74 2c 20 62 75 74 20 ary format, but
1ac0: 61 72 65 20 69 6e 73 74 65 61 64 20 53 70 61 74 are instead Spat
1ad0: 69 61 6c 69 74 65 27 73 20 6f 77 6e 20 3c 62 3e ialite's own <b>
1ae0: 53 70 61 74 69 61 6c 20 56 69 65 77 73 3c 2f 62 Spatial Views</b
1af0: 3e 20 63 6f 6e 74 61 69 6e 69 6e 67 20 47 65 6f > containing Geo
1b00: 6d 65 74 72 69 65 73 20 63 6f 6e 76 65 72 74 65 metries converte
1b10: 64 20 74 6f 20 74 68 65 20 53 70 61 74 69 61 6c d to the Spatial
1b20: 69 74 65 20 62 69 6e 61 72 79 20 66 6f 72 6d 61 ite binary forma
1b30: 74 2e 20 54 68 65 20 63 6f 6e 76 65 72 73 69 6f t. The conversio
1b40: 6e 20 62 65 74 77 65 65 6e 20 74 68 65 20 74 77 n between the tw
1b50: 6f 20 66 6f 72 6d 61 74 73 20 61 72 65 20 64 6f o formats are do
1b60: 6e 65 20 69 6e 20 74 68 65 20 62 61 63 6b 67 72 ne in the backgr
1b70: 6f 75 6e 64 20 61 6e 64 20 74 68 75 73 2c 20 66 ound and thus, f
1b80: 6f 72 20 74 68 65 20 75 73 65 72 2c 20 69 6e 20 or the user, in
1b90: 61 20 63 6f 6d 70 6c 65 61 74 6c 79 20 74 72 61 a compleatly tra
1ba0: 6e 73 70 61 72 65 6e 74 20 77 61 79 2e 3c 2f 74 nsparent way.</t
1bb0: 64 3e 0d 0a 3c 74 64 3e 3c 69 6d 67 20 73 72 63 d>..<td><img src
1bc0: 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 ="https://www.ga
1bd0: 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 ia-gis.it/gaia-s
1be0: 69 6e 73 2f 67 75 69 2d 70 6f 73 74 67 72 65 73 ins/gui-postgres
1bf0: 2f 67 75 69 31 31 2e 70 6e 67 22 20 61 6c 74 3d /gui11.png" alt=
1c00: 22 70 6f 73 74 67 69 73 20 77 72 61 70 70 65 72 "postgis wrapper
1c10: 20 6d 65 74 61 64 61 74 61 22 3e 3c 2f 74 64 3e metadata"></td>
1c20: 0d 0a 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 ..</tr>..<tr><td
1c30: 20 63 6f 6c 73 70 61 6e 3d 22 32 22 20 61 6c 69 colspan="2" ali
1c40: 67 6e 3d 22 63 65 6e 74 65 72 22 3e 3c 68 33 3e gn="center"><h3>
1c50: 34 20 2d 20 48 61 6e 64 6c 69 6e 67 20 50 6f 73 4 - Handling Pos
1c60: 74 67 72 65 53 51 4c 20 54 61 62 6c 65 73 20 61 tgreSQL Tables a
1c70: 6e 64 20 56 69 65 77 73 3c 2f 68 33 3e 3c 68 72 nd Views</h3><hr
1c80: 3e 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 ></td></tr>..<tr
1c90: 3e 0d 0a 3c 74 64 3e 3c 62 3e 34 2e 61 3c 2f 62 >..<td><b>4.a</b
1ca0: 3e 20 50 6f 73 74 67 72 65 53 51 4c 20 54 61 62 > PostgreSQL Tab
1cb0: 6c 65 73 20 61 6e 64 20 56 69 65 77 73 20 61 72 les and Views ar
1cc0: 65 20 63 6f 6e 73 69 64 65 72 65 64 2c 20 61 73 e considered, as
1cd0: 20 66 61 72 20 61 73 20 70 6f 73 73 69 62 6c 65 far as possible
1ce0: 2c 20 61 73 20 69 66 20 74 68 65 79 20 77 65 72 , as if they wer
1cf0: 65 20 6e 61 74 69 76 65 20 53 51 4c 69 74 65 20 e native SQLite
1d00: 6f 62 6a 65 63 74 73 2e 3c 62 72 3e 0d 0a 53 6f objects.<br>..So
1d10: 20 74 68 65 20 75 73 75 61 6c 20 6f 70 65 72 61 the usual opera
1d20: 74 69 6f 6e 73 20 73 75 70 70 6f 72 74 65 64 20 tions supported
1d30: 6f 6e 20 53 51 4c 69 74 65 27 73 20 6f 77 6e 20 on SQLite's own
1d40: 6f 62 6a 65 63 74 73 20 77 69 6c 6c 20 62 65 20 objects will be
1d50: 73 75 70 70 6f 72 74 65 64 20 61 6c 73 6f 20 69 supported also i
1d60: 6e 20 74 68 65 20 63 61 73 65 20 6f 66 20 50 6f n the case of Po
1d70: 73 74 67 72 65 53 51 4c 20 6f 62 6a 65 63 74 73 stgreSQL objects
1d80: 2e 3c 2f 74 64 3e 0d 0a 3c 74 64 3e 3c 69 6d 67 .</td>..<td><img
1d90: 20 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77 src="https://ww
1da0: 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 61 w.gaia-gis.it/ga
1db0: 69 61 2d 73 69 6e 73 2f 67 75 69 2d 70 6f 73 74 ia-sins/gui-post
1dc0: 67 72 65 73 2f 67 75 69 31 32 2e 70 6e 67 22 20 gres/gui12.png"
1dd0: 61 6c 74 3d 22 74 61 62 6c 65 20 6f 70 65 72 61 alt="table opera
1de0: 74 69 6f 6e 73 22 3e 3c 2f 74 64 3e 0d 0a 3c 2f tions"></td>..</
1df0: 74 72 3e 0d 0a 3c 74 72 3e 0d 0a 3c 74 64 3e 3c tr>..<tr>..<td><
1e00: 62 3e 34 2e 62 3c 2f 62 3e 20 54 68 65 20 61 62 b>4.b</b> The ab
1e10: 6f 76 65 20 63 72 69 74 65 72 69 61 20 77 69 6c ove criteria wil
1e20: 6c 20 61 70 70 6c 79 20 61 6c 73 6f 20 74 6f 20 l apply also to
1e30: 50 6f 73 74 47 49 53 20 47 65 6f 6d 65 74 72 69 PostGIS Geometri
1e40: 65 73 2e 3c 62 72 3e 3c 62 72 3e 3c 62 72 3e 0d es.<br><br><br>.
1e50: 0a 3c 62 3e 48 69 6e 74 3c 2f 62 3e 3a 20 65 78 .<b>Hint</b>: ex
1e60: 70 6f 72 74 69 6e 67 20 61 20 66 75 6c 6c 20 53 porting a full S
1e70: 68 61 70 65 66 69 6c 65 20 66 72 6f 6d 20 61 20 hapefile from a
1e80: 50 6f 73 74 47 49 53 20 54 61 62 6c 65 20 77 61 PostGIS Table wa
1e90: 73 20 6e 65 76 65 72 20 6d 6f 72 65 20 64 69 72 s never more dir
1ea0: 65 63 74 20 61 6e 64 20 73 69 6d 70 6c 65 20 74 ect and simple t
1eb0: 68 61 6e 20 74 68 69 73 2e 3c 2f 74 64 3e 0d 0a han this.</td>..
1ec0: 3c 74 64 3e 3c 69 6d 67 20 73 72 63 3d 22 68 74 <td><img src="ht
1ed0: 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 tps://www.gaia-g
1ee0: 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f is.it/gaia-sins/
1ef0: 67 75 69 2d 70 6f 73 74 67 72 65 73 2f 67 75 69 gui-postgres/gui
1f00: 31 33 2e 70 6e 67 22 20 61 6c 74 3d 22 67 65 6f 13.png" alt="geo
1f10: 6d 65 74 72 79 20 6f 70 65 72 61 74 69 6f 6e 73 metry operations
1f20: 22 3e 3c 2f 74 64 3e 0d 0a 3c 2f 74 72 3e 0d 0a "></td>..</tr>..
1f30: 3c 74 72 3e 0d 0a 3c 74 64 3e 3c 62 3e 34 2e 63 <tr>..<td><b>4.c
1f40: 3c 2f 62 3e 20 62 65 20 77 61 72 6e 65 64 3a 20 </b> be warned:
1f50: 64 69 72 65 63 74 6c 79 20 71 75 65 72 79 69 6e directly queryin
1f60: 67 20 61 20 3c 62 3e 50 6f 73 74 47 49 53 20 54 g a <b>PostGIS T
1f70: 61 62 6c 65 3c 2f 62 3e 20 28 69 2e 65 2e 20 61 able</b> (i.e. a
1f80: 20 56 69 72 74 75 61 6c 50 6f 73 74 67 72 65 73 VirtualPostgres
1f90: 20 54 61 62 6c 65 20 63 6f 6e 74 61 69 6e 69 6e Table containin
1fa0: 67 20 50 6f 73 74 47 49 53 20 47 65 6f 6d 65 74 g PostGIS Geomet
1fb0: 72 69 65 73 29 20 6e 65 76 65 72 20 69 73 20 61 ries) never is a
1fc0: 20 67 6f 6f 64 20 69 64 65 61 2e 0d 0a 46 6f 72 good idea...For
1fd0: 20 72 65 61 73 6f 6e 73 20 65 78 70 6c 61 69 6e reasons explain
1fe0: 65 64 20 69 6e 20 3c 62 3e 34 2e 64 3c 2f 62 3e ed in <b>4.d</b>
1ff0: 2c 20 79 6f 75 27 6c 6c 20 62 65 20 61 6c 77 61 , you'll be alwa
2000: 79 73 20 61 73 6b 65 64 20 3c 62 3e 74 77 69 63 ys asked <b>twic
2010: 65 3c 2f 62 3e 20 62 65 66 6f 72 65 20 73 74 61 e</b> before sta
2020: 72 74 69 6e 67 20 73 75 63 68 20 61 6e 20 65 78 rting such an ex
2030: 74 65 6e 73 69 76 65 20 28 61 6e 64 20 70 6f 74 tensive (and pot
2040: 65 6e 74 69 61 6c 6c 79 20 64 61 6e 67 65 72 6f entially dangero
2050: 75 73 29 20 61 63 74 69 6f 6e 2e 3c 2f 74 64 3e us) action.</td>
2060: 0d 0a 3c 74 64 3e 3c 69 6d 67 20 73 72 63 3d 22 ..<td><img src="
2070: 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 https://www.gaia
2080: 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e -gis.it/gaia-sin
2090: 73 2f 67 75 69 2d 70 6f 73 74 67 72 65 73 2f 67 s/gui-postgres/g
20a0: 75 69 31 37 2e 70 6e 67 22 20 61 6c 74 3d 22 64 ui17.png" alt="d
20b0: 69 72 65 63 74 20 70 6f 73 74 67 69 73 20 71 75 irect postgis qu
20c0: 65 72 79 22 3e 3c 2f 74 64 3e 0d 0a 3c 2f 74 72 ery"></td>..</tr
20d0: 3e 0d 0a 3c 74 72 3e 0d 0a 3c 74 64 3e 3c 62 3e >..<tr>..<td><b>
20e0: 34 2e 64 3c 2f 62 3e 20 54 68 65 20 72 65 61 73 4.d</b> The reas
20f0: 6f 6e 20 66 6f 72 20 73 75 63 68 20 61 20 62 65 on for such a be
2100: 68 61 76 69 6f 75 72 20 69 73 20 63 6c 65 61 72 haviour is clear
2110: 6c 79 20 73 68 6f 77 6e 20 69 6e 20 74 68 65 20 ly shown in the
2120: 73 69 64 65 20 66 69 67 75 72 65 2e 3c 62 72 3e side figure.<br>
2130: 0d 0a 41 20 56 69 72 74 75 61 6c 50 6f 73 74 67 ..A VirtualPostg
2140: 72 65 73 20 54 61 62 6c 65 20 77 69 6c 6c 20 65 res Table will e
2150: 78 70 6f 73 65 20 61 6c 6c 20 47 65 6f 6d 65 74 xpose all Geomet
2160: 72 69 65 73 20 61 73 20 3c 62 3e 45 57 4b 42 20 ries as <b>EWKB
2170: 74 65 78 74 20 73 74 72 69 6e 67 73 3c 2f 62 3e text strings</b>
2180: 20 75 73 69 6e 67 20 61 6e 20 68 65 78 61 64 65 using an hexade
2190: 63 69 6d 61 6c 20 6e 6f 74 61 74 69 6f 6e 3b 20 cimal notation;
21a0: 69 6e 20 74 68 69 73 20 63 61 73 65 20 77 65 20 in this case we
21b0: 68 61 76 65 20 73 69 6d 70 6c 65 20 50 4f 49 4e have simple POIN
21c0: 54 53 2c 20 61 6e 64 20 74 68 65 20 45 57 4b 42 TS, and the EWKB
21d0: 20 73 74 72 69 6e 67 73 20 61 72 65 20 72 65 61 strings are rea
21e0: 73 6f 6e 61 62 6c 79 20 63 6f 6d 70 61 63 74 2e sonably compact.
21f0: 3c 62 72 3e 0d 0a 42 75 74 20 75 6e 68 61 70 70 <br>..But unhapp
2200: 69 6c 79 20 63 6f 6d 70 6c 65 78 20 4c 49 4e 45 ily complex LINE
2210: 53 54 52 49 4e 47 20 6f 72 20 50 4f 4c 59 47 4f STRING or POLYGO
2220: 4e 20 47 65 6f 6d 65 74 72 69 65 73 20 6d 61 79 N Geometries may
2230: 20 65 61 73 69 6c 79 20 72 65 71 75 69 72 65 20 easily require
2240: 73 65 76 65 72 61 6c 20 6d 69 6c 6c 69 6f 6e 20 several million
2250: 63 68 61 72 61 63 74 65 72 73 2c 20 61 6e 64 20 characters, and
2260: 74 68 69 73 20 77 69 6c 6c 20 65 61 73 69 6c 79 this will easily
2270: 20 6f 76 65 72 20 73 74 72 65 73 73 20 74 68 65 over stress the
2280: 20 47 55 49 2e 3c 62 72 3e 0d 0a 54 68 65 20 65 GUI.<br>..The e
2290: 78 65 63 75 74 69 6f 6e 20 73 70 65 65 64 20 6f xecution speed o
22a0: 66 20 73 75 63 68 20 61 20 71 75 65 72 79 20 77 f such a query w
22b0: 69 6c 6c 20 63 65 72 74 61 69 6e 6c 79 20 62 65 ill certainly be
22c0: 20 3c 62 3e 76 65 72 79 3c 2f 62 3e 20 73 6c 75 <b>very</b> slu
22d0: 67 67 69 73 68 2c 20 61 6e 64 20 69 6e 73 74 61 ggish, and insta
22e0: 62 69 6c 69 74 79 20 70 72 6f 62 6c 65 6d 73 2c bility problems,
22f0: 20 63 61 75 73 65 64 20 62 79 20 65 78 63 65 73 caused by exces
2300: 73 69 76 65 20 6d 65 6d 6f 72 79 20 75 73 65 2c sive memory use,
2310: 20 63 6f 75 6c 64 20 65 76 65 6e 74 75 61 6c 6c could eventuall
2320: 79 20 61 72 69 73 65 2e 3c 62 72 3e 3c 62 72 3e y arise.<br><br>
2330: 3c 62 72 3e 0d 0a 3c 62 3e 53 68 6f 72 74 20 63 <br>..<b>Short c
2340: 6f 6e 63 6c 75 73 69 6f 6e 3c 2f 62 3e 3a 20 6e onclusion</b>: n
2350: 65 76 65 72 2c 20 65 76 65 72 2c 20 61 74 74 65 ever, ever, atte
2360: 6d 70 74 20 74 6f 20 64 69 72 65 63 74 6c 79 20 mpt to directly
2370: 71 75 65 72 79 20 61 20 50 6f 73 74 47 49 53 20 query a PostGIS
2380: 54 61 62 6c 65 20 21 3c 2f 74 64 3e 0d 0a 3c 74 Table !</td>..<t
2390: 64 3e 3c 69 6d 67 20 73 72 63 3d 22 68 74 74 70 d><img src="http
23a0: 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 s://www.gaia-gis
23b0: 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f 67 75 .it/gaia-sins/gu
23c0: 69 2d 70 6f 73 74 67 72 65 73 2f 67 75 69 31 35 i-postgres/gui15
23d0: 2e 70 6e 67 22 20 61 6c 74 3d 22 64 69 72 65 63 .png" alt="direc
23e0: 74 20 70 6f 73 74 67 69 73 20 71 75 65 72 79 22 t postgis query"
23f0: 3e 3c 2f 74 64 3e 0d 0a 3c 2f 74 72 3e 0d 0a 3c ></td>..</tr>..<
2400: 74 72 3e 0d 0a 3c 74 64 3e 3c 62 3e 34 2e 65 3c tr>..<td><b>4.e<
2410: 2f 62 3e 20 54 6f 20 61 76 6f 69 64 20 74 68 69 /b> To avoid thi
2420: 73 20 70 72 6f 62 6c 65 6d 2c 20 61 20 63 6f 6d s problem, a com
2430: 70 61 6e 69 6f 6e 20 53 70 61 74 69 61 6c 20 56 panion Spatial V
2440: 69 65 77 20 65 78 69 73 74 73 20 66 6f 72 20 65 iew exists for e
2450: 76 65 72 79 20 50 6f 73 74 47 49 53 20 54 61 62 very PostGIS Tab
2460: 6c 65 2c 20 61 6e 64 20 69 73 20 73 70 65 63 69 le, and is speci
2470: 66 69 63 61 6c 6c 79 20 69 6e 74 65 6e 64 65 64 fically intended
2480: 20 74 6f 20 73 75 70 70 6f 72 74 20 73 61 66 65 to support safe
2490: 20 61 6e 64 20 74 72 6f 75 62 6c 65 20 66 72 65 and trouble fre
24a0: 65 20 71 75 65 72 69 65 73 2e 3c 62 72 3e 0d 0a e queries.<br>..
24b0: 41 6c 73 6f 20 74 68 65 20 53 70 61 74 69 61 6c Also the Spatial
24c0: 20 56 69 65 77 20 77 69 6c 6c 20 74 61 6b 65 20 View will take
24d0: 63 61 72 65 20 74 6f 20 73 69 6c 65 6e 74 6c 79 care to silently
24e0: 20 63 6f 6e 76 65 72 74 20 62 69 6e 61 72 79 20 convert binary
24f0: 47 65 6f 6d 65 74 72 69 65 73 20 74 6f 20 61 6e Geometries to an
2500: 64 20 66 72 6f 6d 20 74 68 65 20 6e 65 65 64 65 d from the neede
2510: 64 20 66 6f 72 6d 61 74 2c 20 73 69 6d 70 6c 69 d format, simpli
2520: 66 79 69 6e 67 20 74 68 65 20 77 72 69 74 69 6e fying the writin
2530: 67 20 6f 66 20 63 75 73 74 6f 6d 69 7a 65 64 20 g of customized
2540: 53 51 4c 20 71 75 65 72 69 65 73 20 75 73 69 6e SQL queries usin
2550: 67 20 53 70 61 74 69 61 6c 20 46 75 6e 63 74 69 g Spatial Functi
2560: 6f 6e 73 20 73 69 6e 63 65 20 74 68 65 20 75 73 ons since the us
2570: 65 72 20 64 6f 65 73 20 6e 6f 74 20 6e 65 65 64 er does not need
2580: 20 74 6f 20 64 6f 20 61 6e 79 20 62 69 6e 61 72 to do any binar
2590: 79 20 63 6f 6e 76 65 72 73 69 6f 6e 73 20 6f 66 y conversions of
25a0: 20 74 68 65 20 47 65 6f 6d 65 74 72 69 65 73 2e the Geometries.
25b0: 3c 2f 74 64 3e 0d 0a 3c 74 64 3e 3c 69 6d 67 20 </td>..<td><img
25c0: 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 src="https://www
25d0: 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 .gaia-gis.it/gai
25e0: 61 2d 73 69 6e 73 2f 67 75 69 2d 70 6f 73 74 67 a-sins/gui-postg
25f0: 72 65 73 2f 67 75 69 31 36 2e 70 6e 67 22 20 61 res/gui16.png" a
2600: 6c 74 3d 22 69 6e 64 69 72 65 63 74 20 70 6f 73 lt="indirect pos
2610: 74 67 69 73 20 71 75 65 72 79 22 3e 3c 2f 74 64 tgis query"></td
2620: 3e 0d 0a 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 0d 0a >..</tr>..<tr>..
2630: 3c 74 64 3e 3c 62 3e 34 2e 66 3c 2f 62 3e 20 54 <td><b>4.f</b> T
2640: 68 65 20 63 6f 6d 70 61 6e 69 6f 6e 20 53 70 61 he companion Spa
2650: 74 69 61 6c 20 56 69 65 77 20 77 69 6c 6c 20 61 tial View will a
2660: 6c 77 61 79 73 20 62 65 20 61 20 3c 62 3e 57 72 lways be a <b>Wr
2670: 69 74 61 62 6c 65 20 56 69 65 77 3c 2f 62 3e 20 itable View</b>
2680: 77 68 65 6e 20 74 68 65 20 63 6f 72 72 65 73 70 when the corresp
2690: 6f 6e 64 69 6e 67 20 50 6f 73 74 47 49 53 20 54 onding PostGIS T
26a0: 61 62 6c 65 20 69 73 20 61 70 70 72 6f 70 72 69 able is appropri
26b0: 61 74 65 6c 79 20 65 6e 61 62 6c 65 64 20 61 6e ately enabled an
26c0: 64 20 77 68 65 6e 20 74 68 65 20 63 6f 6e 6e 65 d when the conne
26d0: 63 74 69 6f 6e 20 73 75 70 70 6f 72 74 73 20 52 ction supports R
26e0: 45 41 44 2d 57 52 49 54 45 20 6f 70 65 72 61 74 EAD-WRITE operat
26f0: 69 6f 6e 73 2e 3c 62 72 3e 3c 62 72 3e 3c 62 72 ions.<br><br><br
2700: 3e 0d 0a 3c 62 3e 4e 6f 74 65 3c 2f 62 3e 3a 20 >..<b>Note</b>:
2710: 41 6c 6c 20 61 70 70 72 6f 70 72 69 61 74 65 20 All appropriate
2720: 54 72 69 67 67 65 72 73 20 28 73 75 70 70 6f 72 Triggers (suppor
2730: 74 69 6e 67 20 3c 62 3e 49 4e 53 45 52 54 3c 2f ting <b>INSERT</
2740: 62 3e 2c 20 3c 62 3e 55 50 44 41 54 45 3c 2f 62 b>, <b>UPDATE</b
2750: 3e 20 61 6e 64 20 3c 62 3e 44 45 4c 45 54 45 3c > and <b>DELETE<
2760: 2f 62 3e 20 6f 70 65 72 61 74 69 6f 6e 73 29 2c /b> operations),
2770: 20 66 6f 72 20 61 20 57 72 69 74 61 62 6c 65 20 for a Writable
2780: 53 70 61 74 69 61 6c 20 56 69 65 77 2c 20 77 69 Spatial View, wi
2790: 6c 6c 20 62 65 20 61 75 74 6f 6d 61 74 69 63 61 ll be automatica
27a0: 6c 6c 79 20 63 72 65 61 74 65 64 2e 3c 2f 74 64 lly created.</td
27b0: 3e 0d 0a 3c 74 64 3e 3c 69 6d 67 20 73 72 63 3d >..<td><img src=
27c0: 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 "https://www.gai
27d0: 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 a-gis.it/gaia-si
27e0: 6e 73 2f 67 75 69 2d 70 6f 73 74 67 72 65 73 2f ns/gui-postgres/
27f0: 67 75 69 31 34 2e 70 6e 67 22 20 61 6c 74 3d 22 gui14.png" alt="
2800: 70 6f 73 74 67 69 73 20 65 64 69 74 69 6e 67 22 postgis editing"
2810: 3e 3c 2f 74 64 3e 0d 0a 3c 2f 74 72 3e 0d 0a 3c ></td>..</tr>..<
2820: 74 72 3e 3c 74 64 20 63 6f 6c 73 70 61 6e 3d 22 tr><td colspan="
2830: 32 22 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 2" align="center
2840: 22 3e 3c 68 33 3e 3c 61 20 6e 61 6d 65 3d 22 61 "><h3><a name="a
2850: 64 64 65 6e 64 75 6d 22 3e 41 64 64 65 6e 64 75 ddendum">Addendu
2860: 6d 3c 2f 61 3e 3a 20 73 70 65 63 69 61 6c 20 6e m</a>: special n
2870: 6f 74 65 20 66 6f 72 20 57 69 6e 64 6f 77 73 20 ote for Windows
2880: 75 73 65 72 73 3c 2f 68 33 3e 3c 68 72 3e 3c 2f users</h3><hr></
2890: 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74 td></tr>..<tr><t
28a0: 64 20 63 6f 6c 73 70 61 6e 20 3d 20 22 32 22 3e d colspan = "2">
28b0: 0d 0a 41 6c 6c 20 70 72 65 76 69 6f 75 73 20 76 ..All previous v
28c0: 65 72 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 47 ersions of the G
28d0: 55 49 20 62 69 6e 61 72 69 65 73 20 72 65 6c 65 UI binaries rele
28e0: 61 73 65 64 20 69 6e 20 74 68 65 20 70 61 73 74 ased in the past
28f0: 20 77 65 72 65 20 61 6c 77 61 79 73 20 62 61 73 were always bas
2900: 65 64 20 6f 6e 20 61 20 73 69 6e 67 6c 65 20 6d ed on a single m
2910: 6f 6e 6f 6c 69 74 68 69 63 20 3c 62 3e 2e 65 78 onolithic <b>.ex
2920: 65 3c 2f 62 3e 20 66 75 6c 6c 79 20 64 65 70 65 e</b> fully depe
2930: 6e 64 69 6e 67 20 6f 6e 20 73 74 61 74 69 63 20 nding on static
2940: 6c 69 6e 6b 61 67 65 2c 20 6e 6f 74 20 72 65 71 linkage, not req
2950: 75 69 72 69 6e 67 20 61 6e 79 20 6f 74 68 65 72 uiring any other
2960: 20 44 4c 4c 20 61 74 20 61 6c 6c 2e 3c 62 72 3e DLL at all.<br>
2970: 3c 62 72 3e 0d 0a 55 6e 68 61 70 70 69 6c 79 20 <br>..Unhappily
2980: 74 68 69 73 20 69 73 20 6e 6f 20 6c 6f 6e 67 65 this is no longe
2990: 72 20 70 6f 73 73 69 62 6c 65 2c 20 73 69 6e 63 r possible, sinc
29a0: 65 20 3c 62 3e 6c 69 62 70 71 3c 2f 62 3e 20 28 e <b>libpq</b> (
29b0: 3c 69 3e 74 68 65 20 50 6f 73 74 67 72 65 53 51 <i>the PostgreSQ
29c0: 4c 20 6f 77 6e 20 63 6c 69 65 6e 74 20 6c 69 62 L own client lib
29d0: 72 61 72 79 3c 2f 69 3e 29 20 69 73 20 6f 6e 6c rary</i>) is onl
29e0: 79 20 61 76 61 69 6c 61 62 6c 65 20 61 73 20 61 y available as a
29f0: 20 44 4c 4c 20 6f 6e 20 57 69 6e 64 6f 77 73 2c DLL on Windows,
2a00: 20 61 6e 64 20 74 68 65 72 65 66 6f 72 65 20 63 and therefore c
2a10: 61 6e 6e 6f 74 20 62 65 20 75 73 65 64 20 74 6f annot be used to
2a20: 20 63 72 65 61 74 65 20 61 20 63 6f 72 72 65 73 create a corres
2a30: 70 6f 6e 64 69 6e 67 20 73 74 61 74 69 63 20 6c ponding static l
2a40: 69 62 72 61 72 79 2e 3c 62 72 3e 0d 0a 4d 6f 72 ibrary.<br>..Mor
2a50: 65 20 70 72 65 63 69 73 65 6c 79 3a 20 61 20 73 e precisely: a s
2a60: 74 61 74 69 63 20 6c 69 62 72 61 72 79 20 69 73 tatic library is
2a70: 20 61 63 74 75 61 6c 6c 79 20 62 75 69 6c 74 20 actually built
2a80: 77 68 65 6e 20 63 6f 6d 70 69 6c 69 6e 67 20 50 when compiling P
2a90: 6f 73 74 67 72 65 53 51 4c 2c 20 62 75 74 20 6f ostgreSQL, but o
2aa0: 6e 20 57 69 6e 64 6f 77 73 20 69 74 20 73 69 6d n Windows it sim
2ab0: 70 6c 79 20 69 73 20 61 20 73 74 75 62 20 73 74 ply is a stub st
2ac0: 69 6c 6c 20 72 65 71 75 69 72 69 6e 67 20 74 6f ill requiring to
2ad0: 20 6c 6f 61 64 20 74 68 65 20 44 4c 4c 20 61 74 load the DLL at
2ae0: 20 72 75 6e 20 74 69 6d 65 2e 3c 62 72 3e 3c 62 run time.<br><b
2af0: 72 3e 3c 62 72 3e 0d 0a 46 6f 72 20 74 68 69 73 r><br>..For this
2b00: 20 72 65 61 73 6f 6e 2c 20 3c 62 3e 73 70 61 74 reason, <b>spat
2b10: 69 61 6c 69 74 65 5f 67 75 69 2e 65 78 65 3c 2f ialite_gui.exe</
2b20: 62 3e 2c 20 77 68 69 63 68 20 6f 74 68 65 72 77 b>, which otherw
2b30: 69 73 65 20 64 65 70 65 6e 64 73 20 6f 6e 20 61 ise depends on a
2b40: 20 73 74 61 74 69 63 20 6c 69 6e 6b 61 67 65 2c static linkage,
2b50: 20 6d 75 73 74 20 6d 61 6b 65 20 61 6e 20 65 78 must make an ex
2b60: 63 65 70 74 69 6f 6e 20 66 6f 72 20 3c 62 3e 6c ception for <b>l
2b70: 69 62 70 71 2e 64 6c 6c 3c 2f 62 3e 2e 3c 62 72 ibpq.dll</b>.<br
2b80: 3e 0d 0a 53 6f 20 61 20 72 65 61 73 6f 6e 61 62 >..So a reasonab
2b90: 6c 65 20 63 6f 6d 70 72 6f 6d 69 73 65 20 68 61 le compromise ha
2ba0: 73 20 62 65 65 6e 20 61 64 6f 70 74 65 64 20 69 s been adopted i
2bb0: 6e 20 6f 72 64 65 72 20 74 6f 20 6d 69 74 69 67 n order to mitig
2bc0: 61 74 65 20 74 68 65 20 6e 65 67 61 74 69 76 65 ate the negative
2bd0: 20 69 6d 70 61 63 74 20 6f 66 20 73 75 63 68 20 impact of such
2be0: 61 6e 20 6f 64 64 20 63 6f 6d 62 69 6e 61 74 69 an odd combinati
2bf0: 6f 6e 3a 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e 74 on:..<ul>..<li>t
2c00: 68 65 20 62 69 6e 61 72 69 65 73 20 66 6f 72 20 he binaries for
2c10: 57 69 6e 64 6f 77 73 20 70 6c 61 74 66 6f 72 6d Windows platform
2c20: 73 20 77 69 6c 6c 20 62 65 20 62 75 69 6c 74 20 s will be built
2c30: 69 6e 20 73 75 63 68 20 61 20 77 61 79 20 74 68 in such a way th
2c40: 61 74 20 3c 62 3e 6c 69 62 70 71 2e 64 6c 6c 3c at <b>libpq.dll<
2c50: 2f 62 3e 20 77 69 6c 6c 20 73 75 70 70 6f 72 74 /b> will support
2c60: 20 77 68 61 74 20 69 73 20 67 65 6e 65 72 61 6c what is general
2c70: 6c 79 20 6b 6e 6f 77 6e 20 61 73 20 3c 62 3e 6c ly known as <b>l
2c80: 61 74 65 20 62 69 6e 64 69 6e 67 3c 2f 62 3e 20 ate binding</b>
2c90: 61 6b 61 20 3c 62 3e 64 65 66 65 72 72 65 64 20 aka <b>deferred
2ca0: 62 69 6e 64 69 6e 67 3c 2f 62 3e 2e 3c 2f 6c 69 binding</b>.</li
2cb0: 3e 0d 0a 3c 6c 69 3e 74 68 69 73 20 77 61 79 2c >..<li>this way,
2cc0: 20 74 68 65 20 6d 61 69 6e 20 63 6f 72 65 20 6f the main core o
2cd0: 66 20 74 68 65 20 47 55 49 20 20 77 69 6c 6c 20 f the GUI will
2ce0: 63 6f 6e 74 69 6e 75 65 20 74 6f 20 77 6f 72 6b continue to work
2cf0: 20 77 69 74 68 6f 75 74 20 6c 6f 61 64 69 6e 67 without loading
2d00: 20 3c 62 3e 6c 69 62 70 71 2e 64 6c 6c 3c 2f 62 <b>libpq.dll</b
2d10: 3e 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 3c 62 3e >.</li>..<li><b>
2d20: 6c 69 62 70 71 2e 64 6c 6c 3c 2f 62 3e 20 77 69 libpq.dll</b> wi
2d30: 6c 6c 20 62 65 20 6f 6e 6c 79 20 62 65 20 6c 6f ll be only be lo
2d40: 61 64 65 64 20 77 68 65 6e 20 6e 65 65 64 65 64 aded when needed
2d50: 20 28 69 2e 65 2e 20 77 68 65 6e 20 74 68 65 20 (i.e. when the
2d60: 75 73 65 72 20 72 65 71 75 65 73 74 73 20 61 20 user requests a
2d70: 50 6f 73 74 67 72 65 53 51 4c 20 63 6f 6e 6e 65 PostgreSQL conne
2d80: 63 74 69 6f 6e 29 2e 3c 2f 6c 69 3e 0d 0a 3c 6c ction).</li>..<l
2d90: 69 3e 69 66 20 74 68 65 20 44 4c 4c 20 66 61 69 i>if the DLL fai
2da0: 6c 73 20 74 6f 20 62 65 20 6c 6f 61 64 65 64 20 ls to be loaded
2db0: 66 6f 72 20 61 6e 79 20 72 65 61 73 6f 6e 2c 20 for any reason,
2dc0: 74 68 65 20 50 6f 73 74 67 72 65 53 51 4c 20 73 the PostgreSQL s
2dd0: 75 70 70 6f 72 74 20 77 69 6c 6c 20 72 65 6d 61 upport will rema
2de0: 69 6e 20 64 69 73 61 62 6c 65 64 20 61 6e 64 20 in disabled and
2df0: 74 68 65 20 47 55 49 20 77 69 6c 6c 20 63 6f 6e the GUI will con
2e00: 74 69 6e 75 65 20 75 6e 61 66 66 65 63 74 65 64 tinue unaffected
2e10: 2e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 3c .</li>..</ul>..<
2e20: 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c /td></tr>..<tr><
2e30: 74 64 20 63 6f 6c 73 70 61 6e 3d 22 32 22 20 61 td colspan="2" a
2e40: 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 3c 68 lign="center"><h
2e50: 33 3e 48 6f 77 20 74 6f 20 6c 6f 61 64 20 4c 69 3>How to load Li
2e60: 62 50 47 2c 20 77 68 65 6e 20 69 74 20 68 61 73 bPG, when it has
2e70: 20 6e 6f 74 20 62 65 65 6e 20 61 75 74 6f 6d 61 not been automa
2e80: 74 69 63 61 6c 6c 79 20 66 6f 75 6e 64 3c 2f 68 tically found</h
2e90: 33 3e 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 3></td></tr>..<t
2ea0: 72 3e 0d 0a 3c 74 64 3e 3c 62 3e 41 2e 31 3c 2f r>..<td><b>A.1</
2eb0: 62 3e 20 3c 62 3e 6c 69 62 70 71 2e 64 6c 6c 3c b> <b>libpq.dll<
2ec0: 2f 62 3e 20 77 69 6c 6c 20 62 65 20 6c 6f 61 64 /b> will be load
2ed0: 65 64 20 77 68 65 6e 20 61 63 63 65 73 73 69 6e ed when accessin
2ee0: 67 20 61 20 50 6f 73 74 67 72 65 53 51 4c 20 66 g a PostgreSQL f
2ef0: 6f 72 20 74 68 65 20 66 69 72 73 74 20 74 69 6d or the first tim
2f00: 65 3a 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e 61 6e e:..<ul>..<li>an
2f10: 20 61 75 74 6f 6d 61 74 69 63 20 61 74 74 65 6d automatic attem
2f20: 70 74 20 77 69 6c 6c 20 62 65 20 70 65 72 66 6f pt will be perfo
2f30: 72 6d 65 64 20 61 63 63 6f 72 64 69 6e 67 6c 79 rmed accordingly
2f40: 20 74 6f 20 74 68 65 20 73 74 61 6e 64 61 72 64 to the standard
2f50: 20 70 6c 61 74 66 6f 72 6d 20 72 75 6c 65 73 20 platform rules
2f60: 28 6d 6f 73 74 6c 79 3a 20 73 65 61 72 63 68 20 (mostly: search
2f70: 70 61 74 68 73 29 2e 3c 62 72 3e 0d 0a 3c 62 3e paths).<br>..<b>
2f80: 48 69 6e 74 3c 2f 62 3e 3a 20 6f 6e 20 57 69 6e Hint</b>: on Win
2f90: 64 6f 77 73 2c 20 70 6c 61 63 69 6e 67 20 74 68 dows, placing th
2fa0: 65 20 44 4c 4c 20 69 6e 20 74 68 65 20 73 61 6d e DLL in the sam
2fb0: 65 20 66 6f 6c 64 65 72 20 61 73 20 74 68 65 20 e folder as the
2fc0: 47 55 49 20 65 78 65 63 75 74 61 62 6c 65 2c 20 GUI executable,
2fd0: 73 69 6d 70 6c 69 66 79 73 20 6d 61 74 74 65 72 simplifys matter
2fe0: 73 20 6e 69 63 65 6c 79 2e 3c 2f 6c 69 3e 0d 0a s nicely.</li>..
2ff0: 3c 6c 69 3e 69 66 20 3c 62 3e 6c 69 62 70 71 2e <li>if <b>libpq.
3000: 64 6c 6c 3c 2f 62 3e 20 63 61 6e 6e 6f 74 20 62 dll</b> cannot b
3010: 65 20 66 6f 75 6e 64 2c 20 74 68 65 6e 20 74 68 e found, then th
3020: 65 20 75 73 65 72 20 69 73 20 61 73 6b 65 64 20 e user is asked
3030: 74 6f 20 6d 61 6e 75 61 6c 6c 79 20 6c 6f 61 64 to manually load
3040: 20 3c 62 3e 6c 69 62 70 71 2e 64 6c 6c 3c 2f 62 <b>libpq.dll</b
3050: 3e 2c 20 61 73 20 73 68 6f 77 6e 20 62 79 20 74 >, as shown by t
3060: 68 65 20 73 69 64 65 20 66 69 67 75 72 65 2e 3c he side figure.<
3070: 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 3c 2f 74 64 3e /li>..</ul></td>
3080: 0d 0a 3c 74 64 3e 3c 69 6d 67 20 73 72 63 3d 22 ..<td><img src="
3090: 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 https://www.gaia
30a0: 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e -gis.it/gaia-sin
30b0: 73 2f 67 75 69 2d 70 6f 73 74 67 72 65 73 2f 6c s/gui-postgres/l
30c0: 69 62 70 71 2d 64 65 66 65 72 72 65 64 31 2e 70 ibpq-deferred1.p
30d0: 6e 67 22 20 61 6c 74 3d 22 6c 69 62 70 71 20 6e ng" alt="libpq n
30e0: 6f 74 20 66 6f 75 6e 64 22 3e 3c 2f 74 64 3e 0d ot found"></td>.
30f0: 0a 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 0d 0a 3c 74 .</tr>..<tr>..<t
3100: 64 3e 3c 62 3e 41 2e 32 3c 2f 62 3e 20 54 68 65 d><b>A.2</b> The
3110: 20 73 74 61 6e 64 61 72 64 20 46 69 6c 65 20 53 standard File S
3120: 65 6c 65 63 74 69 6f 6e 20 64 69 61 6c 6f 67 20 election dialog
3130: 63 61 6e 20 62 65 20 75 73 65 64 20 74 6f 20 6c can be used to l
3140: 6f 63 61 74 65 20 61 6e 64 20 6f 70 65 6e 20 74 ocate and open t
3150: 68 65 20 3c 62 3e 6c 69 62 70 71 2e 64 6c 6c 3c he <b>libpq.dll<
3160: 2f 62 3e 2e 3c 62 72 3e 3c 62 72 3e 3c 62 72 3e /b>.<br><br><br>
3170: 0d 0a 3c 62 3e 57 61 72 6e 69 6e 67 3c 2f 62 3e ..<b>Warning</b>
3180: 3a 20 61 20 63 6f 6d 6d 6f 6e 20 70 69 74 66 61 : a common pitfa
3190: 6c 6c 20 69 73 20 61 74 74 65 6d 70 74 69 6e 67 ll is attempting
31a0: 20 74 6f 20 6c 6f 61 64 20 61 20 33 32 2f 36 34 to load a 32/64
31b0: 20 62 69 74 20 44 4c 4c 20 74 6f 20 61 20 36 34 bit DLL to a 64
31c0: 2f 33 32 20 62 69 74 20 47 55 49 2e 3c 62 72 3e /32 bit GUI.<br>
31d0: 0d 0a 54 68 65 20 63 6f 64 65 20 6d 6f 64 65 6c ..The code model
31e0: 20 28 33 32 2f 36 34 20 62 69 74 29 20 6f 66 20 (32/64 bit) of
31f0: 62 6f 74 68 20 74 68 65 20 65 78 65 63 75 74 61 both the executa
3200: 62 6c 65 20 61 6e 64 20 74 68 65 20 44 4c 4c 20 ble and the DLL
3210: 6d 75 73 74 20 74 68 65 20 73 61 6d 65 2e 3c 2f must the same.</
3220: 74 64 3e 0d 0a 3c 74 64 3e 3c 69 6d 67 20 73 72 td>..<td><img sr
3230: 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 c="https://www.g
3240: 61 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d aia-gis.it/gaia-
3250: 73 69 6e 73 2f 67 75 69 2d 70 6f 73 74 67 72 65 sins/gui-postgre
3260: 73 2f 6c 69 62 70 71 2d 64 65 66 65 72 72 65 64 s/libpq-deferred
3270: 32 2e 70 6e 67 22 20 61 6c 74 3d 22 6c 69 62 70 2.png" alt="libp
3280: 71 20 6f 70 65 6e 22 3e 3c 2f 74 64 3e 0d 0a 3c q open"></td>..<
3290: 2f 74 72 3e 0d 0a 3c 74 72 3e 0d 0a 3c 74 64 3e /tr>..<tr>..<td>
32a0: 3c 62 3e 41 2e 33 3c 2f 62 3e 20 49 66 20 3c 62 <b>A.3</b> If <b
32b0: 3e 6c 69 62 70 71 2e 64 6c 6c 3c 2f 62 3e 20 68 >libpq.dll</b> h
32c0: 61 73 20 62 65 65 6e 20 73 75 63 63 65 73 73 66 as been successf
32d0: 75 6c 6c 79 20 6c 6f 61 64 65 64 2c 20 61 20 63 ully loaded, a c
32e0: 6f 6e 66 69 72 6d 61 74 69 6f 6e 20 6d 65 73 73 onfirmation mess
32f0: 61 67 65 20 77 69 6c 6c 20 62 65 20 73 68 6f 77 age will be show
3300: 6e 20 77 69 74 68 20 74 68 65 20 61 73 73 6f 63 n with the assoc
3310: 69 61 74 69 6f 6e 20 62 65 74 77 65 65 6e 20 74 iation between t
3320: 68 65 20 47 55 49 20 61 6e 64 20 74 68 65 20 44 he GUI and the D
3330: 4c 4c 20 70 65 72 6d 61 6e 65 6e 74 6c 79 20 72 LL permanently r
3340: 65 67 69 73 74 65 72 65 64 2e 3c 62 72 3e 0d 0a egistered.<br>..
3350: 4f 6e 63 65 20 73 75 63 63 65 73 73 66 75 6c 6c Once successfull
3360: 79 20 6c 6f 61 64 65 64 2c 20 61 6c 6c 20 74 68 y loaded, all th
3370: 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 73 65 73 73 e following sess
3380: 69 6f 6e 73 20 77 69 6c 6c 20 75 73 65 20 74 68 ions will use th
3390: 69 73 20 61 73 73 6f 63 69 61 74 69 6f 6e 20 61 is association a
33a0: 75 74 6f 6d 61 74 69 63 61 6c 6c 79 2c 20 6d 61 utomatically, ma
33b0: 6b 69 6e 67 20 74 68 69 73 20 61 20 6f 6e 65 20 king this a one
33c0: 74 69 6d 65 20 65 66 66 6f 72 74 2e 3c 2f 74 64 time effort.</td
33d0: 3e 0d 0a 3c 74 64 3e 3c 69 6d 67 20 73 72 63 3d >..<td><img src=
33e0: 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 "https://www.gai
33f0: 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 a-gis.it/gaia-si
3400: 6e 73 2f 67 75 69 2d 70 6f 73 74 67 72 65 73 2f ns/gui-postgres/
3410: 6c 69 62 70 71 2d 64 65 66 65 72 72 65 64 33 2e libpq-deferred3.
3420: 70 6e 67 22 20 61 6c 74 3d 22 6c 69 62 70 71 20 png" alt="libpq
3430: 6c 6f 61 64 65 64 22 3e 3c 2f 74 64 3e 0d 0a 3c loaded"></td>..<
3440: 2f 74 72 3e 0d 0a 3c 2f 74 61 62 6c 65 3e 0d 0a /tr>..</table>..
3450: 42 61 63 6b 20 74 6f 20 3c 61 20 68 72 65 66 3d Back to <a href=
3460: 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 "https://www.gai
3470: 61 2d 67 69 73 2e 69 74 2f 66 6f 73 73 69 6c 2f a-gis.it/fossil/
3480: 73 70 61 74 69 61 6c 69 74 65 5f 67 75 69 2f 77 spatialite_gui/w
3490: 69 6b 69 3f 6e 61 6d 65 3d 73 70 61 74 69 61 6c iki?name=spatial
34a0: 69 74 65 2d 67 75 69 22 3e 6d 61 69 6e 20 57 69 ite-gui">main Wi
34b0: 6b 69 20 70 61 67 65 3c 2f 61 3e 0a 5a 20 31 35 ki page</a>.Z 15
34c0: 65 33 62 62 38 36 30 65 62 31 39 62 65 34 33 34 e3bb860eb19be434
34d0: 36 61 37 63 31 62 37 36 31 33 35 39 32 39 0a 6a7c1b76135929.