wiki:TracQuery

Trac Ticket Queries

In addition to reports, Trac provides support for custom ticket queries, which can be used to display tickets that meet specified criteria.

To configure and execute a custom query, switch to the View Tickets module from the navigation bar, and select the Custom Query link.

Filters

When you first go to the query page, the default filter will display tickets relevant to you:

  • If logged in then all open tickets, it will display open tickets assigned to you.
  • If not logged in but you have specified a name or email address in the preferences, then it will display all open tickets where your email (or name if email not defined) is in the CC list.
  • If not logged in and no name/email is defined in the preferences, then all open issues are displayed.

Current filters can be removed by clicking the button to the left with the minus sign on the label. New filters are added from the dropdown lists at the bottom corners of the filters box; 'And' conditions on the left, 'Or' conditions on the right. Filters with either a text box or a dropdown menu of options can be added multiple times to perform an Or on the criteria.

You can use the fields just below the filters box to group the results based on a field, or display the full description for each ticket.

After you have edited your filters, click the Update button to refresh your results.

Keyboard shortcuts are available for manipulating the checkbox filters:

  • Clicking on a filter row label toggles all checkboxes.
  • Pressing the modifier key while clicking on a filter row label inverts the state of all checkboxes.
  • Pressing the modifier key while clicking on a checkbox selects the checkbox and deselects all other checkboxes in the filter.

The modifier key is platform and browser dependent. On Mac the modified key is Option/Alt or Command. On Linux the modifier key is Ctrl + Alt. Opera on Windows seems to use Ctrl + Alt, while Alt is effective for other Windows browsers.

Clicking on one of the query results will take you to that ticket. You can navigate through the results by clicking the Next Ticket or Previous Ticket links just below the main menu bar, or click the Back to Query link to return to the query page.

You can safely edit any of the tickets and continue to navigate through the results using the Next/Previous/Back to Query links after saving your results. When you return to the query any tickets which were edited will be displayed with italicized text. If one of the tickets was edited such that it no longer matches the query criteria , the text will also be greyed. Lastly, if a new ticket matching the query criteria has been created, it will be shown in bold.

The query results can be refreshed and cleared of these status indicators by clicking the Update button again.

Saving Queries

Trac allows you to save the query as a named query accessible from the reports module. To save a query ensure that you have Updated the view and then click the Save query button displayed beneath the results. You can also save references to queries in Wiki content, as described below.

Note: one way to easily build queries like the ones below, you can build and test the queries in the Custom report module and when ready - click Save query. This will build the query string for you. All you need to do is remove the extra line breaks.

Note: you must have the REPORT_CREATE permission in order to save queries to the list of default reports. The Save query button will only appear if you are logged in as a user that has been granted this permission. If your account does not have permission to create reports, you can still use the methods below to save a query.

You may want to save some queries so that you can come back to them later. You can do this by making a link to the query from any Wiki page.

[query:status=new|assigned|reopened&version=1.0 Active tickets against 1.0]

Which is displayed as:

Active tickets against 1.0

This uses a very simple query language to specify the criteria, see Query Language.

Alternatively, you can copy the query string of a query and paste that into the Wiki link, including the leading ? character:

[query:?status=new&status=assigned&status=reopened&group=owner Assigned tickets by owner]

Which is displayed as:

Assigned tickets by owner

Customizing the table format

You can also customize the columns displayed in the table format (format=table) by using col=<field>. You can specify multiple fields and what order they are displayed in by placing pipes (|) between the columns:

[[TicketQuery(max=3,status=closed,order=id,desc=1,format=table,col=resolution|summary|owner|reporter)]]

This is displayed as:

Results (1 - 3 of 4288)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#4734 fixed regress raster on gdal_polygonize and raster_surface on GDAL 3.2 (GDAL Master) robe robe
#4733 fixed MakeValid segfault GEOS 3.9 master (debbie bot) robe robe
#4729 fixed ST_AsText: Print directly into the stringbuffer pramsey Algunenano
1 2 3 4 5 6 7 8 9 10 11

Full rows

In table format you can also have full rows by using rows=<field>:

[[TicketQuery(max=3,status=closed,order=id,desc=1,format=table,col=resolution|summary|owner|reporter,rows=description)]]

This is displayed as:

Results (1 - 3 of 4288)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#4734 fixed regress raster on gdal_polygonize and raster_surface on GDAL 3.2 (GDAL Master) robe robe
Description

I had switched debbie to testing with GDAL 2.4 on PostGIS Master because GDAL 3.2 was failing. Just retested with GDAL 3.2 (master) and still failing. Can't find the original ticket I put in.

I'm not sure if it's proj or what.

20:24:34  -------------- Dependencies -------------- 
20:24:34   GEOS config:          /var/lib/jenkins/workspace/geos/rel-3.9w64/bin/geos-config
20:24:34   GEOS version:         3.9.0dev
20:24:34   GDAL config:          /var/lib/jenkins/workspace/gdal/rel-3.2w64/bin/gdal-config
20:24:34   GDAL version:         3.2.0
20:24:34   SFCGAL config:        /usr/bin/sfcgal-config
20:24:34   SFCGAL version:       1.3.7
20:24:34   PostgreSQL config:    /var/lib/jenkins/workspace/pg/rel/pg12w64/bin/pg_config
20:24:34   PostgreSQL version:   PostgreSQL 12.3
20:24:34   PROJ4 version:        71
20:24:34   Libxml2 config:       /usr/bin/xml2-config
20:24:34   Libxml2 version:      2.9.10
20:24:34   JSON-C support:       yes
20:24:34   protobuf support:     yes
20:24:34   protobuf-c version:   1003003
20:24:34   PCRE support:         no
20:24:34   Perl:                 /usr/bin/perl
20:24:34   Wagyu:                yes
20:24:34 
20:24:34  --------------- Extensions --------------- 
20:28:35 Suite: gdal
20:28:35   Test: test_gdal_configured ...passed
20:28:35   Test: test_gdal_drivers ...passed
20:28:35   Test: test_gdal_rasterize ...passed
20:28:35   Test: test_gdal_polygonize ...FAILED
20:28:35     1. cu_gdal.c:180  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((3 1,3 2,2 2,2 3,1 3,1 6,2 6,2 7,3 7,3 8,5 8,5 6,3 6,3 3,4 3,5 3,5 1,3 1))")
20:28:35     2. cu_gdal.c:196  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((0 0,0 9,9 9,9 0,0 0),(6 7,6 8,3 8,3 7,2 7,2 6,1 6,1 3,2 3,2 2,3 2,3 1,6 1,6 2,7 2,7 3,8 3,8 6,7 6,7 7,6 7))")
20:28:35     3. cu_gdal.c:232  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((0 0,0 9,9 9,9 0,0 0),(6 7,6 8,3 8,3 7,2 7,2 6,1 6,1 3,2 3,2 2,3 2,3 1,6 1,6 2,7 2,7 3,8 3,8 6,7 6,7 7,6 7))")
20:28:35     4. cu_gdal.c:260  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((0 0,0 9,9 9,9 0,0 0),(6 7,6 8,3 8,3 7,2 7,2 6,1 6,1 3,2 3,2 2,3 2,3 1,6 1,6 2,7 2,7 3,8 3,8 6,7 6,7 7,6 7))")
20:28:35     5. cu_gdal.c:264  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((3 1,3 2,2 2,2 3,1 3,1 6,2 6,2 7,3 7,3 8,5 8,5 6,3 6,3 3,4 3,5 3,5 1,3 1))")
20:28:35     6. cu_gdal.c:295  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((3 1,3 2,2 2,2 3,1 3,1 6,2 6,2 7,3 7,3 8,5 8,5 6,3 6,3 3,4 3,5 3,5 1,3 1))")
20:28:35     7. cu_gdal.c:327  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((3 1,3 2,2 2,2 3,1 3,1 6,2 6,2 7,3 7,3 8,5 8,5 6,3 6,3 3,4 3,5 3,5 1,3 1))")
20:28:35     8. cu_gdal.c:343  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((0 0,0 9,9 9,9 0,0 0),(6 7,6 8,3 8,3 7,2 7,2 6,1 6,1 3,2 3,2 2,3 2,3 1,6 1,6 2,7 2,7 3,8 3,8 6,7 6,7 7,6 7))")
20:28:35   Test: test_raster_to_gdal ...Warning 6: PNG driver doesn't support data type Float64. Only eight bit (Byte) and sixteen bit (UInt16) bands supported. Defaulting to Byte
20:28:35   Test: test_raster_surface ...INFO: Self-intersection at or near point 2 -2
20:28:35 INFO: Self-intersection at or near point 2 -2
20:28:35 FAILED
20:28:35     1. cu_raster_geometry.c:296  - CU_ASSERT_STRING_EQUAL(wkt,"MULTIPOLYGON(((1 0,1 -1,0 -1,0 -5,4 -5,5 -5,5 0,1 0)))")
20:28:35     2. cu_raster_geometry.c:308  - CU_ASSERT_STRING_EQUAL(wkt,"MULTIPOLYGON(((1 0,1 -1,0 -1,0 -5,4 -5,5 -5,5 0,1 0),(1 -1,1 -2,2 -2,2 -1,1 -1)))")
20:28:35     3. cu_raster_geometry.c:321  - CU_ASSERT_STRING_EQUAL(wkt,"MULTIPOLYGON(((1 -1,1 0,5 0,5 -5,4 -5,0 -5,0 -1,1 -1),(1 -1,1 -2,2 -2,2 -1,1 -1),(2 -2,2 -3,3 -3,3 -2,2 -2)))")
20:28:35     4. cu_raster_geometry.c:335  - CU_ASSERT_STRING_EQUAL(wkt,"MULTIPOLYGON(((1 -1,1 0,5 0,5 -5,4 -5,0 -5,0 -1,1 -1),(1 -1,1 -2,2 -2,2 -1,1 -1),(2 -2,2 -3,3 -3,3 -2,2 -2),(3 -3,3 -4,4 -4,4 -3,3 -3)))")
20:28:35     5. cu_raster_geometry.c:363  - CU_ASSERT_STRING_EQUAL(wkt,"MULTIPOLYGON(((1 -4,2 -4,2 -3,3 -3,3 -4,4 -4,4 -5,3 -5,1 -5,1 -4)),((1 -4,0 -4,0 -1,1 -1,1 -2,2 -2,2 -3,1 -3,1 -4)),((3 -2,4 -2,4 -1,5 -1,5 -4,4 -4,4 -3,3 -3,3 -2)),((3 -2,2 -2,2 -1,1 -1,1 0,4 0,4 -1,3 -1,3 -2)))")
#4733 fixed MakeValid segfault GEOS 3.9 master (debbie bot) robe robe
Description

