Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fixes in Makefile#47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sokolcati merged 2 commits intomasterfromPGPRO-8144
Jun 20, 2023
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletionLICENSE
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
pg_query_state is released under the PostgreSQL License, a liberal Open Source license, similar to the BSD or MIT licenses.

Copyright (c) 2016-2019, Postgres Professional
Copyright (c) 2016-2023, Postgres Professional
Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
Portions Copyright (c) 1994, The Regents of the University of California

Expand Down
19 changes: 18 additions & 1 deletionMakefile
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,10 +8,20 @@ EXTVERSION = 1.1
DATA = pg_query_state--1.0--1.1.sql
DATA_built = $(EXTENSION)--$(EXTVERSION).sql
PGFILEDESC = "pg_query_state - facility to track progress of plan execution"
EXTRA_REGRESS_OPTS=--temp-config=$(top_srcdir)/$(subdir)/test.conf

EXTRA_CLEAN = ./isolation_output $(EXTENSION)--$(EXTVERSION).sql \
Dockerfile ./tests/*.pyc ./tmp_stress

ISOLATION = corner_cases
#
# PG11 doesn't support ISOLATION_OPTS variable. We have to use
# "CREATE/DROP EXTENTION" command in spec.
#
# One day, when we'll get rid of PG11, it will be possible to uncomment this
# variable and remove "CREATE EXTENTION" from spec.
#
# ISOLATION_OPTS = --load-extension=pg_query_state

ifdef USE_PGXS
PG_CONFIG ?= pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
Expand All@@ -21,11 +31,17 @@ subdir = contrib/pg_query_state
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
# need this to provide make check in case of "in source" build
EXTRA_REGRESS_OPTS=--temp-config=$(top_srcdir)/$(subdir)/test.conf
endif

$(EXTENSION)--$(EXTVERSION).sql: init.sql
cat $^ > $@

#
# Make conditional targets to save backward compatibility with PG11.
#
ifeq ($(MAJORVERSION),11)
ISOLATIONCHECKS = corner_cases

check: isolationcheck
Expand All@@ -46,3 +62,4 @@ submake-isolation:
$(MAKE) -C $(top_builddir)/src/test/isolation all

temp-install: EXTRA_INSTALL=contrib/pg_query_state
endif
2 changes: 1 addition & 1 deletionpg_query_state.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,7 +2,7 @@
* pg_query_state.c
*Extract information about query state from other backend
*
* Copyright (c) 2016-2016, Postgres Professional
* Copyright (c) 2016-2023, Postgres Professional
*
* contrib/pg_query_state/pg_query_state.c
* IDENTIFICATION
Expand Down
2 changes: 1 addition & 1 deletionpg_query_state.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,7 +2,7 @@
* pg_query_state.h
*Headers for pg_query_state extension.
*
* Copyright (c) 2016-2016, Postgres Professional
* Copyright (c) 2016-2023, Postgres Professional
*
* IDENTIFICATION
* contrib/pg_query_state/pg_query_state.h
Expand Down
2 changes: 1 addition & 1 deletionrun_tests.sh
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

#
# Copyright (c) 2019, Postgres Professional
# Copyright (c) 2019-2023, Postgres Professional
#
# supported levels:
#* standard
Expand Down
2 changes: 1 addition & 1 deletionsignal_handler.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,7 +2,7 @@
* signal_handler.c
*Collect current query state and send it to requestor in custom signal handler
*
* Copyright (c) 2016-2016, Postgres Professional
* Copyright (c) 2016-2023, Postgres Professional
*
* IDENTIFICATION
* contrib/pg_query_state/signal_handler.c
Expand Down
2 changes: 1 addition & 1 deletiontests/common.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
'''
common.py
Copyright (c) 2016-2020, Postgres Professional
Copyright (c) 2016-2023, Postgres Professional
'''

import psycopg2
Expand Down
2 changes: 1 addition & 1 deletiontests/pg_qs_test_runner.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
'''
pg_qs_test_runner.py
Copyright (c) 2016-2021, Postgres Professional
Copyright (c) 2016-2023, Postgres Professional
'''

import argparse
Expand Down
2 changes: 1 addition & 1 deletiontests/test_cases.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
'''
test_cases.py
Copyright (c) 2016-2021, Postgres Professional
Copyright (c) 2016-2023, Postgres Professional
'''

import json
Expand Down
2 changes: 1 addition & 1 deletiontests/tpcds.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
'''
test_cases.py
Copyright (c) 2016-2020, Postgres Professional
Copyright (c) 2016-2023, Postgres Professional
'''

import os
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp