Skip to content

Commit fd35c63

Browse files
yangsn6manfuldrifter
authored andcommitted
feat: security feature - login history
Show the user the last login information.
1 parent bbc102d commit fd35c63

File tree

13 files changed

+1111
-0
lines changed

13 files changed

+1111
-0
lines changed

external/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ SUBDIRS =
1010
# sort extention by names, less git conflict
1111
SUBDIRS += polar_feature_utils
1212
SUBDIRS += polar_io_stat
13+
SUBDIRS += polar_login_history
1314
SUBDIRS += polar_monitor
1415
SUBDIRS += polar_monitor_preload
1516
SUBDIRS += polar_parameter_manager

external/polar_login_history/Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# external/polar_login_history/Makefile
2+
3+
MODULE_big = polar_login_history
4+
OBJS = polar_login_history.o
5+
EXTENSION = polar_login_history
6+
NO_INSTALLCHECK = 1
7+
8+
ifdef USE_PGXS
9+
PG_CONFIG = pg_config
10+
PGXS := $(shell $(PG_CONFIG) --pgxs)
11+
include $(PGXS)
12+
else
13+
subdir = external/polar_login_history
14+
top_builddir = ../..
15+
include $(top_builddir)/src/Makefile.global
16+
include $(top_srcdir)/contrib/contrib-global.mk
17+
endif
18+
19+
check:
20+
$(prove_check)

0 commit comments

Comments
 (0)