This might be related to my patches today on debbie - just usual OS update stuff. I'm seeing this now

04:41:07   Test: test_geos_offsetcurve_crash ...passed
04:41:07   Test: test_geos_makevalid ...make[2]: *** [Makefile:93: check] Segmentation fault (core dumped)
04:41:07 make[2]: Leaving directory '/var/lib/jenkins/workspace/postgis/branches/3.1/liblwgeom/cunit'
04:41:07 make[1]: *** [Makefile:206: check-unit] Error 2
04:41:07 make[1]: Leaving directory '/var/lib/jenkins/workspace/postgis/branches/3.1/liblwgeom'
04:41:07 make: *** [GNUmakefile:20: check-unit] Error 1
04:41:07 Build step 'Execute shell' marked build as failure

This is with the following configure:

FailedConsole Output

04:37:00 Started by upstream project "PostGIS_Trunk/GDAL_VER=2.4,GEOS_VER=3.9,OS_BUILD=64,PG_VER=12,POSTGIS_TAG=branches/3.1" build number 599
04:37:00 originally caused by:
04:37:00  Started by upstream project "PostGIS_Trunk" build number 599
04:37:00  originally caused by:
04:37:00   Started by user Regina Obe
04:37:00 Running as SYSTEM
04:37:00 Building on master in workspace /var/lib/jenkins/workspace/postgis
04:37:00 Waiting for the completion of PostgreSQL stop
04:37:00 PostgreSQL stop #69171 started.
04:37:00 PostgreSQL stop #69171 completed. Result was SUCCESS
04:37:00 Build step 'Trigger/call builds on other projects' changed build result to SUCCESS
04:37:00 Waiting for the completion of PostgreSQL_InitDB
04:37:00 PostgreSQL_InitDB #31059 started.
04:37:04 PostgreSQL_InitDB #31059 completed. Result was SUCCESS
04:37:04 Waiting for the completion of PostgreSQL_start
04:37:04 PostgreSQL_start #30910 started.
04:37:04 PostgreSQL_start #30910 completed. Result was SUCCESS
04:37:04 [postgis] $ /bin/bash /tmp/jenkins4221017186142634558.sh
04:37:04 --
04:37:04 (1 row)
04:37:04 
04:37:04 NOTICE:  database "postgis_reg" does not exist, skipping
04:37:04 DROP DATABASE
04:37:04 3112
04:37:04 3.1
04:37:05 * Running /usr/bin/libtoolize (2.4.6)
04:37:05    OPTIONS = --force --copy --install
04:37:06 libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
04:37:06 libtoolize: copying file 'build-aux/config.guess'
04:37:06 libtoolize: copying file 'build-aux/config.sub'
04:37:06 libtoolize: copying file 'build-aux/install-sh'
04:37:06 libtoolize: copying file 'build-aux/ltmain.sh'
04:37:06 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'macros'.
04:37:06 libtoolize: copying file 'macros/libtool.m4'
04:37:06 libtoolize: copying file 'macros/ltoptions.m4'
04:37:06 libtoolize: copying file 'macros/ltsugar.m4'
04:37:06 libtoolize: copying file 'macros/ltversion.m4'
04:37:06 libtoolize: copying file 'macros/lt~obsolete.m4'
04:37:06 libtoolize: Consider adding '-I macros' to ACLOCAL_AMFLAGS in Makefile.am.
04:37:06 * Running /usr/bin/aclocal (1.16.2)
04:37:10 * Running /usr/bin/autoconf (2.69)
04:37:11 ======================================
04:37:11 Now you are ready to run './configure'
04:37:11 ======================================
04:37:12 checking for a BSD-compatible install... /usr/bin/install -c
04:37:12 checking build system type... x86_64-pc-linux-gnu
04:37:12 checking host system type... x86_64-pc-linux-gnu
04:37:12 checking how to print strings... printf
04:37:12 checking for gcc... gcc
04:37:12 checking whether the C compiler works... yes
04:37:12 checking for C compiler default output file name... a.out
04:37:12 checking for suffix of executables... 
04:37:12 checking whether we are cross compiling... no
04:37:12 checking for suffix of object files... o
04:37:12 checking whether we are using the GNU C compiler... yes
04:37:13 checking whether gcc accepts -g... yes
04:37:13 checking for gcc option to accept ISO C89... none needed
04:37:13 checking for a sed that does not truncate output... /bin/sed
04:37:13 checking for grep that handles long lines and -e... /bin/grep
04:37:13 checking for egrep... /bin/grep -E
04:37:13 checking for fgrep... /bin/grep -F
04:37:13 checking for ld used by gcc... /usr/bin/ld
04:37:13 checking if the linker (/usr/bin/ld) is GNU ld... yes
04:37:13 checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
04:37:13 checking the name lister (/usr/bin/nm -B) interface... BSD nm
04:37:13 checking whether ln -s works... yes
04:37:13 checking the maximum length of command line arguments... 1572864
04:37:13 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
04:37:13 checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
04:37:13 checking for /usr/bin/ld option to reload object files... -r
04:37:13 checking for objdump... objdump
04:37:13 checking how to recognize dependent libraries... pass_all
04:37:13 checking for dlltool... no
04:37:13 checking how to associate runtime and link libraries... printf %s\n
04:37:13 checking for ar... ar
04:37:13 checking for archiver @FILE support... @
04:37:13 checking for strip... strip
04:37:13 checking for ranlib... ranlib
04:37:13 checking for gawk... no
04:37:13 checking for mawk... mawk
04:37:13 checking command to parse /usr/bin/nm -B output from gcc object... ok
04:37:13 checking for sysroot... no
04:37:13 checking for a working dd... /bin/dd
04:37:13 checking how to truncate binary pipes... /bin/dd bs=4096 count=1
04:37:13 checking for mt... no
04:37:13 checking if : is a manifest tool... no
04:37:13 checking how to run the C preprocessor... gcc -E
04:37:13 checking for ANSI C header files... yes
04:37:14 checking for sys/types.h... yes
04:37:14 checking for sys/stat.h... yes
04:37:14 checking for stdlib.h... yes
04:37:14 checking for string.h... yes
04:37:14 checking for memory.h... yes
04:37:14 checking for strings.h... yes
04:37:14 checking for inttypes.h... yes
04:37:14 checking for stdint.h... yes
04:37:14 checking for unistd.h... yes
04:37:15 checking for dlfcn.h... yes
04:37:15 checking for objdir... .libs
04:37:15 checking if gcc supports -fno-rtti -fno-exceptions... no
04:37:15 checking for gcc option to produce PIC... -fPIC -DPIC
04:37:15 checking if gcc PIC flag -fPIC -DPIC works... yes
04:37:15 checking if gcc static flag -static works... yes
04:37:15 checking if gcc supports -c -o file.o... yes
04:37:15 checking if gcc supports -c -o file.o... (cached) yes
04:37:15 checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
04:37:15 checking whether -lc should be explicitly linked in... no
04:37:15 checking dynamic linker characteristics... GNU/Linux ld.so
04:37:16 checking how to hardcode library paths into programs... immediate
04:37:16 checking whether stripping libraries is possible... yes
04:37:16 checking if libtool supports shared libraries... yes
04:37:16 checking whether to build shared libraries... yes
04:37:16 checking whether to build static libraries... yes
04:37:16 checking for gcc... (cached) gcc
04:37:16 checking whether we are using the GNU C compiler... (cached) yes
04:37:16 checking whether gcc accepts -g... (cached) yes
04:37:16 checking for gcc option to accept ISO C89... (cached) none needed
04:37:16 checking how to run the C preprocessor... gcc -E
04:37:16 checking for grep that handles long lines and -e... (cached) /bin/grep
04:37:16 checking whether byte ordering is bigendian... no
04:37:16 checking for cpp... /usr/bin/cpp
04:37:16 checking if gcc supports -fno-math-errno... yes
04:37:16 checking if gcc supports -fno-signed-zeros... yes
04:37:16 checking if gcc supports -std=gnu99... yes
04:37:16 checking if gcc supports --exclude-libs... yes
04:37:16 checking for flex... flex
04:37:16 checking lex output file root... lex.yy
04:37:16 checking lex library... -lfl
04:37:17 checking whether yytext is a pointer... yes
04:37:18 checking for bison... /usr/bin/bison
04:37:18 checking ieeefp.h usability... no
04:37:18 checking ieeefp.h presence... no
04:37:18 checking for ieeefp.h... no
04:37:18 checking termios.h usability... yes
04:37:18 checking termios.h presence... yes
04:37:18 checking for termios.h... yes
04:37:18 checking for vasprintf... yes
04:37:18 checking for asprintf... yes
04:37:19 checking for _LARGEFILE_SOURCE value needed for large files... no
04:37:19 checking for perl... /usr/bin/perl
04:37:19 checking for xsltproc... /usr/bin/xsltproc
04:37:19 checking for convert... /usr/bin/convert
04:37:19 checking for dblatex... /usr/bin/dblatex
04:37:19 checking for xmllint... /usr/bin/xmllint
04:37:19 checking for pkg-config... /usr/bin/pkg-config
04:37:19 checking pkg-config is at least version 0.9.0... yes
04:37:19 checking for CUNIT... yes
04:37:19 checking iconv.h usability... yes
04:37:19 checking iconv.h presence... yes
04:37:19 checking for iconv.h... yes
04:37:19 checking for libiconv_open in -liconv... no
04:37:19 checking for iconv_open in -lc... yes
04:37:19 checking for iconvctl... no
04:37:19 checking for libiconvctl... no
04:37:19 Using user-specified pg_config file: /var/lib/jenkins/workspace/pg/rel/pg12w64/bin/pg_config
04:37:19 checking PostgreSQL version... PostgreSQL 12.3
04:37:19 checking libpq-fe.h usability... yes
04:37:19 checking libpq-fe.h presence... yes
04:37:20 checking for libpq-fe.h... yes
04:37:20 checking for PQserverVersion in -lpq... yes
04:37:20 ------------------------------------------------------------------------
04:37:20   WARNING: You have set the --prefix to '/var/lib/jenkins/workspace/pg/rel/pg12w64'. But we mostly    
04:37:20   ignore the --prefix. For your info, using the values determined from 
04:37:20   /var/lib/jenkins/workspace/pg/rel/pg12w64/bin/pg_config we will be installing:   
04:37:20     * postgis shared library in /var/lib/jenkins/workspace/pg/rel/pg12w64/lib 
04:37:20     * postgis SQL files in /var/lib/jenkins/workspace/pg/rel/pg12w64/share/postgresql/contrib/postgis-3.1 
04:37:20     * postgis executables in /var/lib/jenkins/workspace/pg/rel/pg12w64/bin 
04:37:20 ------------------------------------------------------------------------
04:37:20 checking for xml2-config... /usr/bin/xml2-config
04:37:20 checking libxml/tree.h usability... yes
04:37:20 checking libxml/tree.h presence... yes
04:37:20 checking for libxml/tree.h... yes
04:37:20 checking libxml/parser.h usability... yes
04:37:20 checking libxml/parser.h presence... yes
04:37:20 checking for libxml/parser.h... yes
04:37:20 checking libxml/xpath.h usability... yes
04:37:20 checking libxml/xpath.h presence... yes
04:37:20 checking for libxml/xpath.h... yes
04:37:20 checking libxml/xpathInternals.h usability... yes
04:37:20 checking libxml/xpathInternals.h presence... yes
04:37:20 checking for libxml/xpathInternals.h... yes
04:37:21 checking for xmlInitParser in -lxml2... yes
04:37:21 Using user-specified geos-config file: /var/lib/jenkins/workspace/geos/rel-3.9w64/bin/geos-config
04:37:21 checking GEOS version... 3.9.0dev
04:37:21 checking geos_c.h usability... yes
04:37:21 checking geos_c.h presence... yes
04:37:21 checking for geos_c.h... yes
04:37:21 checking for initGEOS in -lgeos_c... yes
04:37:21 checking for sfcgal-config... /usr/bin/sfcgal-config
04:37:21 checking whether make sets $(MAKE)... yes
04:37:21 checking for a thread-safe mkdir -p... /bin/mkdir -p
04:37:21 checking whether NLS is requested... yes
04:37:21 checking for msgfmt... /usr/bin/msgfmt
04:37:21 checking for gmsgfmt... /usr/bin/msgfmt
04:37:21 checking for xgettext... /usr/bin/xgettext
04:37:21 checking for msgmerge... /usr/bin/msgmerge
04:37:21 checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
04:37:21 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
04:37:21 checking for shared library run path origin... done
04:37:21 checking for CFPreferencesCopyAppValue... no
04:37:21 checking for CFLocaleCopyCurrent... no
04:37:22 checking for GNU gettext in libc... yes
04:37:22 checking whether to use NLS... yes
04:37:22 checking where the gettext function comes from... libc
04:37:22 checking for PROJ... yes
04:37:22 checking proj_api.h usability... no
04:37:22 checking proj_api.h presence... no
04:37:22 checking for proj_api.h... no
04:37:22 checking proj.h usability... yes
04:37:22 checking proj.h presence... yes
04:37:22 checking for proj.h... yes
04:37:22 checking for proj.h... (cached) yes
04:37:22 checking for pj_get_release in -lproj... yes
04:37:22 checking for JSONC... yes
04:37:22 checking for PROTOBUFC... yes
04:37:22 checking protobuf-c/protobuf-c.h usability... yes
04:37:23 checking protobuf-c/protobuf-c.h presence... yes
04:37:23 checking for protobuf-c/protobuf-c.h... yes
04:37:23 checking for protobuf_c_message_init in -lprotobuf-c... yes
04:37:23 checking for protobuf_c_version in -lprotobuf-c... yes
04:37:23 checking protobuf-c version... 1003003
04:37:23 checking for protoc-c... /usr/bin/protoc-c
04:37:23 phony-revision: 
04:37:23 checking for PCRE... no
04:37:23 TOPOLOGY: Topology support requested
04:37:23 RASTER: Raster support requested
04:37:23 checking GDAL version... 2.4.4
04:37:23 checking for OGR enabled... yes
04:37:23 checking gdal.h usability... yes
04:37:24 checking gdal.h presence... yes
04:37:24 checking for gdal.h... yes
04:37:24 checking ogr_api.h usability... yes
04:37:25 checking ogr_api.h presence... yes
04:37:25 checking for ogr_api.h... yes
04:37:25 checking cpl_conv.h usability... yes
04:37:25 checking cpl_conv.h presence... yes
04:37:26 checking for cpl_conv.h... yes
04:37:26 checking for library containing GDALAllRegister... none required
04:37:26 checking for library containing OGRRegisterAll... none required
04:37:27 WAGYU: Wagyu usage requested
04:37:27 checking whether we are using the GNU C++ compiler... yes
04:37:27 checking whether gcc accepts -g... yes
04:37:27 checking how to run the C++ preprocessor... gcc -E
04:37:27 checking for ld used by gcc... /usr/bin/ld -m elf_x86_64
04:37:27 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
04:37:27 checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
04:37:27 checking for gcc option to produce PIC... -fPIC -DPIC
04:37:27 checking if gcc PIC flag -fPIC -DPIC works... yes
04:37:27 checking if gcc static flag -static works... yes
04:37:28 checking if gcc supports -c -o file.o... yes
04:37:28 checking if gcc supports -c -o file.o... (cached) yes
04:37:28 checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
04:37:28 checking dynamic linker characteristics... (cached) GNU/Linux ld.so
04:37:28 checking how to hardcode library paths into programs... immediate
04:37:28 checking whether gcc supports C++11 features with -std=c++11... yes
04:37:28 checking for main in -lc++... no
04:37:28 checking for main in -lstdc++... yes
04:37:28 enabling PostgreSQL extension support...
04:37:28 configure: creating ./config.status
04:37:30 config.status: creating GNUmakefile
04:37:30 config.status: creating extensions/Makefile
04:37:30 config.status: creating extensions/postgis/Makefile
04:37:30 config.status: creating extensions/postgis_raster/Makefile
04:37:30 config.status: creating extensions/postgis_sfcgal/Makefile
04:37:30 config.status: creating extensions/postgis_topology/Makefile
04:37:30 config.status: creating extensions/postgis_tiger_geocoder/Makefile
04:37:30 config.status: creating extensions/address_standardizer/Makefile
04:37:30 config.status: creating liblwgeom/Makefile
04:37:30 config.status: creating liblwgeom/cunit/Makefile
04:37:30 config.status: creating liblwgeom/liblwgeom.h
04:37:30 config.status: creating libpgcommon/Makefile
04:37:30 config.status: creating libpgcommon/cunit/Makefile
04:37:31 config.status: creating postgis/Makefile
04:37:31 config.status: creating postgis/sqldefines.h
04:37:31 config.status: creating loader/Makefile
04:37:31 config.status: creating loader/cunit/Makefile
04:37:31 config.status: creating topology/Makefile
04:37:31 config.status: creating topology/test/Makefile
04:37:31 config.status: creating regress/Makefile
04:37:31 config.status: creating regress/core/Makefile
04:37:31 config.status: creating regress/sfcgal/Makefile
04:37:31 config.status: creating doc/Makefile
04:37:31 config.status: creating doc/Makefile.comments
04:37:31 config.status: creating doc/html/image_src/Makefile
04:37:31 config.status: creating utils/Makefile
04:37:31 config.status: creating raster/Makefile
04:37:31 config.status: creating raster/rt_core/Makefile
04:37:31 config.status: creating raster/rt_pg/Makefile
04:37:31 config.status: creating raster/loader/Makefile
04:37:31 config.status: creating raster/test/Makefile
04:37:31 config.status: creating raster/test/cunit/Makefile
04:37:31 config.status: creating raster/test/regress/Makefile
04:37:31 config.status: creating raster/scripts/Makefile
04:37:31 config.status: creating raster/scripts/python/Makefile
04:37:32 config.status: creating deps/Makefile
04:37:32 config.status: creating deps/wagyu/Makefile
04:37:32 config.status: creating deps/ryu/Makefile
04:37:32 config.status: creating postgis_config.h
04:37:32 config.status: creating raster/raster_config.h
04:37:32 config.status: executing libtool commands
04:37:32 config.status: executing po-directories commands
04:37:32 
04:37:32   PostGIS is now configured for x86_64-pc-linux-gnu
04:37:32 
04:37:32  -------------- Compiler Info ------------- 
04:37:32   C compiler:           gcc -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros
04:37:32   C++ compiler (Wagyu): gcc -std=c++11 -x c++ 
04:37:32   CPPFLAGS:              -I/var/lib/jenkins/workspace/geos/rel-3.9w64/include   -I/usr/include/libxml2 -I/usr/include -I/usr/include/json-c  -DNDEBUG 
04:37:32   LDFLAGS:               -lm
04:37:32   SQL preprocessor:     /usr/bin/cpp -traditional-cpp -w -P
04:37:32 
04:37:32  -------------- Additional Info ------------- 
04:37:32   Interrupt Tests:   DISABLED use: --with-interrupt-tests to enable
04:37:32 
04:37:32  -------------- Dependencies -------------- 
04:37:32   GEOS config:          /var/lib/jenkins/workspace/geos/rel-3.9w64/bin/geos-config
04:37:32   GEOS version:         3.9.0dev
04:37:32   GDAL config:          /var/lib/jenkins/workspace/gdal/rel-2.4w64/bin/gdal-config
04:37:32   GDAL version:         2.4.4
04:37:32   SFCGAL config:        /usr/bin/sfcgal-config
04:37:32   SFCGAL version:       1.3.7
04:37:32   PostgreSQL config:    /var/lib/jenkins/workspace/pg/rel/pg12w64/bin/pg_config
04:37:32   PostgreSQL version:   PostgreSQL 12.3
04:37:32   PROJ4 version:        71
04:37:32   Libxml2 config:       /usr/bin/xml2-config
04:37:32   Libxml2 version:      2.9.10
04:37:32   JSON-C support:       yes
04:37:32   protobuf support:     yes
04:37:32   protobuf-c version:   1003003
04:37:32   PCRE support:         no
04:37:32   Perl:                 /usr/bin/perl
04:37:32   Wagyu:                yes
04:37:32 
04:37:32  --------------- Extensions --------------- 
04:37:32   PostGIS Raster:                     enabled
04:37:32   PostGIS Topology:                   enabled
04:37:32   SFCGAL support:                     enabled
04:37:32   Address Standardizer support:       disabled

I'll rebuild latest geos and see if this issue goes away

#4729 fixed ST_AsText: Print directly into the stringbuffer pramsey Algunenano
Description

Currently when printing a double into a stringbuffer it is first printed into a temporal buffer and then that buffer is dumped into the stringbuffer, which is avoidable extra work.

PR: https://github.com/postgis/postgis/pull/573

1 2 3 4 5 6 7 8 9 10 11

Query Language

query: TracLinks and the [[TicketQuery]] macro both use a mini “query language” for specifying query filters. Filters are separated by ampersands (&). Each filter consists of the ticket field name, an operator and one or more values. More than one value are separated by a pipe (|), meaning that the filter matches any of the values. To include a literal & or | in a value, escape the character with a backslash (\).

The available operators are:

= the field content exactly matches one of the values
~= the field content contains one or more of the values
^= the field content starts with one of the values
$= the field content ends with one of the values

All of these operators can also be negated:

!= the field content matches none of the values
!~= the field content does not contain any of the values
!^= the field content does not start with any of the values
!$= the field content does not end with any of the values

The date fields created and modified can be constrained by using the = operator and specifying a value containing two dates separated by two dots (..). Either end of the date range can be left empty, meaning that the corresponding end of the range is open. The date parser understands a few natural date specifications like "3 weeks ago", "last month" and "now", as well as Bugzilla-style date specifications like "1d", "2w", "3m" or "4y" for 1 day, 2 weeks, 3 months and 4 years, respectively. Spaces in date specifications can be omitted to avoid having to quote the query string.

created=2007-01-01..2008-01-01 query tickets created in 2007
created=lastmonth..thismonth query tickets created during the previous month
modified=1weekago.. query tickets that have been modified in the last week
modified=..30daysago query tickets that have been inactive for the last 30 days

See also: TracTickets, TracReports, TracGuide, TicketQuery

Last modified 4 years ago Last modified on Feb 1, 2017, 12:39:17 AM